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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ItemCodeShows whether the record applies to one item, an item group or all items. | EnumInventPackagingItemCodeTableGroupAll (enum) | No | None | |
ItemRelationItem or packing group the record applies to, depending on the item code. | String (20)InventPackagingItemRelation | No | InventPackagingGroup.PackagingGroupIdInventTable.ItemId | None |
InventDimIdNumber that points to a set of inventory dimensions. | String (20)InventDimId | No | InventDim.inventDimId | None |
UnitUnit of measure used as the packing unit. | StringInventPackingUnit | Yes | UnitOfMeasure.Symbol | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FactorFactor for the packing unit. | RealInventPackingUnitFactor | No | None | |
PackageId_PLPackaging code, used for Poland, linked to the return packages table. | StringPlPackageId | No | PlInventPackageTable.PackageId | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
PackingUnitIdxReplacement keyItemCode,ItemRelation,InventDimId,UnitUnique, alternate key.
Relations (5)
Each relation joins InventPackagingUnit to another table on the fields shown.
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany InventPackagingUnit records → zero or one InventDim record
InventPackagingGroup→InventPackagingGroupJoin on
ItemCode = TableGroupAll::GroupId,ItemRelation = InventPackagingGroup.PackagingGroupIdMany InventPackagingUnit records → zero or one InventPackagingGroup record
InventTable→InventTableJoin on
ItemCode = TableGroupAll::Table,ItemRelation = InventTable.ItemIdMany InventPackagingUnit records → zero or one InventTable record
PlInventPackageTable→PlInventPackageTableJoin on
PackageId_PL = PlInventPackageTable.PackageIdMany InventPackagingUnit records → zero or one PlInventPackageTable record
UnitOfMeasure→UnitOfMeasureJoin on
Unit = UnitOfMeasure.SymbolMany 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.