Table
WHSPlannedWorkOrder
Planned Work Order
Holds planned work orders for warehouse work. The key is the planned work ID. A record can link to many kinds of source, such as orders, loads, shipments, waves, containers, journals and quality orders. It also holds work settings such as work pool, template, priority and status.
- Table name
WHSPlannedWorkOrder- Module
Inventory- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
PlannedWorkOrderIdx- Replacement key
PlannedWorkOrderIdx- Key fields
PlannedWorkOrderId- Model
WarehousePlanning
Fields (42)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PlannedWorkOrderIdUnique ID of the planned work order. | String (20)WHSPlannedWorkOrderId | Yes | None | |
AutoExecuteShows whether the work is processed automatically. | EnumWHSAutoExecuteNoYes (enum) | No | None | |
CancelReplenWhenDemandCanceledShows whether replenishment is cancelled when the demand is cancelled. | EnumWHSCancelReplenWhenDemandCanceledNoYes (enum) | No | None | |
ClusterProfileIdCluster profile used for the work. Points to a cluster profile. | String (20)WHSClusterProfileId | No | WHSClusterProfile.ClusterProfileId | None |
CombinedWorkIdID of the combined work that this work belongs to. | String (20)WHSCombinedWorkId | No | None | |
ContainerIdContainer linked to the work. Points to a container record. | String (25)WHSContainerId | No | WHSContainerTable.ContainerId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CycleCountPlanOverviewSystem record ID of the cycle count plan. Points to a cycle count plan overview. | Int64RefRecId | No | WHSCycleCountPlanOverview.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DispositionCodeDisposition code linked to the work. Points to a disposition code. | String (20)WHSDispositionCode | No | WHSDispositionTable.DispositionCode | None |
FrozenShows whether the wave is blocked. | EnumWHSFrozenNoYes (enum) | No | None | |
HasWorkLineLoadLineDetailsShows whether the work has work line and load line details. | EnumWHSWorkTableHasWorkLineLoadLineDetailsNoYes (enum) | No | None | |
ImmediateReplenishmentUnitIdUnit of measure used for immediate replenishment. Points to a unit. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | None |
InventJournalIdInventory journal linked to the work. Points to an inventory journal. | String (20)InventJournalId | No | InventJournalTable.JournalId | None |
InventLocationIdWarehouse of the work. Points to a warehouse record. | StringInventLocationId | Yes | InventLocation.InventLocationId | None |
InventQualityOrderIdQuality order linked to the work. Points to a quality order. | String (20)InventQualityOrderId | No | InventQualityOrderTable.QualityOrderId | None |
InventSiteIdSite of the work. Points to a site record. | StringInventSiteId | Yes | InventSite.SiteId | None |
IsPartialCycleCountWorkShows whether the work is a partial cycle count. | EnumWHSIsPartialCycleCountWorkNoYes (enum) | No | None | |
LoadIdLoad linked to the work. Points to a load record. | String (20)WHSLoadId | No | WHSLoadTable.LoadId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
OrderNumOrder number the work is for. It can be a transfer, production or purchase order. | String (20)WHSOrderNum | No | InventTransferTable.TransferIdProdTable.ProdIdPurchTable.PurchIdSalesTable.SalesIdWHSInboundShipmentOrder.InboundShipmentOrderIdWHSOutboundShipmentOrder.OutboundShipmentOrderId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProcessingStatusStatus of work creation post-processing: queued, completed or failed. | EnumWHSScheduleWorkCreationPostProcessStatus (enum) | No | None | |
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 | |
ReplenishmentDependentWorkBlockingPolicyChooses whether replenishment blocks the whole work order or only single work lines. | EnumWHSReplenishmentDependentWorkBlockingPolicy (enum) | No | None | |
ShipmentIdShipment linked to the work. Points to a shipment record. | String (20)WHSShipmentId | No | WHSShipmentTable.ShipmentId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TargetLicensePlateIdLicense plate that is the target of the work. Points to a license plate record. | String (25)WHSTargetLicensePlateId | No | WHSLicensePlate.LicensePlateId | None |
TransTxtShort description text for the work order. | String (60)TransTxt | No | None | |
UseWorkForWaveReplenShows whether wave demand may use unreserved quantities. | EnumWHSUseWorkForWaveReplenNoYes (enum) | No | None | |
WaveIdWave linked to the work. Points to a wave record. | String (20)WHSWaveId | No | WHSWaveTable.WaveId | None |
WorkBuildIdNumber identifying a work creation run. | String (20)WHSWorkBuildId | No | None | |
WorkCreatedByUser who created the work. No label is given. | StringUserId | No | None | |
WorkIsMultiSKUShows whether the work covers more than one SKU. | EnumWHSWorkIsMultiSKUNoYes (enum) | No | None | |
WorkPoolIdWork pool the work belongs to. Points to a work pool. | String (20)WHSWorkPoolId | No | WHSWorkPool.WorkPoolId | None |
WorkPriorityPriority number of the work. | IntegerWHSWorkPriority | No | None | |
WorkStatusStatus of the work, such as open, in process, closed or cancelled. | EnumWHSWorkStatus (enum) | No | None | |
WorkTemplateCodeWork template used. Points to a work template, together with the work order type. | String (20)WHSWorkTemplateCode | No | WHSWorkTemplateTable.WorkTemplateCode | None |
WorkTransTypeType of work order, such as purchase orders, sales orders, transfer issue or inventory movement. | EnumWHSWorkTransType (enum) | Yes | WHSWorkTemplateTable.WorkTransType | None |
Indexes (2)
PlannedWorkOrderIdxPrimary indexReplacement keyUnique, alternate key.
WorkBuildIdIdxWorkBuildId,PlannedWorkOrderIdNot unique.
Relations (24)
Each relation joins WHSPlannedWorkOrder to another table on the fields shown.
InventJournalTable→InventJournalTableJoin on
InventJournalId = InventJournalTable.JournalIdMany WHSPlannedWorkOrder records → zero or one InventJournalTable record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany WHSPlannedWorkOrder records → exactly one InventLocation record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany WHSPlannedWorkOrder records → exactly one InventSite record
ProdTablePick→ProdTableJoin on
WorkTransType = WHSWorkTransType::ProdPick,OrderNum = ProdTable.ProdIdMany WHSPlannedWorkOrder records → zero or one ProdTable record
ProdTablePut→ProdTableJoin on
WorkTransType = WHSWorkTransType::ProdPut,OrderNum = ProdTable.ProdIdMany WHSPlannedWorkOrder records → zero or one ProdTable record
PurchTable→PurchTableJoin on
WorkTransType = WHSWorkTransType::Purch,OrderNum = PurchTable.PurchIdMany WHSPlannedWorkOrder records → zero or one PurchTable record
SalesTable→SalesTableJoin on
WorkTransType = WHSWorkTransType::Sales,OrderNum = SalesTable.SalesIdMany WHSPlannedWorkOrder records → zero or one SalesTable record
TransferOrderIssue→InventTransferTableJoin on
WorkTransType = WHSWorkTransType::TransferIssue,OrderNum = InventTransferTable.TransferIdMany WHSPlannedWorkOrder records → zero or one InventTransferTable record
TransferOrderReciept→InventTransferTableJoin on
WorkTransType = WHSWorkTransType::TransferReceipt,OrderNum = InventTransferTable.TransferIdMany WHSPlannedWorkOrder records → zero or one InventTransferTable record
WHSContainerTable→WHSContainerTableJoin on
ContainerId = WHSContainerTable.ContainerIdMany WHSPlannedWorkOrder records → zero or one WHSContainerTable record
WHSCycleCountPlanOverview→WHSCycleCountPlanOverviewJoin on
CycleCountPlanOverview = WHSCycleCountPlanOverview.RecIdMany WHSPlannedWorkOrder records → zero or one WHSCycleCountPlanOverview record
WHSLicensePlate→WHSLicensePlateJoin on
TargetLicensePlateId = WHSLicensePlate.LicensePlateIdMany WHSPlannedWorkOrder records → zero or one WHSLicensePlate record
WHSLoadTable→WHSLoadTableJoin on
LoadId = WHSLoadTable.LoadIdMany WHSPlannedWorkOrder records → zero or one WHSLoadTable record
WHSShipmentTable→WHSShipmentTableJoin on
ShipmentId = WHSShipmentTable.ShipmentIdMany WHSPlannedWorkOrder records → zero or one WHSShipmentTable record
WHSWaveTable→WHSWaveTableJoin on
WaveId = WHSWaveTable.WaveIdMany WHSPlannedWorkOrder records → zero or one WHSWaveTable record
WHSWorkPool→WHSWorkPoolJoin on
WorkPoolId = WHSWorkPool.WorkPoolIdMany WHSPlannedWorkOrder records → zero or one WHSWorkPool record
WHSWorkTemplateTable→WHSWorkTemplateTableJoin on
WorkTemplateCode = WHSWorkTemplateTable.WorkTemplateCode,WorkTransType = WHSWorkTemplateTable.WorkTransTypeMany WHSPlannedWorkOrder records → zero or one WHSWorkTemplateTable record
WHSWorkUserCreated→UserInfoJoin on
WorkCreatedBy = UserInfo.idMany WHSPlannedWorkOrder records → zero or one UserInfo record
UnitOfMeasureImmediateReplenUnit→UnitOfMeasureJoin on
ImmediateReplenishmentUnitId = UnitOfMeasure.SymbolMany WHSPlannedWorkOrder records → zero or one UnitOfMeasure record
InventQualityOrderTable→InventQualityOrderTableJoin on
InventQualityOrderId = InventQualityOrderTable.QualityOrderIdMany WHSPlannedWorkOrder records → zero or one InventQualityOrderTable record
WHSClusterProfile→WHSClusterProfileJoin on
ClusterProfileId = WHSClusterProfile.ClusterProfileIdMany WHSPlannedWorkOrder records → zero or one WHSClusterProfile record
WHSDispositionTable→WHSDispositionTableJoin on
DispositionCode = WHSDispositionTable.DispositionCodeMany WHSPlannedWorkOrder records → zero or one WHSDispositionTable record
OutboundShipmentOrder→WHSOutboundShipmentOrderJoin on
WorkTransType = WHSWorkTransType::OutboundShipmentOrder,OrderNum = WHSOutboundShipmentOrder.OutboundShipmentOrderIdMany WHSPlannedWorkOrder records → zero or one WHSOutboundShipmentOrder record
InboundShipmentOrder→WHSInboundShipmentOrderJoin on
WorkTransType = WHSWorkTransType::InboundShipmentOrder,OrderNum = WHSInboundShipmentOrder.InboundShipmentOrderIdMany WHSPlannedWorkOrder records → zero or one WHSInboundShipmentOrder record
Get this data out
No public entity reads from WHSPlannedWorkOrder. Its data is only reachable through the application, a custom entity or a database export.
Need help with WHSPlannedWorkOrder in a report, an integration or a migration? Talk to Dr Dynamics.