Table

WHSWorkTable

Work

Holds one header record per warehouse work, identified by Work ID. It records the status, work order type, warehouse, site, wave, load, shipment and the user who created, cancelled or closed it. It links to source orders such as purchase, sales, transfer, production and quality orders. The individual work lines are stored elsewhere.

Table name
WHSWorkTable
Module
Inventory
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
WorkIdx
Replacement key
WorkIdx
Key fields
WorkId
Model
Foundation

Fields (61)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
WorkIdUnique ID of the work. It is the key of this table.String (20)
WHSWorkId
YesWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
ActualTimeTime the work actually took, as a number.Real
WHSActualTime
NoWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
AutoExecuteYes/No flag showing whether the work is set to be processed automatically.Enum
WHSAutoExecute
NoYes (enum)
NoWHSWorkTableBiEntity
CancelReplenWhenDemandCanceledYes/No flag for cancelling replenishment when its demand is cancelled.Enum
WHSCancelReplenWhenDemandCanceled
NoYes (enum)
NoWHSWorkTableBiEntity
ClusterProfileIdCluster profile linked to this work.String (20)
WHSClusterProfileId
NoWHSClusterProfile.ClusterProfileIdWHSWorkTableBiEntity
CombinedWorkIdID of the combined work that this work was merged into.String (20)
WHSCombinedWorkId
NoWHSWorkTableBiEntity
ContainerIdContainer linked to this work. Points to a record in the containers table.String (25)
WHSContainerId
NoWHSContainerTable.ContainerIdWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoWHSWorkTableBiEntityWHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2Entityand 1 more
CycleCountPlanOverviewReference to the cycle count plan overview record linked to this work.Int64
RefRecId
NoWHSCycleCountPlanOverview.RecIdWHSWorkTableBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoWHSWorkTableBiEntity
DispositionCodeDisposition code linked to this work. Points to the disposition codes table.String (20)
WHSDispositionCode
NoWHSDispositionTable.DispositionCodeWHSWorkTableBiEntity
EstimatedTimeExpected time for the work, as a number.Real
WHSEstimatedTime
NoWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
ExecutedWithoutUserLocationYes/No flag. The name suggests the work was run without a user location.low confidenceEnum
WHSExecutedWithoutUserLocation
NoYes (enum)
NoWHSWorkTableBiEntity
FrozenYes/No flag showing whether the wave is blocked.Enum
WHSFrozen
NoYes (enum)
NoWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
HasWorkLineLoadLineDetailsYes/No flag showing whether work lines have load line details.Enum
WHSWorkTableHasWorkLineLoadLineDetails
NoYes (enum)
NoWHSWorkTableBiEntity
ImmediateReplenishmentUnitIdUnit of measure used for immediate replenishment.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolWHSWorkTableBiEntity
InventJournalIdInventory journal linked to this work.String (20)
InventJournalId
NoInventJournalTable.JournalIdWHSWorkTableBiEntity
InventLocationIdWarehouse where the work takes place.String
InventLocationId
YesInventLocation.InventLocationIdWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
InventoryAdjustmentJournalIdWarehouse inventory adjustment journal linked to this work.String (20)
WHSInventoryAdjustmentJournalId
NoWHSInventoryAdjustmentJournal.JournalIdWHSWorkTableBiEntity
InventoryTransactionMechanismChooses between inventory transactions and warehouse-specific inventory transactions.Enum
WHSInventoryTransactionMechanism
WHSInventoryTransactionMechanismEnum (enum)
NoWHSWorkTableBiEntity
InventQualityOrderIdQuality order linked to this work.String (20)
InventQualityOrderId
NoInventQualityOrderTable.QualityOrderIdWHSWorkTableBiEntity
InventSiteIdSite where the work takes place.String
InventSiteId
YesInventSite.SiteIdWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
IsGTDIssueSupport_RUPurpose not clear from the metadata. Used for Russia.low confidenceEnum
NoYes (enum)
NoWHSWorkTableBiEntity
IsPartialCycleCountWorkYes/No flag showing whether this is partial cycle count work.Enum
WHSIsPartialCycleCountWork
NoYes (enum)
NoWHSWorkTableBiEntity
ITMGoodsInTransitIdGoods in transit order linked to this work.String (20)
ITMGoodsInTransitId
NoITMGoodsInTransitOrder.GITIdWHSWorkTableBiEntity
ITMRegisteredLicensePlateIdLicense plate registered as the target for this work.String (25)
WHSTargetLicensePlateId
NoWHSLicensePlate.LicensePlateIdWHSWorkTableBiEntity
LoadIdLoad that this work belongs to.String (20)
WHSLoadId
NoWHSLoadTable.LoadIdWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
LockedUserWork user who has the work locked.String
WHSLockedUser
NoWHSWorkUser.UserIdWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoWHSWorkTableBiEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoWHSWorkTableBiEntity
OrderNumNumber of the source order, such as a quality, transfer or production order.String (20)
WHSOrderNum
NoInventQualityOrderTable.QualityOrderIdInventTransferTable.TransferIdProdTable.ProdIdPurchTable.PurchIdSalesTable.SalesIdWHSInboundShipmentOrder.InboundShipmentOrderIdWHSOutboundShipmentOrder.OutboundShipmentOrderIdWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
PackingWorkRemainingQtyCalculationMechanismSetting that chooses between two options for packing work: work quantity or remaining quantity.Enum
WHSPackingWorkRemainingQtyCalculationMechanism (enum)
NoWHSWorkTableBiEntity
ParkedAtLocationIdWarehouse location where the work is currently parked. Empty if it is not parked.String
WHSParkedAtLocationId
NoWMSLocation.wMSLocationIdWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
ReplenishmentDependentWorkBlockingPolicyChooses whether replenishment blocks the whole work order or only single work lines.Enum
WHSReplenishmentDependentWorkBlockingPolicy (enum)
NoWHSWorkTableBiEntity
ShipmentIdShipment that this work belongs to.String (20)
WHSShipmentId
NoWHSShipmentTable.ShipmentIdWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
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
TargetLicensePlateIdLicense plate that is the target of the work.String (25)
WHSTargetLicensePlateId
NoWHSLicensePlate.LicensePlateIdWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
TransTxtFree-text description of the work.String (60)
TransTxt
NoWHSWorkTableBiEntity
UserManuallyAssignedYes/No flag showing whether a user was assigned to the work by hand.Enum
WHSUserManuallyAssigned
NoYes (enum)
NoWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
UseWorkForWaveReplenYes/No flag that lets wave demand use quantities that are not reserved.Enum
WHSUseWorkForWaveReplen
NoYes (enum)
NoWHSWorkTableBiEntity
WarehouseInventoryTransactionGroupingMechanismShows whether warehouse inventory transactions are grouped or ungrouped.Enum
WHSWarehouseInventoryTransactionGroupingMechanism (enum)
NoWHSWorkTableBiEntity
WaveIdWave that the work was created for.String (20)
WHSWaveId
NoWHSWaveTable.WaveIdWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
WorkBuildIdNumber that identifies the work creation run that produced this work.String (20)
WHSWorkBuildId
NoWHSWorkTableBiEntity
WorkCancelledByUserUser who cancelled the work.String
WHSWorkCancelledByUser
NoWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
WorkCancelledUTCDateTimeDate and time, in UTC, when the work was cancelled.UtcDateTime
WHSWorkCancelledUTCDateTime
NoWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
WorkClosedUTCDateTimeDate and time, in UTC, when the work was closed.UtcDateTime
WHSWorkClosedUTCDateTime
NoWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntityWHSCycleCountingWarehouseWorkLineV3Entityand 2 more
WorkCountErrorShort error message linked to the work count.String (30)
WHSWorkCountError
NoWHSWorkTableBiEntity
WorkCreatedByUser who created the work.String
UserId
NoWHSWorkTableBiEntity
WorkCreationFailedOnReservationYes/No flag showing whether work creation failed at the reservation step.Enum
WHSWorkCreationFailedOnReservation
NoYes (enum)
NoWHSWorkTableBiEntity
WorkInProcessUTCDateTimeDate and time, in UTC, when the work went into process.UtcDateTime
WHSWorkInProcessUTCDateTime
NoWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
WorkIsMultiSKUYes/No flag showing whether the work covers more than one item (SKU).Enum
WHSWorkIsMultiSKU
NoYes (enum)
NoWHSWorkTableBiEntity
WorkManuallyCompletedByUser who completed the work by hand.String
WHSWorkManuallyCompletedBy
NoWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
WorkPoolIdWork pool that the work belongs to.String (20)
WHSWorkPoolId
NoWHSWorkPool.WorkPoolIdWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
WorkPriorityPriority number of the work.Integer
WHSWorkPriority
NoWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity
WorkStatusCurrent status of the work, such as Open, In process, Closed or Canceled.Enum
WHSWorkStatus (enum)
NoWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntityWHSCycleCountingWarehouseWorkLineV3Entityand 2 more
WorkTemplateCodeWork template used for this work.String (20)
WHSWorkTemplateCode
NoWHSWorkTemplateTable.WorkTemplateCodeWHSWorkTableBiEntity
WorkTransTypeType of work order, such as purchase orders, sales orders or transfer issue.Enum
WHSWorkTransType (enum)
YesWHSWorkTemplateTable.WorkTransTypeWHSWarehouseWorkHeaderEntityWHSWorkTableBiEntity

