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 descriptionType / EDT / enumMandatoryReferencesIn public entities
PlannedWorkOrderIdID of the planned work order this line belongs to. Points to the header.String (20)
WHSPlannedWorkOrderId
YesWHSPlannedWorkOrder.PlannedWorkOrderIdNone
LineNumLine number within the planned work order.Real
LineNum
YesNone
AllocatedWMSLocationIdProposed warehouse location for the line.String
WMSLocationId
NoNone
AskForNewLicensePlateShows whether the user is asked for a new license plate.Enum
WHSAskForNewLicensePlate
NoYes (enum)
NoNone
AvailPhysicalPhysical inventory quantity that is not yet reserved.Real
InventQtyAvailPhysical
NoNone
CapturedWeightWeight captured for the line.Real
WHSCapturedWeight
NoNone
ContainerIdContainer linked to the line. Points to a container record.String (25)
WHSContainerId
NoWHSContainerTable.ContainerIdNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExtraInventHandlingQtyExtra inventory quantity to handle on the line.Real
WHSExtraInventHandlingQty
NoNone
FEFOBatchIdBatch ID used for first-expired-first-out selection.String (20)
WHSFEFOBatchId
NoNone
InitialTransactionCreationNeededYes or no flag with no label. Purpose not clear from the metadata.low confidenceEnum
NoYes (enum)
NoNone
InventDimIdInventory dimension number of the line. Points to an inventory dimension record.String (20)
InventDimId
NoInventDim.inventDimIdNone
InventQtyWorkWork quantity in the inventory unit.Real
WHSInventQtyWork
NoNone
InventTransIdLot ID of the inventory transaction. Points to an inventory transaction originator.String (20)
InventTransId
NoInventTransOrigin.InventTransIdNone
InventTransOriginIdSupplySystem record ID of the marked inventory transaction originator. Points to an inventory transaction originator.Int64
InventTransOriginIdMarked
NoInventTransOrigin.RecIdNone
ItemIdItem on the line. Points to an item.String (20)
ItemId
NoInventTable.ItemIdNone
LoadIdLoad linked to the line. Points to a load record.String (20)
WHSLoadId
NoWHSLoadTable.LoadIdNone
LoadLineRefRecIdSystem record ID of the related load line. Points to a load line.Int64
RefRecId
NoWHSLoadLine.RecIdNone
LocatedLPIdLicense plate that is located at the line's location. Points to a license plate record.String (25)
WHSLocatedLPId
NoWHSLicensePlate.LicensePlateIdNone
MandatoryShows whether the line is mandatory.Enum
WHSMandatory
NoYes (enum)
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OrderCommittedInventDimIdInventory dimension number related to the order-committed quantity.low confidenceString (20)
InventDimId
NoNone
OrderNumOrder number for the line, such as a production or sales order.String (20)
WHSOrderNum
NoProdTable.ProdIdSalesTable.SalesIdNone
OutboundSortPositionSystem record ID of the outbound sorting position. Points to an outbound sorting position.Int64
WHSOutboundSortPositionRecId
NoWHSOutboundSortPosition.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QtyWorkQuantity of work on the line.Real
WHSQtyWork
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
ReplenDemandShows whether the line needs replenishment.Enum
WHSReplenDemand
NoYes (enum)
NoNone
ShipmentIdShipment linked to the line. Points to a shipment record.String (20)
WHSShipmentId
NoWHSShipmentTable.ShipmentIdNone
sortCodeNumber used to sort the lines.Integer
WMSSortCode
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UnitIdUnit of measure for the line. Points to a unit.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolNone
WMSLocationIdWarehouse location of the line. Relates to a location.String
WMSLocationId
NoNone
WorkClassIdID of the work class for the line.String
WHSWorkClassId
NoNone
WorkStatusStatus of the work line, such as open, in process, closed or cancelled.Enum
WHSWorkStatus (enum)
NoNone
WorkStopShows whether the line is a stop transaction.Enum
WHSWorkStop
NoYes (enum)
NoNone
WorkTemplateLineRecIdSystem record ID of the work template line. Points to a work template detail.Int64
RefRecId
NoWHSWorkTemplateLine.RecIdNone
WorkTypeType of work, such as pick, put, counting or print.Enum
WHSWorkType (enum)
YesNone
WorkTypeCustomCodeCustom work type code. Points to a custom work type.String (20)
WHSWorkTypeCustomCode
NoWHSWorkTypeCustom.WorkTypeCustomCodeNone
ZoneIdID of the zone for the line.String (20)
WHSZoneId
NoNone

