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 descriptionType / EDT / enumMandatoryReferencesIn public entities
WorkTransIdUnique ID of the work transaction.String (20)
WHSWorkTransId
YesWHSWorkTransBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoWHSWorkTransBiEntity
InventDimIdInventory dimension record for the transaction.String (20)
InventDimId
YesInventDim.inventDimIdWHSWorkTransBiEntity
InventTransIdLot ID that links to the inventory transaction origin.String (20)
InventTransId
YesInventTransOrigin.InventTransIdWHSWorkTransBiEntity
ItemIdItem number of the item handled.String (20)
ItemId
YesInventTable.ItemIdWHSWorkTransBiEntity
LineNumLine number of the work line the transaction relates to.Real
LineNum
NoWHSWorkLine.LineNumWHSWorkTransBiEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoWHSWorkTransBiEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoWHSWorkTransBiEntity
ParentLicensePlateIdParent license plate of the license plate handled.String (25)
WHSParentLicensePlateId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QtyQuantity handled in the transaction.Real
ProductQuantity
YesWHSWorkTransBiEntity
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
TargetLicensePlateIdTarget license plate for the transaction.String (25)
WHSTargetLicensePlateId
NoWHSLicensePlate.LicensePlateIdWHSWorkTransBiEntity
TransDateTimeDate and time of the transaction.UtcDateTime
TransDateTime
NoWHSWorkTransBiEntity
UOMUnit of measure for the quantity.String
WHSUOM
YesUnitOfMeasure.SymbolWHSWorkTransBiEntity
UserIdWork user who carried out the transaction.String
WHSUserId
NoWHSWorkUser.UserIdWHSWorkTransBiEntity
WorkIdWork that the transaction belongs to.String (20)
WHSWorkId
NoWHSWorkTable.WorkIdWHSWorkTransBiEntity

Indexes (4)

Relations (8)

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

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    One or more WHSWorkTrans records → exactly one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    One or more WHSWorkTrans records → exactly one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    One or more WHSWorkTrans records → exactly one InventTransOrigin record

  • UnitOfMeasure → UnitOfMeasure

    Join on UOM = UnitOfMeasure.Symbol

    Many WHSWorkTrans records → exactly one UnitOfMeasure record

  • WHSLicensePlate → WHSLicensePlate

    Join on TargetLicensePlateId = WHSLicensePlate.LicensePlateId

    Many WHSWorkTrans records → zero or one WHSLicensePlate record

  • WHSWorkLine → WHSWorkLine

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

    Many WHSWorkTrans records → zero or one WHSWorkLine record

  • WHSWorkTable → WHSWorkTable

    Join on WorkId = WHSWorkTable.WorkId

    Many WHSWorkTrans records → zero or one WHSWorkTable record

  • WHSWorkUser → WHSWorkUser

    Join on UserId = WHSWorkUser.UserId

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

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

Email sales@drdynamics.co.uk