Table
WHSWorkInventTrans
Work inventory transactions
Holds inventory transactions that belong to warehouse work. Each record ties a work line and an item to from and to inventory dimensions and transactions. It also holds quantity, remaining quantity and weight values. It is also used by a BI entity.
- Table name
WHSWorkInventTrans- Module
Inventory- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
RecId- Replacement key
WorkIdLineNumTransIdParentDimIdIdx- Key fields
WorkId, LineNum, ItemId, InventTransIdParent, InventDimIdFrom- Model
Foundation
Fields (25)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
WorkIdThe work record the transaction belongs to. | String (20)WHSWorkId | Yes | WHSWorkTable.WorkId | WHSWorkInventTransBiEntity |
LineNumNumber of the work line the transaction belongs to. | RealLineNum | Yes | WHSWorkLine.LineNum | WHSWorkInventTransBiEntity |
ItemIdThe item number the transaction is for. | String (20)ItemId | Yes | InventTable.ItemId | WHSWorkInventTransBiEntity |
InventTransIdParentLot ID of the parent inventory transaction. | String (20)InventTransId | Yes | InventTransOrigin.InventTransId | WHSWorkInventTransBiEntity |
InventDimIdFromInventory dimensions the stock moves from. | String (20)WHSInventDimIdFrom | Yes | InventDim.inventDimId | WHSWorkInventTransBiEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | WHSWorkInventTransBiEntity | |
InventDimIdToInventory dimensions the stock moves to. | String (20)WHSInventDimIdTo | Yes | InventDim.inventDimId | WHSWorkInventTransBiEntity |
InventoryTransactionOriginIdUnique ID of the warehouse inventory transaction origin. | GuidWHSInventoryTransactionOriginId | No | WHSWorkInventTransBiEntity | |
InventQtyRemainQuantity that is still remaining. | RealInventQtyRemain | No | WHSWorkInventTransBiEntity | |
InventTransIdFromThe source inventory transaction, taken from the transaction originator. | String (20)WHSInventTransIdFrom | No | InventTransOrigin.InventTransId | WHSWorkInventTransBiEntity |
InventTransIdToThe target inventory transaction, taken from the transaction originator. | String (20)WHSInventTransIdTo | No | InventTransOrigin.InventTransId | WHSWorkInventTransBiEntity |
InventTransOriginIdSupplyPoints to the marked inventory transaction originator. | Int64InventTransOriginIdMarked | No | InventTransOrigin.RecId | WHSWorkInventTransBiEntity |
ItemSetIdUnique ID of an inventory item set. Purpose not clear from the metadata.low confidence | GuidWHSInventoryItemSetId | No | WHSWorkInventTransBiEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | WHSWorkInventTransBiEntity | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | WHSWorkInventTransBiEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QtyQuantity of the transaction. | RealProductQuantity | Yes | WHSWorkInventTransBiEntity | |
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 | |
RemainingTransactionWeightWeight of the transaction that is still remaining. | RealWHSTransWeightRemain | No | WHSWorkInventTransBiEntity | |
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 | |
TransactionWeightWeight of the transaction. | RealWHSTransWeight | No | WHSWorkInventTransBiEntity | |
TransDateTimeDate and time of the transaction. | UtcDateTimeTransDateTime | Yes | WHSWorkInventTransBiEntity | |
WorkHasReservationYes/No flag for whether the work has a reservation. | EnumWHSWorkHasReservationNoYes (enum) | No | WHSWorkInventTransBiEntity |
Indexes (5)
WorkIdLineNumTransIdParentDimIdIdxReplacement keyWorkId,LineNum,ItemId,InventTransIdParent,InventDimIdFromUnique, alternate key.
WorkIdInventTransIdFromNot unique.
WorkIdInventTransIdToNot unique.
InventTransIdParentWorkHasReservationIdxInventTransIdParent,WorkHasReservationNot unique.
InventoryTransactionOriginIdxNot unique.
Relations (9)
Each relation joins WHSWorkInventTrans to another table on the fields shown.
InventDimFrom→InventDimJoin on
InventDimIdFrom = InventDim.inventDimIdOne or more WHSWorkInventTrans records → exactly one InventDim record
InventDimTo→InventDimJoin on
InventDimIdTo = InventDim.inventDimIdOne or more WHSWorkInventTrans records → exactly one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdOne or more WHSWorkInventTrans records → exactly one InventTable record
InventTransOriginFrom→InventTransOriginJoin on
InventTransIdFrom = InventTransOrigin.InventTransIdZero or one WHSWorkInventTrans record → exactly one InventTransOrigin record
InventTransOriginParent→InventTransOriginJoin on
InventTransIdParent = InventTransOrigin.InventTransIdMany WHSWorkInventTrans records → exactly one InventTransOrigin record
InventTransOriginTo→InventTransOriginJoin on
InventTransIdTo = InventTransOrigin.InventTransIdZero or one WHSWorkInventTrans record → exactly one InventTransOrigin record
WHSWorkLine→WHSWorkLineJoin on
LineNum = WHSWorkLine.LineNum,WorkId = WHSWorkLine.WorkIdMany WHSWorkInventTrans records → exactly one WHSWorkLine record
WHSWorkTable→WHSWorkTableJoin on
WorkId = WHSWorkTable.WorkIdOne or more WHSWorkInventTrans records → exactly one WHSWorkTable record
InventTransOriginIdSupply→InventTransOriginJoin on
InventTransOriginIdSupply = InventTransOrigin.RecIdMany WHSWorkInventTrans records → zero or one InventTransOrigin record
Get this data out
Tables are not exposed directly. These public entities read from WHSWorkInventTrans; use one of them in Power BI, Power Platform or a data management project.
WHSWorkInventTransBiEntity· 20 fields from this table
Need help with WHSWorkInventTrans in a report, an integration or a migration? Talk to Dr Dynamics.