{
  "jsonSchemaSemanticVersion": "1.0.0",
  "imports": [
    {
      "corpusPath": "cdm:/foundations.cdm.json"
    },
    {
      "corpusPath": "/core/operationsCommon/Common.cdm.json",
      "moniker": "base_Common"
    },
    {
      "corpusPath": "/core/operationsCommon/DataEntityView.cdm.json",
      "moniker": "base_DataEntityView"
    },
    {
      "corpusPath": "/core/operationsCommon/Tables/Finance/AccountsReceivable/Transaction/CustInvoiceJour.cdm.json"
    },
    {
      "corpusPath": "/core/operationsCommon/Tables/SupplyChain/SalesAndMarketing/Transaction/CustPackingSlipJour.cdm.json"
    },
    {
      "corpusPath": "/core/operationsCommon/Tables/Common/Customer/Main/CustTable.cdm.json"
    },
    {
      "corpusPath": "InventTransOrigin.cdm.json"
    },
    {
      "corpusPath": "/core/operationsCommon/Tables/System/SystemAdministration/Framework/NumberSequenceGroup.cdm.json"
    },
    {
      "corpusPath": "/core/operationsCommon/Tables/SupplyChain/Inventory/WorksheetHeader/PlInventPackageReturn.cdm.json"
    },
    {
      "corpusPath": "/core/operationsCommon/Tables/SupplyChain/Inventory/WorksheetHeader/PlInventPackageTable.cdm.json"
    },
    {
      "corpusPath": "/core/operationsCommon/Tables/SupplyChain/SalesAndMarketing/WorksheetLine/SalesLine.cdm.json"
    },
    {
      "corpusPath": "/core/operationsCommon/Tables/SupplyChain/SalesAndMarketing/WorksheetHeader/SalesTable.cdm.json"
    },
    {
      "corpusPath": "/core/operationsCommon/Tables/Finance/Ledger/Main/CompanyInfo.cdm.json"
    }
  ],
  "definitions": [
    {
      "entityName": "PlInventPackageTrans",
      "extendsEntity": "base_Common/Common",
      "exhibitsTraits": [
        {
          "traitReference": "is.CDM.entityVersion",
          "arguments": [
            {
              "name": "versionNumber",
              "value": "1.1"
            }
          ]
        }
      ],
      "hasAttributes": [
        {
          "name": "Closed",
          "dataType": "integer",
          "isNullable": true,
          "displayName": "Returned",
          "description": ""
        },
        {
          "name": "CustAccount",
          "dataType": "CustAccount",
          "isNullable": true,
          "description": ""
        },
        {
          "name": "DepositAmount",
          "dataType": "AmountMST",
          "isNullable": true,
          "displayName": "Deposit amount",
          "description": ""
        },
        {
          "name": "InventTransId",
          "dataType": "InventTransId",
          "isNullable": true,
          "description": ""
        },
        {
          "name": "InvoiceDate",
          "dataType": "TransDate",
          "isNullable": true,
          "description": ""
        },
        {
          "name": "InvoiceId",
          "dataType": "Num",
          "isNullable": true,
          "description": ""
        },
        {
          "name": "NumberSequenceGroupId",
          "dataType": "NumberSequenceGroupId",
          "isReadOnly": true,
          "isNullable": true,
          "description": ""
        },
        {
          "name": "PackageId",
          "dataType": "PlPackageId",
          "isNullable": true,
          "description": ""
        },
        {
          "name": "Printed",
          "dataType": "integer",
          "isNullable": true,
          "description": ""
        },
        {
          "name": "Qty",
          "dataType": "InventQty",
          "isNullable": true,
          "displayName": "Package quantity",
          "description": ""
        },
        {
          "name": "RefRecId",
          "dataType": "RefRecId",
          "isNullable": true,
          "description": ""
        },
        {
          "name": "RefTableId",
          "dataType": "RefTableId",
          "isNullable": true,
          "description": ""
        },
        {
          "name": "ReturnedAmount",
          "dataType": "AmountMST",
          "isNullable": true,
          "description": ""
        },
        {
          "name": "ReturnedQty",
          "dataType": "InventQty",
          "isNullable": true,
          "description": ""
        },
        {
          "name": "SalesId",
          "dataType": "SalesId",
          "isNullable": true,
          "description": ""
        },
        {
          "name": "TransDate",
          "dataType": "TransDate",
          "isNullable": true,
          "displayName": "Posting date",
          "description": ""
        },
        {
          "name": "Voucher",
          "dataType": "Voucher",
          "isNullable": true,
          "description": ""
        },
        {
          "name": "DataAreaId",
          "dataType": "string",
          "isReadOnly": true
        },
        {
          "entity": {
            "entityReference": "CustInvoiceJour"
          },
          "name": "Relationship_CustInvoiceJourRelationship",
          "resolutionGuidance": {
            "entityByReference": {
              "allowReference": true
            }
          }
        },
        {
          "entity": {
            "entityReference": "CustPackingSlipJour"
          },
          "name": "Relationship_CustPackingSlipJourRelationship",
          "resolutionGuidance": {
            "entityByReference": {
              "allowReference": true
            }
          }
        },
        {
          "entity": {
            "entityReference": "CustTable"
          },
          "name": "Relationship_CustTableRelationship",
          "resolutionGuidance": {
            "entityByReference": {
              "allowReference": true
            }
          }
        },
        {
          "entity": {
            "entityReference": "InventTransOrigin"
          },
          "name": "Relationship_InventTransOriginRelationship",
          "resolutionGuidance": {
            "entityByReference": {
              "allowReference": true
            }
          }
        },
        {
          "entity": {
            "entityReference": "NumberSequenceGroup"
          },
          "name": "Relationship_NumberSequenceGroupRelationship",
          "resolutionGuidance": {
            "entityByReference": {
              "allowReference": true
            }
          }
        },
        {
          "entity": {
            "entityReference": "PlInventPackageReturn"
          },
          "name": "Relationship_PlInventPackageReturnRelationship",
          "resolutionGuidance": {
            "entityByReference": {
              "allowReference": true
            }
          }
        },
        {
          "entity": {
            "entityReference": "PlInventPackageTable"
          },
          "name": "Relationship_PlInventPackageTableRelationship",
          "resolutionGuidance": {
            "entityByReference": {
              "allowReference": true
            }
          }
        },
        {
          "entity": {
            "entityReference": "SalesLine"
          },
          "name": "Relationship_SalesLineRelationship",
          "resolutionGuidance": {
            "entityByReference": {
              "allowReference": true
            }
          }
        },
        {
          "entity": {
            "entityReference": "SalesTable"
          },
          "name": "Relationship_SalesTableRelationship",
          "resolutionGuidance": {
            "entityByReference": {
              "allowReference": true
            }
          }
        },
        {
          "entity": {
            "entityReference": "CompanyInfo"
          },
          "name": "Relationship_CompanyRelationship",
          "resolutionGuidance": {
            "entityByReference": {
              "allowReference": true
            }
          }
        }
      ],
      "displayName": "Return packages transactions"
    },
    {
      "dataTypeName": "CustAccount",
      "extendsDataType": "string"
    },
    {
      "dataTypeName": "AmountMST",
      "extendsDataType": "decimal"
    },
    {
      "dataTypeName": "InventTransId",
      "extendsDataType": "string"
    },
    {
      "dataTypeName": "TransDate",
      "extendsDataType": "date"
    },
    {
      "dataTypeName": "Num",
      "extendsDataType": "string"
    },
    {
      "dataTypeName": "NumberSequenceGroupId",
      "extendsDataType": "string"
    },
    {
      "dataTypeName": "PlPackageId",
      "extendsDataType": "string"
    },
    {
      "dataTypeName": "InventQty",
      "extendsDataType": "decimal"
    },
    {
      "dataTypeName": "RefRecId",
      "extendsDataType": "bigInteger"
    },
    {
      "dataTypeName": "RefTableId",
      "extendsDataType": "integer"
    },
    {
      "dataTypeName": "SalesId",
      "extendsDataType": "string"
    },
    {
      "dataTypeName": "Voucher",
      "extendsDataType": "string"
    }
  ]
}