Skip to content
D365 Reference

WMSLocation

main

Warehouse location (bin) master — one row per storage location within a warehouse, with its aisle/rack/level coordinates, zone, profile, and capacity limits

Module: InventoryCompany-partitioned (DataAreaId)
Notes

Referenced from InventDim.wMSLocationId. Several columns are camelCase with a lowercase first letter in the AOT (wMSLocationId, inventLocationId, aisleId) — display case only; landed columns are lowercase anyway.

What the badges mean
main
Table group: how F&O categorizes the table's role — main entity, group/header, transaction, worksheet header, worksheet line, reference, parameter, or framework.
Shared across companies
The table carries no DataAreaId— rows aren’t partitioned per company, so a query never needs (and can’t use) a company filter here (see the quirks guide).
Date-effective
The table carries a ValidFrom/ValidTo effectivity window — a join without a date filter multiplies every key by its history (see the quirks guide).
In field listings, K marks a key field.

Fields

17 fields · 2 key

17 fields.

Table fields: key flag, field name, extended data type, description, data type, length, and quirk flags. 17 fields.
KeyFieldEDTDescriptionTypeLengthFlags
KeywMSLocationIdWMSLocationIdThe location (bin) code within the warehouse — referenced by InventDim.wMSLocationIdstring
KeyinventLocationIdInventLocationIdWarehouse the location belongs to — locations are unique per warehouse, so joins need both columnsstring
locationTypeWhat the location is used for (picking, bulk, inbound/outbound dock…)enum
ZoneIdWarehouse zone the location is grouped into for work and location directivesstring
LocProfileIdLocation profile controlling mixing, license-plate tracking, and capacity behaviorstring
aisleIdAisle the location sits instring
rackRack coordinate within the aisleint
levelLevel (shelf height) coordinate of the locationint
positionPosition coordinate within the rack and levelint
sortCodeSort code driving the picking route sequence through the warehouseint
checkTextCheck text a worker confirms to prove they are at the right locationstring
inputBlockingCauseIdBlocking cause preventing put-away into the location, when setstring
outputBlockingCauseIdBlocking cause preventing picking from the location, when setstring
maxVolumeMaximum volume the location can holdreal
maxWeightMaximum weight the location can holdreal
volumeCalculated volume of the location from its physical dimensionsreal
LastCountedUTCDateTimeWhen the location was last cycle counted, stored in UTCdatetime

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading WMSLocation on Databricks — enums are decoded, 1900-01-01 dates are wrapped to NULL, and the DataAreaId anchor is in place. Set your Unity Catalog location, company, and filter values below; they’re substituted into the SQL and the copy button.

Query parameters

4 parameters not filled: <catalog>, <schema>, <company>, <InventLocationId>

-- ============================================================
-- Table  : WMSLocation Warehouse location (bin) master — one row per storage location within a warehouse, with its aisle/rack/level coordinates, zone, profile, and capacity limits
-- Purpose: Column-selected read of WMSLocation — auto-generated from field metadata
-- Grain  : One row per company (dataareaid) + wMSLocationId + inventLocationId
-- Notes  : Auto-generated skeleton for Synapse Link / Fabric Link-landed F&O data (lowercase column names). Enums decoded inline where verified; datetimes stored in UTC; 1900-01-01 dates are sentinels mapped to NULL. System/audit columns omitted — see the quirks guide.
-- ============================================================
SELECT
  w.wmslocationid AS "The location (bin) code within the warehouse — referenced by InventDim.wMSLocationId",
  w.inventlocationid AS "Warehouse the location belongs to — locations are unique per warehouse, so joins need both columns",
  w.locationtype AS "What the location is used for (picking, bulk, inbound/outbound dock…)",  -- enum: decode w.locationtype via GlobalOptionsetMetadata join — see quirks guide #enums
  w.zoneid AS "Warehouse zone the location is grouped into for work and location directives",
  w.locprofileid AS "Location profile controlling mixing, license-plate tracking, and capacity behavior",
  w.aisleid AS "Aisle the location sits in",
  w.rack AS "Rack coordinate within the aisle",
  w.level_ AS "Level (shelf height) coordinate of the location",
  w.position AS "Position coordinate within the rack and level",
  w.sortcode AS "Sort code driving the picking route sequence through the warehouse",
  w.checktext AS "Check text a worker confirms to prove they are at the right location",
  w.inputblockingcauseid AS "Blocking cause preventing put-away into the location, when set",
  w.outputblockingcauseid AS "Blocking cause preventing picking from the location, when set",
  w.maxvolume AS "Maximum volume the location can hold",
  w.maxweight AS "Maximum weight the location can hold",
  w.volume AS "Calculated volume of the location from its physical dimensions",
  w.lastcountedutcdatetime AS "When the location was last cycle counted, stored in UTC"  -- stored in UTC
FROM <catalog>.<schema>.wmslocation w
WHERE
  w.dataareaid = '<company>'
  -- AND w.inventlocationid = '<InventLocationId>'
ORDER BY w.wmslocationid;

Verified September 2026

Relationships

Diagram of 1-hop neighbors — join details below. RecId and InventDim edges are highlighted; they’re the joins newcomers most often get wrong.

Join details

  • WMSLocationInventLocationforeign key · N:1
    ON wmslocation.inventlocationid = inventlocation.inventlocationid AND wmslocation.dataareaid = inventlocation.dataareaid
  • InventDimWMSLocationforeign key · N:1
    ON inventdim.wmslocationid = wmslocation.wmslocationid AND inventdim.dataareaid = wmslocation.dataareaid

Data Entities That Expose This Table

No data-entity mappings populated for this table yet.

Browse more inventory tables

More Inventory tables

Maintained by Summit Analytics, a supply chain analytics practice. The tools and references are free — the consulting is selective.

Part of the Summit Analytics reference library.

Work with the practice

Not affiliated with or endorsed by Microsoft. Microsoft, Dynamics 365, and Microsoft Fabric are trademarks of the Microsoft group of companies.