Table

InventPackagingMaterialTrans

Packing material transactions

Stores packing material transaction lines linked to a customer invoice line and a sales order. Each line shows the item, packing class, packing material, unit, quantity and weights. It also has a link to an address record.

Table name
InventPackagingMaterialTrans
Module
Inventory
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
InventPackaging
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FeeIsCalculatedYes/No flag showing whether a fee is to be calculated for this line.Enum
NoYes (enum)
NoNone
InventDimIdNumber that points to a set of inventory dimensions for the line.String (20)
InventDimId
NoInventDim.inventDimIdNone
InvoiceDateDate of the related customer invoice.Date
InvoiceDate
YesNone
InvoiceIdNumber of the related customer invoice.String (20)
CustInvoiceId
YesNone
ItemIdItem that the packing material line is for.String (20)
ItemId
YesInventTable.ItemIdNone
LineNumLine number that orders the lines.Real
LineNum
NoNone
LogisticsPostalAddressSystem record ID of the address linked to this line.Int64
RefRecId
NoLogisticsPostalAddress.RecIdNone
PackagingClassId_WPacking class of the line, linked to the packing classes table.String
ItemPackagingClassId_W
NoInventPackagingClass_W.PackagingClassIdNone
PackagingWeightWeight of the packaging on this line.Real
InventPackagingWeight
NoNone
PackingUnitUnit of measure used for the packing unit.String
InventPackingUnit
NoUnitOfMeasure.SymbolNone
PackingUnitQtyNumber of packing units on the line.Real
InventPackingUnitQty
NoNone
PackingUnitWeightWeight of one packing unit.Real
InventPackingUnitWeight
NoNone
PackMaterialCodePacking material used on the line.String
InventPackingMaterialCode
YesInventPackagingMaterialCode.PackMaterialCodeNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SalesIdSales order that the line belongs to.String (20)
SalesId
YesSalesTable.SalesIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (8)

Each relation joins InventPackagingMaterialTrans to another table on the fields shown.

  • CustInvoiceTrans → CustInvoiceTrans

    Join on InvoiceId = CustInvoiceTrans.InvoiceId, InvoiceDate = CustInvoiceTrans.InvoiceDate

    Many InventPackagingMaterialTrans records → exactly one CustInvoiceTrans record

  • DeliveryPostalAddress_FK → LogisticsPostalAddress

    Join on LogisticsPostalAddress = LogisticsPostalAddress.RecId

    Many InventPackagingMaterialTrans records → zero or one LogisticsPostalAddress record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many InventPackagingMaterialTrans records → zero or one InventDim record

  • InventPackagingMaterialCode → InventPackagingMaterialCode

    Join on PackMaterialCode = InventPackagingMaterialCode.PackMaterialCode

    Many InventPackagingMaterialTrans records → exactly one InventPackagingMaterialCode record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many InventPackagingMaterialTrans records → exactly one InventTable record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many InventPackagingMaterialTrans records → exactly one SalesTable record

  • UnitOfMeasure → UnitOfMeasure

    Join on PackingUnit = UnitOfMeasure.Symbol

    Many InventPackagingMaterialTrans records → zero or one UnitOfMeasure record

  • InventPackagingClass_W → InventPackagingClass_W

    Join on PackagingClassId_W = InventPackagingClass_W.PackagingClassId

    Many InventPackagingMaterialTrans records → zero or one InventPackagingClass_W record

Get this data out

No public entity reads from InventPackagingMaterialTrans. Its data is only reachable through the application, a custom entity or a database export.

Need help with InventPackagingMaterialTrans in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk