{
  "boType": "PaymentMovement",
  "description": "DTO (Data Transfer Object) for BO (Business Object) class 'PaymentMovementsBO' representing the 'Payment Movements' entity",
  "friendlyName": "Movimento di pagamento",
  "kind": "SchemaRootObject",
  "name": "PaymentMovementsDTO",
  "properties": [
    {
      "description": "The current bank id",
      "friendlyName": "Banca",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "bankId",
      "underlyingName": "BankId",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "The current causal id",
      "friendlyName": "The current causal id",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "causal",
      "underlyingName": "Causal",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "The current causal code",
      "friendlyName": "Causali movimenti",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "causalCode",
      "underlyingName": "CausalCode",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "The collection code",
      "friendlyName": "The collection code",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "collectionCode",
      "underlyingName": "CollectionCode",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "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 currency value of the movement",
      "friendlyName": "Importo (in valuta)",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "currencyImport",
      "underlyingName": "CurrencyImport",
      "underlyingType": "decimal",
      "underlyingTypeRef": "Decimal"
    },
    {
      "description": "The value of the movement",
      "friendlyName": "Note",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "description",
      "underlyingName": "Description",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "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": "The movement given date ",
      "friendlyName": "Data Allibramento",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "givenDate",
      "underlyingName": "GivenDate",
      "underlyingType": "DateTime",
      "underlyingTypeRef": "DateTime"
    },
    {
      "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 value of the movement",
      "friendlyName": "Importo",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "import",
      "underlyingName": "Import",
      "underlyingType": "decimal",
      "underlyingTypeRef": "Decimal"
    },
    {
      "description": "If the movement is income or outcoming",
      "friendlyName": "In entrata",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "inOut",
      "underlyingName": "InOut",
      "underlyingType": "bool",
      "underlyingTypeRef": "Boolean"
    },
    {
      "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": "The movement date",
      "friendlyName": "Data",
      "isLogicalPrimitive": true,
      "isRequired": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "movDate",
      "underlyingName": "MovDate",
      "underlyingType": "DateTime",
      "underlyingTypeRef": "DateTime"
    },
    {
      "customConverterType": "FilterForItemsOfArrayConverter",
      "description": "The movement rows",
      "elementSchema": {
        "description": "DTO (Data Transfer Object) for Helper class MovementRows representing the 'Movement Rows' entity",
        "friendlyName": "PaymentMovementsBOMovementRows",
        "kind": "SchemaRootObject",
        "name": "PaymentMovementsBOMovementRowsDTO",
        "properties": [
          {
            "customConverterType": "WebApiStyleBasedPropertyJsonConverter",
            "description": "The cross type of the supplier",
            "friendlyName": "The cross type of the supplier",
            "isEnum": true,
            "isLogicalPrimitive": true,
            "isPolymorphic": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "boType",
            "polymorphicStyleParameterName": "BusinessObjectTypeEnumStyle",
            "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": "BoType",
            "underlyingType": "BusinessObjectType",
            "underlyingTypeRef": "BusinessObjectType"
          },
          {
            "description": "The causal of the row",
            "friendlyName": "The causal of the row",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "causal",
            "underlyingName": "Causal",
            "underlyingType": "long",
            "underlyingTypeRef": "Int64"
          },
          {
            "description": "The id of the invoice",
            "friendlyName": "Fattura",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "documentId",
            "underlyingName": "DocumentId",
            "underlyingType": "long",
            "underlyingTypeRef": "Int64"
          },
          {
            "description": "The due date of the movement",
            "friendlyName": "Data scadenza",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "dueDate",
            "underlyingName": "DueDate",
            "underlyingType": "DateTime",
            "underlyingTypeRef": "DateTime"
          },
          {
            "description": "If the movement come from a invoice",
            "friendlyName": "If the movement come from a invoice",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "fromInvoice",
            "underlyingName": "FromInvoice",
            "underlyingType": "bool",
            "underlyingTypeRef": "Boolean"
          },
          {
            "description": "if the payment have operation in plugins",
            "friendlyName": "if the payment have operation in plugins",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "haveOperation",
            "underlyingName": "HaveOperation",
            "underlyingType": "bool",
            "underlyingTypeRef": "Boolean"
          },
          {
            "description": "The id of the row",
            "friendlyName": "The id of the row",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "id",
            "underlyingName": "Id",
            "underlyingType": "int",
            "underlyingTypeRef": "Int32"
          },
          {
            "description": "The import of the row ",
            "friendlyName": "Importo",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "import",
            "underlyingName": "Import",
            "underlyingType": "decimal",
            "underlyingTypeRef": "Decimal"
          },
          {
            "description": "The order of the row",
            "friendlyName": "The order of the row",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "index",
            "underlyingName": "Index",
            "underlyingType": "int",
            "underlyingTypeRef": "Int32"
          },
          {
            "description": "If the payment came from an invoice",
            "friendlyName": "If the payment came from an invoice",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "invoicePayment",
            "underlyingName": "InvoicePayment",
            "underlyingType": "bool",
            "underlyingTypeRef": "Boolean"
          },
          {
            "description": "The progressive of the installment of an invoice",
            "friendlyName": "The progressive of the installment of an invoice",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "invoicePaymentNumber",
            "underlyingName": "InvoicePaymentNumber",
            "underlyingType": "int",
            "underlyingTypeRef": "Int32"
          },
          {
            "description": "The description of the row",
            "friendlyName": "Descrizione",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "note",
            "underlyingName": "Note",
            "underlyingType": "string",
            "underlyingTypeRef": "String"
          },
          {
            "description": "The progressive of the installment",
            "friendlyName": "The progressive of the installment",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "paymentNumber",
            "underlyingName": "PaymentNumber",
            "underlyingType": "int",
            "underlyingTypeRef": "Int32"
          },
          {
            "description": "The client of the row",
            "foreignKey": {
              "boType": "Company",
              "type": "CompanyBO",
              "typeRef": "CompanyBO"
            },
            "friendlyName": "Cliente",
            "isLogicalPrimitive": true,
            "kind": "SchemaObjectProperty",
            "layoutStudioPropertyAttributes": [],
            "name": "supplierId",
            "underlyingName": "SupplierId",
            "underlyingType": "long",
            "underlyingTypeRef": "Int64"
          }
        ],
        "underlyingType": "PaymentMovementsBOMovementRowsDTO",
        "underlyingTypeRef": "PaymentMovementsBOMovementRowsDTO"
      },
      "friendlyName": "Righe movimento",
      "isEnumerable": true,
      "kind": "SchemaArrayProperty",
      "name": "movements",
      "underlyingName": "Movements",
      "underlyingType": "PaymentMovementsBOMovementRowsDTO[]",
      "underlyingTypeRef": "PaymentMovementsBOMovementRowsDTO"
    },
    {
      "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 current supplier of the movement",
      "friendlyName": "Fornitore",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "supplier",
      "underlyingName": "Supplier",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "Suppliers",
      "friendlyName": "Suppliers",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "suppliers",
      "underlyingName": "Suppliers",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "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": "Register movement is book",
      "friendlyName": "Registra in prima nota",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [],
      "name": "viewInBook",
      "underlyingName": "ViewInBook",
      "underlyingType": "bool",
      "underlyingTypeRef": "Boolean"
    }
  ],
  "underlyingType": "PaymentMovementsDTO",
  "underlyingTypeRef": "PaymentMovementsDTO"
}