Indexes (1)

Relations (17)

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

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many WHSPlannedWorkOrderLine records → zero or one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many WHSPlannedWorkOrderLine records → zero or one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many WHSPlannedWorkOrderLine records → zero or one InventTransOrigin record

  • ProdTable → ProdTable

    Join on OrderNum = ProdTable.ProdId

    Many WHSPlannedWorkOrderLine records → zero or one ProdTable record

  • SalesTable → SalesTable

    Join on OrderNum = SalesTable.SalesId

    Many WHSPlannedWorkOrderLine records → zero or one SalesTable record

  • UnitOfMeasure → UnitOfMeasure

    Join on UnitId = UnitOfMeasure.Symbol

    Many WHSPlannedWorkOrderLine records → zero or one UnitOfMeasure record

  • WHSContainerTable → WHSContainerTable

    Join on ContainerId = WHSContainerTable.ContainerId

    Many WHSPlannedWorkOrderLine records → zero or one WHSContainerTable record

  • WHSLicensePlate → WHSLicensePlate

    Join on LocatedLPId = WHSLicensePlate.LicensePlateId

    Many WHSPlannedWorkOrderLine records → zero or one WHSLicensePlate record

  • WHSLoadLine → WHSLoadLine

    Join on LoadLineRefRecId = WHSLoadLine.RecId

    Many WHSPlannedWorkOrderLine records → zero or one WHSLoadLine record

  • WHSLoadTable → WHSLoadTable

    Join on LoadId = WHSLoadTable.LoadId

    Many WHSPlannedWorkOrderLine records → zero or one WHSLoadTable record

  • WHSShipmentTable → WHSShipmentTable

    Join on ShipmentId = WHSShipmentTable.ShipmentId

    Many WHSPlannedWorkOrderLine records → zero or one WHSShipmentTable record

  • WHSPlannedWorkOrder → WHSPlannedWorkOrder

    Join on PlannedWorkOrderId = WHSPlannedWorkOrder.PlannedWorkOrderId

    Many WHSPlannedWorkOrderLine records → exactly one WHSPlannedWorkOrder record

  • WHSWorkTemplateLine → WHSWorkTemplateLine

    Join on WorkTemplateLineRecId = WHSWorkTemplateLine.RecId

    Many WHSPlannedWorkOrderLine records → zero or one WHSWorkTemplateLine record

  • WHSWorkTypeCustom → WHSWorkTypeCustom

    Join on WorkTypeCustomCode = WHSWorkTypeCustom.WorkTypeCustomCode

    Many WHSPlannedWorkOrderLine records → zero or one WHSWorkTypeCustom record

  • WMSLocation → WMSLocation

    Join on WMSLocationId = WMSLocation.wMSLocationId

    Many WHSPlannedWorkOrderLine records → zero or one WMSLocation record

  • OutboundSortPosition → WHSOutboundSortPosition

    Join on OutboundSortPosition = WHSOutboundSortPosition.RecId

    Many WHSPlannedWorkOrderLine records → zero or one WHSOutboundSortPosition record

  • InventTransOriginIdSupply → InventTransOrigin

    Join on InventTransOriginIdSupply = InventTransOrigin.RecId

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

Email sales@drdynamics.co.uk