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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FeeIsCalculatedYes/No flag showing whether a fee is to be calculated for this line. | EnumNoYes (enum) | No | None | |
InventDimIdNumber that points to a set of inventory dimensions for the line. | String (20)InventDimId | No | InventDim.inventDimId | None |
InvoiceDateDate of the related customer invoice. | DateInvoiceDate | Yes | None | |
InvoiceIdNumber of the related customer invoice. | String (20)CustInvoiceId | Yes | None | |
ItemIdItem that the packing material line is for. | String (20)ItemId | Yes | InventTable.ItemId | None |
LineNumLine number that orders the lines. | RealLineNum | No | None | |
LogisticsPostalAddressSystem record ID of the address linked to this line. | Int64RefRecId | No | LogisticsPostalAddress.RecId | None |
PackagingClassId_WPacking class of the line, linked to the packing classes table. | StringItemPackagingClassId_W | No | InventPackagingClass_W.PackagingClassId | None |
PackagingWeightWeight of the packaging on this line. | RealInventPackagingWeight | No | None | |
PackingUnitUnit of measure used for the packing unit. | StringInventPackingUnit | No | UnitOfMeasure.Symbol | None |
PackingUnitQtyNumber of packing units on the line. | RealInventPackingUnitQty | No | None | |
PackingUnitWeightWeight of one packing unit. | RealInventPackingUnitWeight | No | None | |
PackMaterialCodePacking material used on the line. | StringInventPackingMaterialCode | Yes | InventPackagingMaterialCode.PackMaterialCode | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SalesIdSales order that the line belongs to. | String (20)SalesId | Yes | SalesTable.SalesId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
PackagingMaterialTransIdxPackMaterialCode,InvoiceId,InvoiceDate,SalesId,LineNumNot unique.
InvoiceIdxNot unique.
LogisticsPostalAddressIdxNot unique.
Relations (8)
Each relation joins InventPackagingMaterialTrans to another table on the fields shown.
CustInvoiceTrans→CustInvoiceTransJoin on
InvoiceId = CustInvoiceTrans.InvoiceId,InvoiceDate = CustInvoiceTrans.InvoiceDateMany InventPackagingMaterialTrans records → exactly one CustInvoiceTrans record
DeliveryPostalAddress_FK→LogisticsPostalAddressJoin on
LogisticsPostalAddress = LogisticsPostalAddress.RecIdMany InventPackagingMaterialTrans records → zero or one LogisticsPostalAddress record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany InventPackagingMaterialTrans records → zero or one InventDim record
InventPackagingMaterialCode→InventPackagingMaterialCodeJoin on
PackMaterialCode = InventPackagingMaterialCode.PackMaterialCodeMany InventPackagingMaterialTrans records → exactly one InventPackagingMaterialCode record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany InventPackagingMaterialTrans records → exactly one InventTable record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdMany InventPackagingMaterialTrans records → exactly one SalesTable record
UnitOfMeasure→UnitOfMeasureJoin on
PackingUnit = UnitOfMeasure.SymbolMany InventPackagingMaterialTrans records → zero or one UnitOfMeasure record
InventPackagingClass_W→InventPackagingClass_WJoin on
PackagingClassId_W = InventPackagingClass_W.PackagingClassIdMany 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.