Table

InventPackagingUnit

Packaging material allocation

Sets packing units for items, item groups or all items. Each record is identified by item code type, item relation, inventory dimension number and unit. It also holds a unit factor and a packaging code.

Table name
InventPackagingUnit
Module
Inventory
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
InventPackaging
Primary index
RecId
Replacement key
PackingUnitIdx
Key fields
ItemCode, ItemRelation, InventDimId, Unit
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ItemCodeShows whether the record applies to one item, an item group or all items.Enum
InventPackagingItemCode
TableGroupAll (enum)
NoNone
ItemRelationItem or packing group the record applies to, depending on the item code.String (20)
InventPackagingItemRelation
NoInventPackagingGroup.PackagingGroupIdInventTable.ItemIdNone
InventDimIdNumber that points to a set of inventory dimensions.String (20)
InventDimId
NoInventDim.inventDimIdNone
UnitUnit of measure used as the packing unit.String
InventPackingUnit
YesUnitOfMeasure.SymbolNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FactorFactor for the packing unit.Real
InventPackingUnitFactor
NoNone
PackageId_PLPackaging code, used for Poland, linked to the return packages table.String
PlPackageId
NoPlInventPackageTable.PackageIdNone
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 (5)

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

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many InventPackagingUnit records → zero or one InventDim record

  • InventPackagingGroup → InventPackagingGroup

    Join on ItemCode = TableGroupAll::GroupId, ItemRelation = InventPackagingGroup.PackagingGroupId

    Many InventPackagingUnit records → zero or one InventPackagingGroup record

  • InventTable → InventTable

    Join on ItemCode = TableGroupAll::Table, ItemRelation = InventTable.ItemId

    Many InventPackagingUnit records → zero or one InventTable record

  • PlInventPackageTable → PlInventPackageTable

    Join on PackageId_PL = PlInventPackageTable.PackageId

    Many InventPackagingUnit records → zero or one PlInventPackageTable record

  • UnitOfMeasure → UnitOfMeasure

    Join on Unit = UnitOfMeasure.Symbol

    Many InventPackagingUnit records → exactly one UnitOfMeasure record

Get this data out

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

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

Email sales@drdynamics.co.uk