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 descriptionType / EDT / enumMandatoryReferencesIn public entities
WorkIdThe work record the transaction belongs to.String (20)
WHSWorkId
YesWHSWorkTable.WorkIdWHSWorkInventTransBiEntity
LineNumNumber of the work line the transaction belongs to.Real
LineNum
YesWHSWorkLine.LineNumWHSWorkInventTransBiEntity
ItemIdThe item number the transaction is for.String (20)
ItemId
YesInventTable.ItemIdWHSWorkInventTransBiEntity
InventTransIdParentLot ID of the parent inventory transaction.String (20)
InventTransId
YesInventTransOrigin.InventTransIdWHSWorkInventTransBiEntity
InventDimIdFromInventory dimensions the stock moves from.String (20)
WHSInventDimIdFrom
YesInventDim.inventDimIdWHSWorkInventTransBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoWHSWorkInventTransBiEntity
InventDimIdToInventory dimensions the stock moves to.String (20)
WHSInventDimIdTo
YesInventDim.inventDimIdWHSWorkInventTransBiEntity
InventoryTransactionOriginIdUnique ID of the warehouse inventory transaction origin.Guid
WHSInventoryTransactionOriginId
NoWHSWorkInventTransBiEntity
InventQtyRemainQuantity that is still remaining.Real
InventQtyRemain
NoWHSWorkInventTransBiEntity
InventTransIdFromThe source inventory transaction, taken from the transaction originator.String (20)
WHSInventTransIdFrom
NoInventTransOrigin.InventTransIdWHSWorkInventTransBiEntity
InventTransIdToThe target inventory transaction, taken from the transaction originator.String (20)
WHSInventTransIdTo
NoInventTransOrigin.InventTransIdWHSWorkInventTransBiEntity
InventTransOriginIdSupplyPoints to the marked inventory transaction originator.Int64
InventTransOriginIdMarked
NoInventTransOrigin.RecIdWHSWorkInventTransBiEntity
ItemSetIdUnique ID of an inventory item set. Purpose not clear from the metadata.low confidenceGuid
WHSInventoryItemSetId
NoWHSWorkInventTransBiEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoWHSWorkInventTransBiEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoWHSWorkInventTransBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QtyQuantity of the transaction.Real
ProductQuantity
YesWHSWorkInventTransBiEntity
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
RemainingTransactionWeightWeight of the transaction that is still remaining.Real
WHSTransWeightRemain
NoWHSWorkInventTransBiEntity
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
TransactionWeightWeight of the transaction.Real
WHSTransWeight
NoWHSWorkInventTransBiEntity
TransDateTimeDate and time of the transaction.UtcDateTime
TransDateTime
YesWHSWorkInventTransBiEntity
WorkHasReservationYes/No flag for whether the work has a reservation.Enum
WHSWorkHasReservation
NoYes (enum)
NoWHSWorkInventTransBiEntity

Indexes (5)

Relations (9)

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

  • InventDimFrom → InventDim

    Join on InventDimIdFrom = InventDim.inventDimId

    One or more WHSWorkInventTrans records → exactly one InventDim record

  • InventDimTo → InventDim

    Join on InventDimIdTo = InventDim.inventDimId

    One or more WHSWorkInventTrans records → exactly one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    One or more WHSWorkInventTrans records → exactly one InventTable record

  • InventTransOriginFrom → InventTransOrigin

    Join on InventTransIdFrom = InventTransOrigin.InventTransId

    Zero or one WHSWorkInventTrans record → exactly one InventTransOrigin record

  • InventTransOriginParent → InventTransOrigin

    Join on InventTransIdParent = InventTransOrigin.InventTransId

    Many WHSWorkInventTrans records → exactly one InventTransOrigin record

  • InventTransOriginTo → InventTransOrigin

    Join on InventTransIdTo = InventTransOrigin.InventTransId

    Zero or one WHSWorkInventTrans record → exactly one InventTransOrigin record

  • WHSWorkLine → WHSWorkLine

    Join on LineNum = WHSWorkLine.LineNum, WorkId = WHSWorkLine.WorkId

    Many WHSWorkInventTrans records → exactly one WHSWorkLine record

  • WHSWorkTable → WHSWorkTable

    Join on WorkId = WHSWorkTable.WorkId

    One or more WHSWorkInventTrans records → exactly one WHSWorkTable record

  • InventTransOriginIdSupply → InventTransOrigin

    Join on InventTransOriginIdSupply = InventTransOrigin.RecId

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

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

Email sales@drdynamics.co.uk