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 descriptionType / EDT / enumMandatoryReferencesIn public entities
PackMaterialCodePacking material used on the line.String
InventPackingMaterialCode
YesInventPackagingMaterialCode.PackMaterialCodeNone
PackagingClassId_WPacking class of the line.String
ItemPackagingClassId_W
NoInventPackagingClass_W.PackagingClassIdNone
ItemId_WItem that the packing material line is for.String (20)
ItemId
NoInventTable.ItemIdNone
PurchIdPurchase order that the line belongs to.String (20)
PurchId
YesPurchTable.PurchIdNone
InvoiceDateDate of the related vendor invoice.Date
InvoiceDate
YesNone
InvoiceIdNumber of the related vendor invoice.String (50)
InvoiceId
YesNone
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
InvoiceAccountVendor account on the invoice, linked to the vendors table.String (20)
VendInvoiceAccount
NoVendTable.AccountNumNone
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
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (7)

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

  • InventPackagingMaterialCode → InventPackagingMaterialCode

    Join on PackMaterialCode = InventPackagingMaterialCode.PackMaterialCode

    Many InventPackagingMaterialTransPurch records → exactly one InventPackagingMaterialCode record

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    Many InventPackagingMaterialTransPurch records → exactly one PurchTable record

  • UnitOfMeasure → UnitOfMeasure

    Join on PackingUnit = UnitOfMeasure.Symbol

    Many InventPackagingMaterialTransPurch records → zero or one UnitOfMeasure record

  • VendInvoiceJour → VendInvoiceJour

    Join on PurchId = VendInvoiceJour.PurchId, InvoiceDate = VendInvoiceJour.InvoiceDate, InvoiceId = VendInvoiceJour.InvoiceId

    Many InventPackagingMaterialTransPurch records → exactly one VendInvoiceJour record

  • VendTable → VendTable

    Join on InvoiceAccount = VendTable.AccountNum

    Many InventPackagingMaterialTransPurch records → zero or one VendTable record

  • InventPackagingClass_W → InventPackagingClass_W

    Join on PackagingClassId_W = InventPackagingClass_W.PackagingClassId

    Many InventPackagingMaterialTransPurch records → zero or one InventPackagingClass_W record

  • InventTable → InventTable

    Join on ItemId_W = InventTable.ItemId

    Many 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.

Email sales@drdynamics.co.uk