D365 Reference
InventModelGroupItem
mainShared across companiesThe link table that assigns each released item to its item model group — like the item group, the model group is not a column on InventTable. Cross-company, with explicit ItemDataAreaId / ModelGroupDataAreaId columns
Module: Product InformationNo company partition
Fields
4 fields · 2 key
| Key | Field | EDT | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Key | ItemId | ItemId | Item being assigned; pair with ItemDataAreaId when joining to InventTable | string | ||
| Key | ItemDataAreaId | Company the item row belongs to — the explicit company column on this cross-company link table | string | |||
| ModelGroupId | ModelGroupId | Item model group the item is assigned to | string | |||
| ModelGroupDataAreaId | Company the model group row belongs to; pair it with ModelGroupId when joining to InventModelGroup | string |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading InventModelGroupItemon 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 : InventModelGroupItem The link table that assigns each released item to its item model group — like the item group, the model group is not a column on InventTable. Cross-company, with explicit ItemDataAreaId / ModelGroupDataAreaId columns
-- Purpose: Column-selected read of InventModelGroupItem — 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",
i.itemdataareaid AS "Company the item row belongs to — the explicit company column on this cross-company link table",
i.modelgroupid AS "Item model group the item is assigned to",
i.modelgroupdataareaid AS "Company the model group row belongs to; pair it with ModelGroupId when joining to InventModelGroup"
FROM <catalog>.<schema>.inventmodelgroupitem 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
ON inventmodelgroupitem.itemid = inventtable.itemidON inventmodelgroupitem.itemdataareaid = inventtable.dataareaidON inventmodelgroupitem.modelgroupid = inventmodelgroup.modelgroupid
Data Entities That Expose This Table
No standard export entity — land the raw table; it is the only place an item's model-group assignment lives.