{
"boType": "ExpenseReport",
"description": "DTO (Data Transfer Object) for BO (Business Object) class 'ExpenseReportBO' representing the 'Expense Report' entity",
"friendlyName": "Nota spesa",
"kind": "SchemaRootObject",
"name": "ExpenseReportDTO",
"properties": [
{
"description": "The id of linked activities in EXPENSEREPORT_CROSSACTIVITY table",
"elementSchema": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "Int64",
"underlyingType": "long",
"underlyingTypeRef": "Int64"
},
"friendlyName": "Attività collegate",
"isEnumerable": true,
"kind": "SchemaArrayProperty",
"name": "activityIds",
"underlyingName": "ActivityIds",
"underlyingType": "long[]",
"underlyingTypeRef": "Int64"
},
{
"description": "The grand total of cash qty",
"friendlyName": "Totale mensile pagamento in contanti",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "cashGrandTotal",
"underlyingName": "CashGrandTotal",
"underlyingType": "decimal",
"underlyingTypeRef": "Decimal"
},
{
"description": "The day total of cash qty",
"friendlyName": "Totale giornaliero pagamento in contanti",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "cashTotal",
"underlyingName": "CashTotal",
"underlyingType": "decimal",
"underlyingTypeRef": "Decimal"
},
{
"description": "The grand total of cc qty",
"friendlyName": "Totale mensile pagamento con cc",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "ccGrandTotal",
"underlyingName": "CcGrandTotal",
"underlyingType": "decimal",
"underlyingTypeRef": "Decimal"
},
{
"description": "The day total of cc qty",
"friendlyName": "Totale giornaliero pagamento con cc",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "ccTotal",
"underlyingName": "CcTotal",
"underlyingType": "decimal",
"underlyingTypeRef": "Decimal"
},
{
"description": "The cost of the expense",
"friendlyName": "Quantità",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "cost",
"underlyingName": "Cost",
"underlyingType": "decimal",
"underlyingTypeRef": "Decimal"
},
{
"description": "The creator of the entity",
"foreignKey": {
"boType": "Account",
"type": "AccountBO",
"typeRef": "AccountBO"
},
"friendlyName": "Creato da",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [
{
"apiAlwaysVisible": true,
"canBeRequired": false,
"canWrite": false,
"isFreeField": false,
"isTab": false,
"name": "CreatedById",
"typeId": "LayoutStudioPropertyAttribute",
"useful": false
}
],
"name": "createdById",
"underlyingName": "CreatedById",
"underlyingType": "int",
"underlyingTypeRef": "Int32"
},
{
"description": "The creation date for the entity",
"friendlyName": "Data creazione",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [
{
"apiAlwaysVisible": true,
"canBeRequired": false,
"canWrite": false,
"isFreeField": false,
"isTab": false,
"name": "CreatedDate",
"typeId": "LayoutStudioPropertyAttribute",
"useful": false
}
],
"name": "createdDate",
"underlyingName": "CreatedDate",
"underlyingType": "DateTime",
"underlyingTypeRef": "DateTime"
},
{
"description": "The expense report linked document",
"friendlyName": "Documenti collegati",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "documentId",
"underlyingName": "DocumentId",
"underlyingType": "long",
"underlyingTypeRef": "Int64"
},
{
"description": "The date of the expense report date",
"friendlyName": "Data nota spese",
"isLogicalPrimitive": true,
"isRequired": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "expenseDate",
"underlyingName": "ExpenseDate",
"underlyingType": "DateTime",
"underlyingTypeRef": "DateTime"
},
{
"description": "The expense item id - ref to enum CostType",
"friendlyName": "Voce di rimborso",
"isLogicalPrimitive": true,
"isRequired": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "expenseItemId",
"underlyingName": "ExpenseItemId",
"underlyingType": "long",
"underlyingTypeRef": "Int64"
},
{
"description": "The payment method id - ref to enum PaymentType",
"friendlyName": "Modalità di pagamento",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "expensePaymentMethodId",
"underlyingName": "ExpensePaymentMethodId",
"underlyingType": "long",
"underlyingTypeRef": "Int64"
},
{
"description": "Expense Report List Id",
"friendlyName": "Expense Report List Id",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "expenseReportListId",
"underlyingName": "ExpenseReportListId",
"underlyingType": "long",
"underlyingTypeRef": "Int64"
},
{
"description": "The expense vehicle id",
"foreignKey": {
"boType": "ExpenseVehicle",
"type": "ExpenseVehicleBO",
"typeRef": "ExpenseVehicleBO"
},
"friendlyName": "TARGA",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "expenseVehicleId",
"underlyingName": "ExpenseVehicleId",
"underlyingType": "long",
"underlyingTypeRef": "Int64"
},
{
"description": "External Reference",
"friendlyName": "External Reference",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [
{
"apiAlwaysVisible": false,
"canBeRequired": true,
"canWrite": true,
"isFreeField": false,
"isTab": false,
"typeId": "LayoutStudioPropertyAttribute",
"useful": false
}
],
"name": "externalReference",
"underlyingName": "ExternalReference",
"underlyingType": "string",
"underlyingTypeRef": "String"
},
{
"description": "The external references linked to current object",
"elementSchema": {
"friendlyName": "ExternalReference",
"kind": "SchemaRootObject",
"name": "ExternalReferenceDTO",
"properties": [
{
"description": "Type",
"friendlyName": "Type",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "type",
"underlyingName": "Type",
"underlyingType": "string",
"underlyingTypeRef": "String"
},
{
"description": "Value",
"friendlyName": "Value",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "value",
"underlyingName": "Value",
"underlyingType": "string",
"underlyingTypeRef": "String"
}
],
"underlyingType": "ExternalReferenceDTO",
"underlyingTypeRef": "ExternalReferenceDTO"
},
"friendlyName": "Campi aggiuntivi",
"isEnumerable": true,
"kind": "SchemaArrayProperty",
"max": -1.0,
"name": "externalReferences",
"underlyingName": "ExternalReferences",
"underlyingType": "ExternalReferencesDTO",
"underlyingTypeRef": "ExternalReferencesDTO"
},
{
"description": "Id",
"friendlyName": "Id",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [
{
"apiAlwaysVisible": true,
"canBeRequired": false,
"canWrite": true,
"isFreeField": false,
"isTab": false,
"typeId": "LayoutStudioPropertyAttribute",
"useful": false
}
],
"name": "id",
"underlyingName": "Id",
"underlyingType": "long",
"underlyingTypeRef": "Int64"
},
{
"description": "The expense report linked job order",
"foreignKey": {
"boType": "JobOrder",
"type": "JobOrderBO",
"typeRef": "JobOrderBO"
},
"friendlyName": "COMMESSA",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "jobOrderId",
"underlyingName": "JobOrderId",
"underlyingType": "long",
"underlyingTypeRef": "Int64"
},
{
"description": "The last modified by id",
"foreignKey": {
"boType": "Account",
"type": "AccountBO",
"typeRef": "AccountBO"
},
"friendlyName": "Modificato da",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [
{
"apiAlwaysVisible": true,
"canBeRequired": false,
"canWrite": false,
"isFreeField": false,
"isTab": false,
"name": "LastModifiedBy",
"typeId": "LayoutStudioPropertyAttribute",
"useful": false
}
],
"name": "lastModifiedById",
"underlyingName": "LastModifiedById",
"underlyingType": "int",
"underlyingTypeRef": "Int32"
},
{
"description": "The last modified date",
"friendlyName": "Data modifica",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [
{
"apiAlwaysVisible": true,
"canBeRequired": false,
"canWrite": false,
"isFreeField": false,
"isTab": false,
"name": "LastModifiedDate",
"typeId": "LayoutStudioPropertyAttribute",
"useful": false
}
],
"name": "lastModifiedDate",
"underlyingName": "LastModifiedDate",
"underlyingType": "DateTime",
"underlyingTypeRef": "DateTime"
},
{
"description": "Limbo",
"friendlyName": "Limbo",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "limbo",
"underlyingName": "Limbo",
"underlyingType": "bool",
"underlyingTypeRef": "Boolean"
},
{
"description": "The expense row note",
"friendlyName": "Nota",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "note",
"underlyingName": "Note",
"underlyingType": "string",
"underlyingTypeRef": "String"
},
{
"customConverterType": "WebApiStyleBasedPropertyInferentialJsonConverter",
"description": "The owner of the entity",
"foreignKey": {
"boType": "Account",
"type": "AccountBO",
"typeRef": "AccountBO"
},
"friendlyName": "Proprietario",
"isPolymorphic": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [
{
"apiAlwaysVisible": true,
"canBeRequired": false,
"canWrite": true,
"isFreeField": false,
"isTab": false,
"name": "Owner",
"typeId": "LayoutStudioPropertyAttribute",
"useful": false
},
{
"apiAlwaysVisible": true,
"canBeRequired": false,
"canWrite": true,
"isFreeField": false,
"isTab": false,
"layoutName": "quote",
"name": "OwnerId",
"typeId": "LayoutStudioPropertyAttribute",
"useful": false
},
{
"apiAlwaysVisible": true,
"canBeRequired": false,
"canWrite": true,
"isFreeField": false,
"isTab": false,
"layoutName": "event",
"name": "OwnerId",
"typeId": "LayoutStudioPropertyAttribute",
"useful": false
}
],
"name": "ownerId",
"polymorphicStyleParameterName": "OwnerIdStyle",
"polymorphicStyles": {
"LegacyV9;Id": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "Int32",
"underlyingType": "int",
"underlyingTypeRef": "Int32"
},
"WebApiV1;AdaptiveExternalReference": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "String",
"underlyingType": "string",
"underlyingTypeRef": "String"
},
"WebApiV1;AdaptiveStringOnlyUserAccount": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "String",
"underlyingType": "string",
"underlyingTypeRef": "String"
},
"WebApiV1;AdaptiveUserAccount": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "String",
"underlyingType": "string",
"underlyingTypeRef": "String"
},
"WebApiV1;FlattenedExpansion": {
"friendlyName": "FlattenedExpansionSchema",
"kind": "SchemaRootObject",
"name": "FlattenedExpansionSchema",
"properties": [
{
"description": "Owner Id",
"friendlyName": "Owner Id",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "ownerId",
"underlyingName": "OwnerId",
"underlyingType": "long",
"underlyingTypeRef": "Int64"
},
{
"description": "Owner Id Friendly Name",
"friendlyName": "Owner Id Friendly Name",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "ownerId_FriendlyName",
"underlyingName": "OwnerId_FriendlyName",
"underlyingType": "string",
"underlyingTypeRef": "String"
},
{
"description": "Owner Id User Account",
"friendlyName": "Owner Id User Account",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "ownerId_UserAccount",
"underlyingName": "OwnerId_UserAccount",
"underlyingType": "string",
"underlyingTypeRef": "String"
}
],
"underlyingType": "FlattenedExpansionSchema",
"underlyingTypeRef": "FlattenedExpansionSchema"
},
"WebApiV1;Id": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "Int32",
"underlyingType": "int",
"underlyingTypeRef": "Int32"
},
"WebApiV1;StrictEmail": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "String",
"underlyingType": "string",
"underlyingTypeRef": "String"
}
},
"underlyingName": "OwnerId",
"underlyingType": "int",
"underlyingTypeRef": "Int32"
},
{
"description": "The quantity",
"friendlyName": "Quantità",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "quantity",
"underlyingName": "Quantity",
"underlyingType": "decimal",
"underlyingTypeRef": "Decimal"
},
{
"customConverterType": "WebApiStyleBasedPropertyJsonConverter",
"description": "Status",
"friendlyName": "Status",
"isEnum": true,
"isLogicalPrimitive": true,
"isPolymorphic": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "status",
"polymorphicStyleParameterName": "ExpenseReportStatusEnumStyle",
"polymorphicStyles": {
"LegacyV9;AdaptiveInteger": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "Int32",
"underlyingType": "int",
"underlyingTypeRef": "Int32"
},
"WebApiV1;AdaptiveInteger": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "Int32",
"underlyingType": "int",
"underlyingTypeRef": "Int32"
},
"WebApiV1;AdaptiveString": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "String",
"underlyingType": "string",
"underlyingTypeRef": "String"
}
},
"underlyingName": "Status",
"underlyingType": "ExpenseReportStatus",
"underlyingTypeRef": "ExpenseReportStatus"
},
{
"customConverterType": "WebApiStyleBasedPropertyInferentialJsonConverter",
"description": "Tags",
"friendlyName": "Tags",
"isEnumerable": true,
"isLogicalPrimitive": true,
"isPolymorphic": true,
"kind": "SchemaArrayProperty",
"name": "tags",
"polymorphicStyleParameterName": "TagsStyle",
"polymorphicStyles": {
"LegacyV9;Id": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "Int32",
"underlyingType": "int",
"underlyingTypeRef": "Int32"
},
"WebApiV1;AdaptiveCsv": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "String",
"underlyingType": "string",
"underlyingTypeRef": "String"
},
"WebApiV1;AdaptiveExternalReference": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "String",
"underlyingType": "string",
"underlyingTypeRef": "String"
},
"WebApiV1;AdaptiveName": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "String",
"underlyingType": "string",
"underlyingTypeRef": "String"
},
"WebApiV1;AdaptiveStringOnlyName": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "String",
"underlyingType": "string",
"underlyingTypeRef": "String"
},
"WebApiV1;Csv": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "String",
"underlyingType": "string",
"underlyingTypeRef": "String"
},
"WebApiV1;CsvOfIds": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "String",
"underlyingType": "string",
"underlyingTypeRef": "String"
},
"WebApiV1;CsvOfNames": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "String",
"underlyingType": "string",
"underlyingTypeRef": "String"
},
"WebApiV1;Id": {
"isLogicalPrimitive": true,
"kind": "SchemaRootObject",
"name": "Int32",
"underlyingType": "int",
"underlyingTypeRef": "Int32"
}
},
"underlyingName": "Tags",
"underlyingType": "long[]",
"underlyingTypeRef": "Int64"
},
{
"description": "The unitary cost",
"friendlyName": "Costo chilometrico",
"isLogicalPrimitive": true,
"kind": "SchemaObjectProperty",
"layoutStudioPropertyAttributes": [],
"name": "unitaryCost",
"underlyingName": "UnitaryCost",
"underlyingType": "decimal",
"underlyingTypeRef": "Decimal"
}
],
"underlyingType": "ExpenseReportDTO",
"underlyingTypeRef": "ExpenseReportDTO"
}