Skip to content
D365 Reference

InventItemGroupItem

mainShared across companies

The link table that assigns each released item to its item group — in D365 the item group is NOT a column on InventTable; this table is where the assignment lives. Cross-company: it carries explicit ItemDataAreaId / ItemGroupDataAreaId columns instead of a DataAreaId partition

Module: Product InformationNo company partition

Fields

4 fields · 2 key

KeyFieldEDTDescriptionTypeLengthFlags
KeyItemIdItemIdItem being assigned; pair with ItemDataAreaId when joining to InventTable — the table has no DataAreaId of its ownstring
KeyItemDataAreaIdCompany the item row belongs to — the explicit company column that replaces DataAreaId on this cross-company link table; always include it in the InventTable joinstring
ItemGroupIdItemGroupIdItem group the item is assigned tostring
ItemGroupDataAreaIdCompany the item group row belongs to; pair it with ItemGroupId when joining to InventItemGroupstring

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading InventItemGroupItemon 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  : InventItemGroupItem The link table that assigns each released item to its item group — in D365 the item group is NOT a column on InventTable; this table is where the assignment lives. Cross-company: it carries explicit ItemDataAreaId / ItemGroupDataAreaId columns instead of a DataAreaId partition
-- Purpose: Column-selected read of InventItemGroupItem — auto-generated from field metadata
-- Grain  : One row per ItemId + ItemDataAreaId
-- 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
  i.itemid AS "Item being assigned; pair with ItemDataAreaId when joining to InventTable — the table has no DataAreaId of its own",
  i.itemdataareaid AS "Company the item row belongs to — the explicit company column that replaces DataAreaId on this cross-company link table; always include it in the InventTable join",
  i.itemgroupid AS "Item group the item is assigned to",
  i.itemgroupdataareaid AS "Company the item group row belongs to; pair it with ItemGroupId when joining to InventItemGroup"
FROM <catalog>.<schema>.inventitemgroupitem i
WHERE
  i.itemid = '<ItemId>'
ORDER BY i.itemid;

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

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

  • InventItemGroupItemInventTableforeign key · N:1
    ON inventitemgroupitem.itemid = inventtable.itemid
  • InventItemGroupItemInventTableforeign key · N:1
    ON inventitemgroupitem.itemdataareaid = inventtable.dataareaid
  • InventItemGroupItemInventItemGroupforeign key · N:1
    ON inventitemgroupitem.itemgroupid = inventitemgroup.itemgroupid

Data Entities That Expose This Table

No standard export entity — land the raw table; it is the only place an item's item-group assignment lives.