Skip to content
D365 Reference

InventDim

group

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)

Fields

25 fields · 1 key

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

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

Data Entities That Expose This Table