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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RefRecIdPoints to the location directive that owns this line. | Int64RefRecId | Yes | WHSLocDirTable.RecId | WHSWarehouseLocationDirectiveLineEntityWHSWarehouseLocationDirectiveLineActionV3EntityWHSWarehouseLocationDirectiveLineUnitOfMeasureRestrictionEntity |
LocSeqNumThe sequence number that sets the order of lines. | IntegerWHSLocSeqNum | Yes | WHSWarehouseLocationDirectiveLineEntityWHSWarehouseLocationDirectiveLineActionV3EntityWHSWarehouseLocationDirectiveLineUnitOfMeasureRestrictionEntity | |
AllowSplitYes/no flag for allowing the quantity to be split. | EnumWHSAllowSplitNoYes (enum) | No | WHSWarehouseLocationDirectiveLineEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FromQtyThe start of the quantity range for the line. | RealWHSFromQty | No | WHSWarehouseLocationDirectiveLineEntity | |
ImmediateReplenishmentTemplateIdThe replenishment template used for immediate replenishment. | String (20)WHSImmediateReplenishTemplateId | No | WHSReplenishmentTemplate.ReplenishTemplateId | WHSWarehouseLocationDirectiveLineEntity |
LocatePackingQtyYes/no flag for locating by packing quantity. | EnumWHSLocatePackingQtyNoYes (enum) | No | WHSWarehouseLocationDirectiveLineEntity | |
LocateQtySets which quantity is located, such as license plate, unitized, remaining or expected quantity. | EnumWHSLocateQty (enum) | No | WHSWarehouseLocationDirectiveLineEntity | |
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 | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
RestrictByUOMYes/no flag for restricting the line by unit. | EnumWHSRestrictByUOMNoYes (enum) | No | WHSWarehouseLocationDirectiveLineEntity | |
RoundUpToHandlingUnitYes/no flag for rounding up to the unit. | EnumWHSRoundUpToHandlingUnitNoYes (enum) | No | WHSWarehouseLocationDirectiveLineEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToQtyThe end of the quantity range for the line. | RealWHSToQty | No | WHSWarehouseLocationDirectiveLineEntity | |
UnitIDThe unit of measure for the line. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | WHSWarehouseLocationDirectiveLineEntity |
Indexes (1)
Relations (3)
Each relation joins WHSLocDirLine to another table on the fields shown.
UnitOfMeasure→UnitOfMeasureJoin on
UnitID = UnitOfMeasure.SymbolMany WHSLocDirLine records → zero or one UnitOfMeasure record
WHSLocDirTable→WHSLocDirTableJoin on
RefRecId = WHSLocDirTable.RecIdMany WHSLocDirLine records → exactly one WHSLocDirTable record
WHSReplenishmentTemplate→WHSReplenishmentTemplateJoin on
ImmediateReplenishmentTemplateId = WHSReplenishmentTemplate.ReplenishTemplateId,WHSReplenishmentTemplate.ReplenishmentType = WHSReplenishmentType::WaveDemandMany 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.
WHSWarehouseLocationDirectiveLineEntity· 11 fields from this tableWHSWarehouseLocationDirectiveLineActionV3Entity· 2 fields from this tableWHSWarehouseLocationDirectiveLineUnitOfMeasureRestrictionEntity· 2 fields from this table
Need help with WHSLocDirLine in a report, an integration or a migration? Talk to Dr Dynamics.