{
  "description": "DTO (Data Transfer Object) for Helper class ERPRow representing the 'ERP Row' entity",
  "friendlyName": "ERPRow",
  "kind": "SchemaRootObject",
  "name": "ERPRowDTO",
  "properties": [
    {
      "description": "The id of the catalog product",
      "foreignKey": {
        "boType": "Catalog",
        "type": "CatalogBO",
        "typeRef": "CatalogBO"
      },
      "friendlyName": "Prodotto",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Product",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "catalogId",
      "underlyingName": "CatalogId",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "The description of the row",
      "friendlyName": "Descrizione corta",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Product",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "description",
      "underlyingName": "Description",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "The discount formula",
      "friendlyName": "Sconto",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "DiscountFormula",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "discountFormula",
      "underlyingName": "DiscountFormula",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "The id of the row",
      "friendlyName": "The id of the row",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "id",
      "underlyingName": "Id",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "customConverterType": "WebApiStyleBasedPropertyJsonConverter",
      "description": "The type of the content of the row",
      "friendlyName": "Tipo di Riga",
      "isEnum": true,
      "isLogicalPrimitive": true,
      "isPolymorphic": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "RowTypeContent",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "kind",
      "polymorphicStyleParameterName": "RowContentTypeEnumStyle",
      "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": "RowTypeContent",
      "underlyingType": "RowContentType",
      "underlyingTypeRef": "RowContentType"
    },
    {
      "description": "The list price of the row",
      "friendlyName": "Prezzo di listino",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "ListPrice",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "listPrice",
      "underlyingName": "ListPrice",
      "underlyingType": "decimal",
      "underlyingTypeRef": "Decimal"
    },
    {
      "description": "The long description of the row",
      "friendlyName": "Descrizione prodotto",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Product",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "longDescription",
      "underlyingName": "Description2",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "The unit price of the row",
      "friendlyName": "Totale Riga con IVA",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "priceWithVat",
      "underlyingName": "PriceWithVat",
      "underlyingType": "decimal",
      "underlyingTypeRef": "Decimal"
    },
    {
      "description": "The id unique of the row",
      "friendlyName": "Codice",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Product",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "productCode",
      "underlyingName": "ProductCode",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "The qta",
      "friendlyName": "Qtà",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Qta",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "qta",
      "underlyingName": "Qta",
      "underlyingType": "decimal",
      "underlyingTypeRef": "Decimal"
    },
    {
      "description": "The tax value of the row",
      "friendlyName": "IVA (valore)",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "tax",
      "underlyingName": "Tax",
      "underlyingType": "decimal",
      "underlyingTypeRef": "Decimal"
    },
    {
      "description": "The unit price of the row",
      "friendlyName": "Imponibile",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "taxableAmount",
      "underlyingName": "TaxableAmount",
      "underlyingType": "decimal",
      "underlyingTypeRef": "Decimal"
    },
    {
      "description": "The code of the Tax",
      "friendlyName": "IVA (codice)",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Tax",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "taxCode",
      "underlyingName": "TaxCode",
      "underlyingType": "string",
      "underlyingTypeRef": "String"
    },
    {
      "description": "Tax id of the row",
      "foreignKey": {
        "boType": "TaxValue",
        "list": "TaxValue",
        "listDefinitionResolver": "api/latest/Lists/GetListDefinitionForTaxValue",
        "type": "ITaxValueBO",
        "typeRef": "ITaxValueBO"
      },
      "friendlyName": "IVA",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "Tax",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "taxId",
      "underlyingName": "TaxId",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "The unit price of the row",
      "friendlyName": "Totale",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "TotalPrice",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "totalPrice",
      "underlyingName": "NewUPrice",
      "underlyingType": "decimal",
      "underlyingTypeRef": "Decimal"
    },
    {
      "description": "The unit measure id of the row",
      "foreignKey": {
        "boType": "AlternativeUnit",
        "list": "UnitOfMeasure",
        "listDefinitionResolver": "api/latest/Lists/GetListDefinitionForUnitOfMeasure",
        "type": "IAlternativeUnitBO",
        "typeRef": "IAlternativeUnitBO"
      },
      "friendlyName": "UM",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": false,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "UnitMeasure",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "unitMeasureId",
      "underlyingName": "UnitMeasureId",
      "underlyingType": "long",
      "underlyingTypeRef": "Int64"
    },
    {
      "description": "The id unique of the row",
      "friendlyName": "Prezzo unit.",
      "isLogicalPrimitive": true,
      "kind": "SchemaObjectProperty",
      "layoutStudioPropertyAttributes": [
        {
          "apiAlwaysVisible": true,
          "canBeRequired": true,
          "canWrite": true,
          "isFreeField": false,
          "isTab": false,
          "name": "UnitPrice",
          "typeId": "LayoutStudioPropertyAttribute",
          "useful": false
        }
      ],
      "name": "unitPrice",
      "underlyingName": "UPrice",
      "underlyingType": "decimal",
      "underlyingTypeRef": "Decimal"
    }
  ],
  "underlyingType": "ERPRowDTO",
  "underlyingTypeRef": "ERPRowDTO"
}