Skip to content
D365 Reference

InventDim

main

The 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)
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

25 fields · 1 key

25 fields.

Table fields: key flag, field name, extended data type, description, data type, length, and quirk flags. 25 fields.
KeyFieldEDTDescriptionTypeLengthFlags
KeyinventDimIdInventDimIdThe key that identifies one unique combination of inventory dimensions; every stock quantity carries itstring25
InventSiteIdInventSiteIdSite (the highest inventory dimension) for the combinationstring10
InventLocationIdInventLocationIdWarehouse for the combinationstring10
wMSLocationIdStorage location (bin) within the warehousestring25
inventBatchIdBatch number for batch-tracked itemsstring20
configIdProduct configuration for the combinationstring10
inventSerialIdSerial number for serial-tracked itemsstring
InventStatusIdInventory status (available, blocked…) used by warehouse managementstring
LicensePlateIdLicense plate (pallet/container id) holding the stock, in WMS-enabled warehousesstring
InventColorIdColor product dimension of the combinationstring
InventSizeIdSize product dimension of the combinationstring
InventStyleIdStyle product dimension of the combinationstring
InventVersionIdVersion product dimension of the combinationstring
InventDimension1Custom inventory dimension slot 1 (unused unless activated in the deployment)string
InventDimension2Custom inventory dimension slot 2string
InventDimension3Custom inventory dimension slot 3string
InventDimension4Custom inventory dimension slot 4string
InventDimension5Custom inventory dimension slot 5string
InventDimension6Custom inventory dimension slot 6string
InventDimension7Custom inventory dimension slot 7string
InventDimension8Custom inventory dimension slot 8string
InventDimension9Custom inventory dimension slot 9 (the CDM schema types this slot as a date)date
InventDimension10Custom inventory dimension slot 10 (the CDM schema types this slot as a decimal)real
InventDimension11Custom inventory dimension slot 11string
InventDimension12Custom inventory dimension slot 12string

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading InventDim 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

3 parameters not filled: <catalog>, <schema>, <company>

-- ============================================================
-- 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;

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

  • InventTransInventDimInventDim · N:1
    ON inventtrans.inventdimid = inventdim.inventdimid AND inventtrans.dataareaid = inventdim.dataareaid
  • InventSumInventDimInventDim · N:1
    ON inventsum.inventdimid = inventdim.inventdimid AND inventsum.dataareaid = inventdim.dataareaid
  • InventJournalTransInventDimInventDim · N:1
    ON inventjournaltrans.inventdimid = inventdim.inventdimid AND inventjournaltrans.dataareaid = inventdim.dataareaid
  • InventDimInventBatchforeign key · N:1
    ON inventdim.inventbatchid = inventbatch.inventbatchid AND inventdim.dataareaid = inventbatch.dataareaid
  • InventDimWMSLocationforeign key · N:1
    ON inventdim.wmslocationid = wmslocation.wmslocationid AND inventdim.dataareaid = wmslocation.dataareaid
  • InventItemPriceInventDimInventDim · N:1
    ON inventitemprice.inventdimid = inventdim.inventdimid AND inventitemprice.dataareaid = inventdim.dataareaid
  • SalesLineInventDimInventDim · N:1
    ON salesline.inventdimid = inventdim.inventdimid AND salesline.dataareaid = inventdim.dataareaid
  • CustInvoiceTransInventDimInventDim · N:1
    ON custinvoicetrans.inventdimid = inventdim.inventdimid AND custinvoicetrans.dataareaid = inventdim.dataareaid
  • PurchLineInventDimInventDim · N:1
    ON purchline.inventdimid = inventdim.inventdimid AND purchline.dataareaid = inventdim.dataareaid
  • VendInvoiceTransInventDimInventDim · N:1
    ON vendinvoicetrans.inventdimid = inventdim.inventdimid AND vendinvoicetrans.dataareaid = inventdim.dataareaid
  • ProdTableInventDimInventDim · N:1
    ON prodtable.inventdimid = inventdim.inventdimid AND prodtable.dataareaid = inventdim.dataareaid
  • ProdBOMInventDimInventDim · N:1
    ON prodbom.inventdimid = inventdim.inventdimid AND prodbom.dataareaid = inventdim.dataareaid
  • BOMInventDimInventDim · N:1
    ON bom.inventdimid = inventdim.inventdimid AND bom.dataareaid = inventdim.dataareaid
  • BOMVersionInventDimInventDim · N:1
    ON bomversion.inventdimid = inventdim.inventdimid AND bomversion.dataareaid = inventdim.dataareaid
  • RouteVersionInventDimInventDim · N:1
    ON routeversion.inventdimid = inventdim.inventdimid AND routeversion.dataareaid = inventdim.dataareaid
  • ForecastSalesInventDimInventDim · N:1
    ON forecastsales.inventdimid = inventdim.inventdimid AND forecastsales.dataareaid = inventdim.dataareaid
  • ReqTransInventDimInventDim · N:1
    ON reqtrans.covinventdimid = inventdim.inventdimid AND reqtrans.dataareaid = inventdim.dataareaid
  • WHSLoadLineInventDimInventDim · N:1
    ON whsloadline.inventdimid = inventdim.inventdimid AND whsloadline.dataareaid = inventdim.dataareaid
  • WHSWorkLineInventDimInventDim · N:1
    ON whsworkline.inventdimid = inventdim.inventdimid AND whsworkline.dataareaid = inventdim.dataareaid

Data Entities That Expose This Table

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.