Table

InventPackagingUnitMaterial

Packing material

Links a packaging material allocation to the packing materials it uses. Each record is identified by the allocation record, packing material code and packing class. It also stores a packing unit weight.

Table name
InventPackagingUnitMaterial
Module
Inventory
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
InventPackaging
Primary index
PackingUnitRecIdIdx
Replacement key
None
Key fields
PackingUnitRecID, PackMaterialCode, PackagingClassId_W
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PackingUnitRecIDSystem record ID of the packaging material allocation this row belongs to.Int64
InventPackagingUnitRefRecId
YesInventPackagingUnit.RecIdNone
PackMaterialCodePacking material used in the allocation.String
InventPackingMaterialCode
YesInventPackagingMaterialCode.PackMaterialCodeNone
PackagingClassId_WPacking class of the material.String
ItemPackagingClassId_W
NoInventPackagingClass_W.PackagingClassIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PackingUnitWeightWeight of one packing unit for this material.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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • InventPackagingMaterialCode → InventPackagingMaterialCode

    Join on PackMaterialCode = InventPackagingMaterialCode.PackMaterialCode

    Many InventPackagingUnitMaterial records → exactly one InventPackagingMaterialCode record

  • InventPackagingUnit → InventPackagingUnit

    Join on PackingUnitRecID = InventPackagingUnit.RecId

    Many InventPackagingUnitMaterial records → exactly one InventPackagingUnit record

  • InventPackagingClass_W → InventPackagingClass_W

    Join on PackagingClassId_W = InventPackagingClass_W.PackagingClassId

    Many InventPackagingUnitMaterial records → zero or one InventPackagingClass_W record

Get this data out

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

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

Email sales@drdynamics.co.uk