Table

WHSLocDirLine

Location Directive Lines

Holds the lines of a location directive. Each line has a sequence number and a quantity range, and sets how quantity is located, split and restricted by unit. It links to its location directive, to units and to replenishment templates.

Table name
WHSLocDirLine
Module
Inventory
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
None
Replacement key
RefRecIdLocSeqNumIdx
Key fields
RefRecId, LocSeqNum
Model
Foundation

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RefRecIdPoints to the location directive that owns this line.Int64
RefRecId
YesWHSLocDirTable.RecIdWHSWarehouseLocationDirectiveLineEntityWHSWarehouseLocationDirectiveLineActionV3EntityWHSWarehouseLocationDirectiveLineUnitOfMeasureRestrictionEntity
LocSeqNumThe sequence number that sets the order of lines.Integer
WHSLocSeqNum
YesWHSWarehouseLocationDirectiveLineEntityWHSWarehouseLocationDirectiveLineActionV3EntityWHSWarehouseLocationDirectiveLineUnitOfMeasureRestrictionEntity
AllowSplitYes/no flag for allowing the quantity to be split.Enum
WHSAllowSplit
NoYes (enum)
NoWHSWarehouseLocationDirectiveLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FromQtyThe start of the quantity range for the line.Real
WHSFromQty
NoWHSWarehouseLocationDirectiveLineEntity
ImmediateReplenishmentTemplateIdThe replenishment template used for immediate replenishment.String (20)
WHSImmediateReplenishTemplateId
NoWHSReplenishmentTemplate.ReplenishTemplateIdWHSWarehouseLocationDirectiveLineEntity
LocatePackingQtyYes/no flag for locating by packing quantity.Enum
WHSLocatePackingQty
NoYes (enum)
NoWHSWarehouseLocationDirectiveLineEntity
LocateQtySets which quantity is located, such as license plate, unitized, remaining or expected quantity.Enum
WHSLocateQty (enum)
NoWHSWarehouseLocationDirectiveLineEntity
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
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
RestrictByUOMYes/no flag for restricting the line by unit.Enum
WHSRestrictByUOM
NoYes (enum)
NoWHSWarehouseLocationDirectiveLineEntity
RoundUpToHandlingUnitYes/no flag for rounding up to the unit.Enum
WHSRoundUpToHandlingUnit
NoYes (enum)
NoWHSWarehouseLocationDirectiveLineEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ToQtyThe end of the quantity range for the line.Real
WHSToQty
NoWHSWarehouseLocationDirectiveLineEntity
UnitIDThe unit of measure for the line.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolWHSWarehouseLocationDirectiveLineEntity

Indexes (1)

Relations (3)

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

  • UnitOfMeasure → UnitOfMeasure

    Join on UnitID = UnitOfMeasure.Symbol

    Many WHSLocDirLine records → zero or one UnitOfMeasure record

  • WHSLocDirTable → WHSLocDirTable

    Join on RefRecId = WHSLocDirTable.RecId

    Many WHSLocDirLine records → exactly one WHSLocDirTable record

  • WHSReplenishmentTemplate → WHSReplenishmentTemplate

    Join on ImmediateReplenishmentTemplateId = WHSReplenishmentTemplate.ReplenishTemplateId, WHSReplenishmentTemplate.ReplenishmentType = WHSReplenishmentType::WaveDemand

    Many WHSLocDirLine records → zero or one WHSReplenishmentTemplate record

Get this data out

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

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

Email sales@drdynamics.co.uk