Table
WHSWorkTrans
Work transactions
Stores work transactions, identified by a work transaction ID. Each record links to a work and a line, and holds the item, quantity, unit, inventory dimension, user and time. It also holds the target and parent license plates.
- Table name
WHSWorkTrans- Module
Inventory- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
WorkTransIdx- Replacement key
WorkTransIdx- Key fields
WorkTransId- Model
Foundation
Fields (20)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
WorkTransIdUnique ID of the work transaction. | String (20)WHSWorkTransId | Yes | WHSWorkTransBiEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | WHSWorkTransBiEntity | |
InventDimIdInventory dimension record for the transaction. | String (20)InventDimId | Yes | InventDim.inventDimId | WHSWorkTransBiEntity |
InventTransIdLot ID that links to the inventory transaction origin. | String (20)InventTransId | Yes | InventTransOrigin.InventTransId | WHSWorkTransBiEntity |
ItemIdItem number of the item handled. | String (20)ItemId | Yes | InventTable.ItemId | WHSWorkTransBiEntity |
LineNumLine number of the work line the transaction relates to. | RealLineNum | No | WHSWorkLine.LineNum | WHSWorkTransBiEntity |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | WHSWorkTransBiEntity | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | WHSWorkTransBiEntity | |
ParentLicensePlateIdParent license plate of the license plate handled. | String (25)WHSParentLicensePlateId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QtyQuantity handled in the transaction. | RealProductQuantity | Yes | WHSWorkTransBiEntity | |
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 | |
TargetLicensePlateIdTarget license plate for the transaction. | String (25)WHSTargetLicensePlateId | No | WHSLicensePlate.LicensePlateId | WHSWorkTransBiEntity |
TransDateTimeDate and time of the transaction. | UtcDateTimeTransDateTime | No | WHSWorkTransBiEntity | |
UOMUnit of measure for the quantity. | StringWHSUOM | Yes | UnitOfMeasure.Symbol | WHSWorkTransBiEntity |
UserIdWork user who carried out the transaction. | StringWHSUserId | No | WHSWorkUser.UserId | WHSWorkTransBiEntity |
WorkIdWork that the transaction belongs to. | String (20)WHSWorkId | No | WHSWorkTable.WorkId | WHSWorkTransBiEntity |
Indexes (4)
WorkTransIdxPrimary indexReplacement keyUnique, alternate key.
WorkIdLineNumNot unique.
InventDimIdWorkIdIdxNot unique.
TargetLicensePlateWorkIdLineNumIdxTargetLicensePlateId,WorkId,LineNum,RecIdNot unique.
Relations (8)
Each relation joins WHSWorkTrans to another table on the fields shown.
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdOne or more WHSWorkTrans records → exactly one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdOne or more WHSWorkTrans records → exactly one InventTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdOne or more WHSWorkTrans records → exactly one InventTransOrigin record
UnitOfMeasure→UnitOfMeasureJoin on
UOM = UnitOfMeasure.SymbolMany WHSWorkTrans records → exactly one UnitOfMeasure record
WHSLicensePlate→WHSLicensePlateJoin on
TargetLicensePlateId = WHSLicensePlate.LicensePlateIdMany WHSWorkTrans records → zero or one WHSLicensePlate record
WHSWorkLine→WHSWorkLineJoin on
WorkId = WHSWorkLine.WorkId,LineNum = WHSWorkLine.LineNumMany WHSWorkTrans records → zero or one WHSWorkLine record
WHSWorkTable→WHSWorkTableJoin on
WorkId = WHSWorkTable.WorkIdMany WHSWorkTrans records → zero or one WHSWorkTable record
WHSWorkUser→WHSWorkUserJoin on
UserId = WHSWorkUser.UserIdMany WHSWorkTrans records → zero or one WHSWorkUser record
Get this data out
Tables are not exposed directly. These public entities read from WHSWorkTrans; use one of them in Power BI, Power Platform or a data management project.
WHSWorkTransBiEntity· 14 fields from this table
Need help with WHSWorkTrans in a report, an integration or a migration? Talk to Dr Dynamics.