Table
WHSPlannedWorkOrderLine
Planned Work Order Lines
Holds the lines of a planned work order. The key is the planned work ID and line number. Each line gives the item, dimension, location, quantity and work type. It links to the header, load line, shipment, work template line and outbound sorting position.
- Table name
WHSPlannedWorkOrderLine- Module
Inventory- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
PlannedWorkOrderIdLineNumIdx- Replacement key
PlannedWorkOrderIdLineNumIdx- Key fields
PlannedWorkOrderId, LineNum- Model
WarehousePlanning
Fields (44)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PlannedWorkOrderIdID of the planned work order this line belongs to. Points to the header. | String (20)WHSPlannedWorkOrderId | Yes | WHSPlannedWorkOrder.PlannedWorkOrderId | None |
LineNumLine number within the planned work order. | RealLineNum | Yes | None | |
AllocatedWMSLocationIdProposed warehouse location for the line. | StringWMSLocationId | No | None | |
AskForNewLicensePlateShows whether the user is asked for a new license plate. | EnumWHSAskForNewLicensePlateNoYes (enum) | No | None | |
AvailPhysicalPhysical inventory quantity that is not yet reserved. | RealInventQtyAvailPhysical | No | None | |
CapturedWeightWeight captured for the line. | RealWHSCapturedWeight | No | None | |
ContainerIdContainer linked to the line. Points to a container record. | String (25)WHSContainerId | No | WHSContainerTable.ContainerId | None |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExtraInventHandlingQtyExtra inventory quantity to handle on the line. | RealWHSExtraInventHandlingQty | No | None | |
FEFOBatchIdBatch ID used for first-expired-first-out selection. | String (20)WHSFEFOBatchId | No | None | |
InitialTransactionCreationNeededYes or no flag with no label. Purpose not clear from the metadata.low confidence | EnumNoYes (enum) | No | None | |
InventDimIdInventory dimension number of the line. Points to an inventory dimension record. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventQtyWorkWork quantity in the inventory unit. | RealWHSInventQtyWork | No | None | |
InventTransIdLot ID of the inventory transaction. Points to an inventory transaction originator. | String (20)InventTransId | No | InventTransOrigin.InventTransId | None |
InventTransOriginIdSupplySystem record ID of the marked inventory transaction originator. Points to an inventory transaction originator. | Int64InventTransOriginIdMarked | No | InventTransOrigin.RecId | None |
ItemIdItem on the line. Points to an item. | String (20)ItemId | No | InventTable.ItemId | None |
LoadIdLoad linked to the line. Points to a load record. | String (20)WHSLoadId | No | WHSLoadTable.LoadId | None |
LoadLineRefRecIdSystem record ID of the related load line. Points to a load line. | Int64RefRecId | No | WHSLoadLine.RecId | None |
LocatedLPIdLicense plate that is located at the line's location. Points to a license plate record. | String (25)WHSLocatedLPId | No | WHSLicensePlate.LicensePlateId | None |
MandatoryShows whether the line is mandatory. | EnumWHSMandatoryNoYes (enum) | No | 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 | |
OrderCommittedInventDimIdInventory dimension number related to the order-committed quantity.low confidence | String (20)InventDimId | No | None | |
OrderNumOrder number for the line, such as a production or sales order. | String (20)WHSOrderNum | No | ProdTable.ProdIdSalesTable.SalesId | None |
OutboundSortPositionSystem record ID of the outbound sorting position. Points to an outbound sorting position. | Int64WHSOutboundSortPositionRecId | No | WHSOutboundSortPosition.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QtyWorkQuantity of work on the line. | RealWHSQtyWork | 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 | |
ReplenDemandShows whether the line needs replenishment. | EnumWHSReplenDemandNoYes (enum) | No | None | |
ShipmentIdShipment linked to the line. Points to a shipment record. | String (20)WHSShipmentId | No | WHSShipmentTable.ShipmentId | None |
sortCodeNumber used to sort the lines. | IntegerWMSSortCode | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UnitIdUnit of measure for the line. Points to a unit. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | None |
WMSLocationIdWarehouse location of the line. Relates to a location. | StringWMSLocationId | No | None | |
WorkClassIdID of the work class for the line. | StringWHSWorkClassId | No | None | |
WorkStatusStatus of the work line, such as open, in process, closed or cancelled. | EnumWHSWorkStatus (enum) | No | None | |
WorkStopShows whether the line is a stop transaction. | EnumWHSWorkStopNoYes (enum) | No | None | |
WorkTemplateLineRecIdSystem record ID of the work template line. Points to a work template detail. | Int64RefRecId | No | WHSWorkTemplateLine.RecId | None |
WorkTypeType of work, such as pick, put, counting or print. | EnumWHSWorkType (enum) | Yes | None | |
WorkTypeCustomCodeCustom work type code. Points to a custom work type. | String (20)WHSWorkTypeCustomCode | No | WHSWorkTypeCustom.WorkTypeCustomCode | None |
ZoneIdID of the zone for the line. | String (20)WHSZoneId | No | None |
Indexes (1)
PlannedWorkOrderIdLineNumIdxPrimary indexReplacement keyUnique, alternate key.
Relations (17)
Each relation joins WHSPlannedWorkOrderLine to another table on the fields shown.
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany WHSPlannedWorkOrderLine records → zero or one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany WHSPlannedWorkOrderLine records → zero or one InventTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany WHSPlannedWorkOrderLine records → zero or one InventTransOrigin record
ProdTable→ProdTableJoin on
OrderNum = ProdTable.ProdIdMany WHSPlannedWorkOrderLine records → zero or one ProdTable record
SalesTable→SalesTableJoin on
OrderNum = SalesTable.SalesIdMany WHSPlannedWorkOrderLine records → zero or one SalesTable record
UnitOfMeasure→UnitOfMeasureJoin on
UnitId = UnitOfMeasure.SymbolMany WHSPlannedWorkOrderLine records → zero or one UnitOfMeasure record
WHSContainerTable→WHSContainerTableJoin on
ContainerId = WHSContainerTable.ContainerIdMany WHSPlannedWorkOrderLine records → zero or one WHSContainerTable record
WHSLicensePlate→WHSLicensePlateJoin on
LocatedLPId = WHSLicensePlate.LicensePlateIdMany WHSPlannedWorkOrderLine records → zero or one WHSLicensePlate record
WHSLoadLine→WHSLoadLineJoin on
LoadLineRefRecId = WHSLoadLine.RecIdMany WHSPlannedWorkOrderLine records → zero or one WHSLoadLine record
WHSLoadTable→WHSLoadTableJoin on
LoadId = WHSLoadTable.LoadIdMany WHSPlannedWorkOrderLine records → zero or one WHSLoadTable record
WHSShipmentTable→WHSShipmentTableJoin on
ShipmentId = WHSShipmentTable.ShipmentIdMany WHSPlannedWorkOrderLine records → zero or one WHSShipmentTable record
WHSPlannedWorkOrder→WHSPlannedWorkOrderJoin on
PlannedWorkOrderId = WHSPlannedWorkOrder.PlannedWorkOrderIdMany WHSPlannedWorkOrderLine records → exactly one WHSPlannedWorkOrder record
WHSWorkTemplateLine→WHSWorkTemplateLineJoin on
WorkTemplateLineRecId = WHSWorkTemplateLine.RecIdMany WHSPlannedWorkOrderLine records → zero or one WHSWorkTemplateLine record
WHSWorkTypeCustom→WHSWorkTypeCustomJoin on
WorkTypeCustomCode = WHSWorkTypeCustom.WorkTypeCustomCodeMany WHSPlannedWorkOrderLine records → zero or one WHSWorkTypeCustom record
WMSLocation→WMSLocationJoin on
WMSLocationId = WMSLocation.wMSLocationIdMany WHSPlannedWorkOrderLine records → zero or one WMSLocation record
OutboundSortPosition→WHSOutboundSortPositionJoin on
OutboundSortPosition = WHSOutboundSortPosition.RecIdMany WHSPlannedWorkOrderLine records → zero or one WHSOutboundSortPosition record
InventTransOriginIdSupply→InventTransOriginJoin on
InventTransOriginIdSupply = InventTransOrigin.RecIdMany WHSPlannedWorkOrderLine records → zero or one InventTransOrigin record
Get this data out
No public entity reads from WHSPlannedWorkOrderLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with WHSPlannedWorkOrderLine in a report, an integration or a migration? Talk to Dr Dynamics.