Indexes (14)

Relations (34)

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

  • InventJournalTable → InventJournalTable

    Join on InventJournalId = InventJournalTable.JournalId

    Many WHSWorkTable records → zero or one InventJournalTable record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    One or more WHSWorkTable records → exactly one InventLocation record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    One or more WHSWorkTable records → exactly one InventSite record

  • ParkedAtLocation → WMSLocation

    Join on ParkedAtLocationId = WMSLocation.wMSLocationId, InventLocationId = WMSLocation.InventLocationId

    Many WHSWorkTable records → zero or one WMSLocation record

  • ProdTablePick → ProdTable

    Join on WorkTransType = WHSWorkTransType::ProdPick, OrderNum = ProdTable.ProdId

    Many WHSWorkTable records → zero or one ProdTable record

  • ProdTablePut → ProdTable

    Join on WorkTransType = WHSWorkTransType::ProdPut, OrderNum = ProdTable.ProdId

    Many WHSWorkTable records → zero or one ProdTable record

  • PurchTable → PurchTable

    Join on WorkTransType = WHSWorkTransType::Purch, OrderNum = PurchTable.PurchId

    Many WHSWorkTable records → zero or one PurchTable record

  • SalesTable → SalesTable

    Join on WorkTransType = WHSWorkTransType::Sales, OrderNum = SalesTable.SalesId

    Many WHSWorkTable records → zero or one SalesTable record

  • TransferOrderIssue → InventTransferTable

    Join on WorkTransType = WHSWorkTransType::TransferIssue, OrderNum = InventTransferTable.TransferId

    Many WHSWorkTable records → zero or one InventTransferTable record

  • TransferOrderReciept → InventTransferTable

    Join on WorkTransType = WHSWorkTransType::TransferReceipt, OrderNum = InventTransferTable.TransferId

    Many WHSWorkTable records → zero or one InventTransferTable record

  • UserInfoCancelled → UserInfo

    Join on WorkCancelledByUser = UserInfo.id

    Many WHSWorkTable records → zero or one UserInfo record

  • UserInfoCompleted → UserInfo

    Join on WorkManuallyCompletedBy = UserInfo.id

    Many WHSWorkTable records → zero or one UserInfo record

  • WHSContainerTable → WHSContainerTable

    Join on ContainerId = WHSContainerTable.ContainerId

    Many WHSWorkTable records → zero or one WHSContainerTable record

  • WHSCycleCountPlanOverview → WHSCycleCountPlanOverview

    Join on CycleCountPlanOverview = WHSCycleCountPlanOverview.RecId

    Exactly one WHSWorkTable record → zero or one WHSCycleCountPlanOverview record

  • WHSDispositionTable → WHSDispositionTable

    Join on DispositionCode = WHSDispositionTable.DispositionCode

    Many WHSWorkTable records → exactly one WHSDispositionTable record

  • WHSLicensePlate → WHSLicensePlate

    Join on TargetLicensePlateId = WHSLicensePlate.LicensePlateId

    Many WHSWorkTable records → zero or one WHSLicensePlate record

  • WHSLoadTable → WHSLoadTable

    Join on LoadId = WHSLoadTable.LoadId

    Many WHSWorkTable records → zero or one WHSLoadTable record

  • WHSShipmentTable → WHSShipmentTable

    Join on ShipmentId = WHSShipmentTable.ShipmentId

    Many WHSWorkTable records → zero or one WHSShipmentTable record

  • WHSWaveTable → WHSWaveTable

    Join on WaveId = WHSWaveTable.WaveId

    Many WHSWorkTable records → zero or one WHSWaveTable record

  • WHSWorkPool → WHSWorkPool

    Join on WorkPoolId = WHSWorkPool.WorkPoolId

    Exactly one WHSWorkTable record → zero or one WHSWorkPool record

  • WHSWorkTable → WHSWorkTable

    Join on WorkId = WHSWorkTable.WorkId

    Exactly one WHSWorkTable record → exactly one WHSWorkTable record

  • WHSWorkTemplateTable → WHSWorkTemplateTable

    Join on WorkTemplateCode = WHSWorkTemplateTable.WorkTemplateCode, WorkTransType = WHSWorkTemplateTable.WorkTransType

    Many WHSWorkTable records → zero or one WHSWorkTemplateTable record

  • WHSWorkUserCreated → UserInfo

    Join on WorkCreatedBy = UserInfo.id

    Many WHSWorkTable records → exactly one UserInfo record

  • WHSWorkUserLocked → WHSWorkUser

    Join on LockedUser = WHSWorkUser.UserId

    Many WHSWorkTable records → zero or one WHSWorkUser record

  • UnitOfMeasureImmediateReplenUnit → UnitOfMeasure

    Join on ImmediateReplenishmentUnitId = UnitOfMeasure.Symbol

    Many WHSWorkTable records → zero or one UnitOfMeasure record

  • InventQualityOrderTable → InventQualityOrderTable

    Join on InventQualityOrderId = InventQualityOrderTable.QualityOrderId

    Many WHSWorkTable records → zero or one InventQualityOrderTable record

  • WHSClusterProfile → WHSClusterProfile

    Join on ClusterProfileId = WHSClusterProfile.ClusterProfileId

    Many WHSWorkTable records → zero or one WHSClusterProfile record

  • InventQualityOrderTableByOrderNum → InventQualityOrderTable

    Join on WorkTransType = WHSWorkTransType::QualityOrder, OrderNum = InventQualityOrderTable.QualityOrderId

    Many WHSWorkTable records → zero or one InventQualityOrderTable record

  • ITMGoodsInTransitPurchTable → PurchTable

    Join on WorkTransType = WHSWorkTransType::ITMGoodsInTransit, OrderNum = PurchTable.PurchId

    Many WHSWorkTable records → zero or one PurchTable record

  • ITMGoodsInTransitOrder → ITMGoodsInTransitOrder

    Join on ITMGoodsInTransitId = ITMGoodsInTransitOrder.GITId

    Many WHSWorkTable records → exactly one ITMGoodsInTransitOrder record

  • ITMRegisteredLicensePlate → WHSLicensePlate

    Join on ITMRegisteredLicensePlateId = WHSLicensePlate.LicensePlateId

    Many WHSWorkTable records → zero or one WHSLicensePlate record

  • WHSInventoryAdjustmentJournal → WHSInventoryAdjustmentJournal

    Join on InventoryAdjustmentJournalId = WHSInventoryAdjustmentJournal.JournalId

    Zero or one WHSWorkTable record → zero or one WHSInventoryAdjustmentJournal record

  • WHSOutboundShipmentOrder → WHSOutboundShipmentOrder

    Join on WorkTransType = WHSWorkTransType::OutboundShipmentOrder, OrderNum = WHSOutboundShipmentOrder.OutboundShipmentOrderId

    Many WHSWorkTable records → zero or one WHSOutboundShipmentOrder record

  • WHSInboundShipmentOrder → WHSInboundShipmentOrder

    Join on WorkTransType = WHSWorkTransType::InboundShipmentOrder, OrderNum = WHSInboundShipmentOrder.InboundShipmentOrderId

    Many WHSWorkTable records → zero or one WHSInboundShipmentOrder record

Get this data out

Tables are not exposed directly. These public entities read from WHSWorkTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk