D365 Reference
InventDim
groupThe inventory dimension hub — one row per unique combination of site, warehouse, location, batch, and serial that every stock quantity hangs off by InventDimId
Module: InventoryCompany-partitioned (DataAreaId)
Fields
25 fields · 1 key
| Key | Field | EDT | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Key | InventDimId | InventDimId | The key that identifies one unique combination of inventory dimensions; every stock quantity carries it | string | 25 | |
| InventSiteId | InventSiteId | Site (the highest inventory dimension) for the combination | string | 10 | ||
| InventLocationId | InventLocationId | Warehouse for the combination | string | 10 | ||
| wMSLocationId | Storage location (bin) within the warehouse | string | 25 | |||
| inventBatchId | Batch number for batch-tracked items | string | 20 | |||
| configId | Product configuration for the combination | string | 10 | |||
| inventSerialId | Serial number for serial-tracked items | string | ||||
| InventStatusId | Inventory status (available, blocked…) used by warehouse management | string | ||||
| LicensePlateId | License plate (pallet/container id) holding the stock, in WMS-enabled warehouses | string | ||||
| InventColorId | Color product dimension of the combination | string | ||||
| InventSizeId | Size product dimension of the combination | string | ||||
| InventStyleId | Style product dimension of the combination | string | ||||
| InventVersionId | Version product dimension of the combination | string | ||||
| InventDimension1 | Custom inventory dimension slot 1 (unused unless activated in the deployment) | string | ||||
| InventDimension2 | Custom inventory dimension slot 2 | string | ||||
| InventDimension3 | Custom inventory dimension slot 3 | string | ||||
| InventDimension4 | Custom inventory dimension slot 4 | string | ||||
| InventDimension5 | Custom inventory dimension slot 5 | string | ||||
| InventDimension6 | Custom inventory dimension slot 6 | string | ||||
| InventDimension7 | Custom inventory dimension slot 7 | string | ||||
| InventDimension8 | Custom inventory dimension slot 8 | string | ||||
| InventDimension9 | Custom inventory dimension slot 9 (the CDM schema types this slot as a date) | date | ||||
| InventDimension10 | Custom inventory dimension slot 10 (the CDM schema types this slot as a decimal) | real | ||||
| InventDimension11 | Custom inventory dimension slot 11 | string | ||||
| InventDimension12 | Custom inventory dimension slot 12 | string |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading InventDimon 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
-- ============================================================
-- Table : InventDim The inventory dimension hub — one row per unique combination of site, warehouse, location, batch, and serial that every stock quantity hangs off by InventDimId
-- Purpose: Column-selected read of InventDim — auto-generated from field metadata
-- Grain : One row per company (dataareaid) + InventDimId
-- 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
id.inventdimid AS "The key that identifies one unique combination of inventory dimensions; every stock quantity carries it",
id.inventsiteid AS "Site (the highest inventory dimension) for the combination",
id.inventlocationid AS "Warehouse for the combination",
id.wmslocationid AS "Storage location (bin) within the warehouse",
id.inventbatchid AS "Batch number for batch-tracked items",
id.configid AS "Product configuration for the combination",
id.inventserialid AS "Serial number for serial-tracked items",
id.inventstatusid AS "Inventory status (available, blocked…) used by warehouse management",
id.licenseplateid AS "License plate (pallet/container id) holding the stock, in WMS-enabled warehouses",
id.inventcolorid AS "Color product dimension of the combination",
id.inventsizeid AS "Size product dimension of the combination",
id.inventstyleid AS "Style product dimension of the combination",
id.inventversionid AS "Version product dimension of the combination",
id.inventdimension1 AS "Custom inventory dimension slot 1 (unused unless activated in the deployment)",
id.inventdimension2 AS "Custom inventory dimension slot 2",
id.inventdimension3 AS "Custom inventory dimension slot 3",
id.inventdimension4 AS "Custom inventory dimension slot 4",
id.inventdimension5 AS "Custom inventory dimension slot 5",
id.inventdimension6 AS "Custom inventory dimension slot 6",
id.inventdimension7 AS "Custom inventory dimension slot 7",
id.inventdimension8 AS "Custom inventory dimension slot 8",
id.inventdimension9 AS "Custom inventory dimension slot 9 (the CDM schema types this slot as a date)",
id.inventdimension10 AS "Custom inventory dimension slot 10 (the CDM schema types this slot as a decimal)",
id.inventdimension11 AS "Custom inventory dimension slot 11",
id.inventdimension12 AS "Custom inventory dimension slot 12"
FROM <catalog>.<schema>.inventdim id
WHERE
id.dataareaid = '<company>'
ORDER BY id.inventdimid;3 parameters not filled: <catalog>, <schema>, <company>
Relationships
1-hop neighbors — click a table to navigate there. RecId and InventDim edges are highlighted; they’re the joins newcomers most often get wrong.
Join details
ON inventtrans.inventdimid = inventdim.inventdimidON inventsum.inventdimid = inventdim.inventdimidON inventjournaltrans.inventdimid = inventdim.inventdimidON inventdim.inventbatchid = inventbatch.inventbatchidON inventdim.wmslocationid = wmslocation.wmslocationidON inventitemprice.inventdimid = inventdim.inventdimidON salesline.inventdimid = inventdim.inventdimidON custinvoicetrans.inventdimid = inventdim.inventdimidON purchline.inventdimid = inventdim.inventdimidON vendinvoicetrans.inventdimid = inventdim.inventdimidON prodtable.inventdimid = inventdim.inventdimidON prodbom.inventdimid = inventdim.inventdimidON bom.inventdimid = inventdim.inventdimidON bomversion.inventdimid = inventdim.inventdimidON routeversion.inventdimid = inventdim.inventdimidON forecastsales.inventdimid = inventdim.inventdimidON reqtrans.covinventdimid = inventdim.inventdimidON whsloadline.inventdimid = inventdim.inventdimidON whsworkline.inventdimid = inventdim.inventdimid
Data Entities That Expose This Table
No standard export entity — land the raw table; every stock quantity resolves through it.