Table
InventPackagingMaterialTransPurch
Packing material transactions - purchase
Stores packing material transaction lines for purchases, linked to a purchase order and a vendor invoice. It is identified by packing material, packing class, item, purchase order, invoice date and invoice number. It is the purchase-side counterpart of the sales packing material transactions.
- Table name
InventPackagingMaterialTransPurch- Module
Inventory- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
InventPackaging- Primary index
RecId- Replacement key
PackMaterialTransPurchIdx- Key fields
PackMaterialCode, PackagingClassId_W, ItemId_W, PurchId, InvoiceDate, InvoiceId- Model
Foundation
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PackMaterialCodePacking material used on the line. | StringInventPackingMaterialCode | Yes | InventPackagingMaterialCode.PackMaterialCode | None |
PackagingClassId_WPacking class of the line. | StringItemPackagingClassId_W | No | InventPackagingClass_W.PackagingClassId | None |
ItemId_WItem that the packing material line is for. | String (20)ItemId | No | InventTable.ItemId | None |
PurchIdPurchase order that the line belongs to. | String (20)PurchId | Yes | PurchTable.PurchId | None |
InvoiceDateDate of the related vendor invoice. | DateInvoiceDate | Yes | None | |
InvoiceIdNumber of the related vendor invoice. | String (50)InvoiceId | Yes | None | |
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 | |
InvoiceAccountVendor account on the invoice, linked to the vendors table. | String (20)VendInvoiceAccount | No | VendTable.AccountNum | 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 | |
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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
PackMaterialTransPurchIdxReplacement keyPackMaterialCode,PackagingClassId_W,ItemId_W,PurchId,InvoiceDate,InvoiceIdUnique, alternate key.
PurchInvoiceIdxPurchId,InvoiceDate,InvoiceIdNot unique.
Relations (7)
Each relation joins InventPackagingMaterialTransPurch to another table on the fields shown.
InventPackagingMaterialCode→InventPackagingMaterialCodeJoin on
PackMaterialCode = InventPackagingMaterialCode.PackMaterialCodeMany InventPackagingMaterialTransPurch records → exactly one InventPackagingMaterialCode record
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdMany InventPackagingMaterialTransPurch records → exactly one PurchTable record
UnitOfMeasure→UnitOfMeasureJoin on
PackingUnit = UnitOfMeasure.SymbolMany InventPackagingMaterialTransPurch records → zero or one UnitOfMeasure record
VendInvoiceJour→VendInvoiceJourJoin on
PurchId = VendInvoiceJour.PurchId,InvoiceDate = VendInvoiceJour.InvoiceDate,InvoiceId = VendInvoiceJour.InvoiceIdMany InventPackagingMaterialTransPurch records → exactly one VendInvoiceJour record
VendTable→VendTableJoin on
InvoiceAccount = VendTable.AccountNumMany InventPackagingMaterialTransPurch records → zero or one VendTable record
InventPackagingClass_W→InventPackagingClass_WJoin on
PackagingClassId_W = InventPackagingClass_W.PackagingClassIdMany InventPackagingMaterialTransPurch records → zero or one InventPackagingClass_W record
InventTable→InventTableJoin on
ItemId_W = InventTable.ItemIdMany InventPackagingMaterialTransPurch records → zero or one InventTable record
Get this data out
No public entity reads from InventPackagingMaterialTransPurch. Its data is only reachable through the application, a custom entity or a database export.
Need help with InventPackagingMaterialTransPurch in a report, an integration or a migration? Talk to Dr Dynamics.