Skip to content
D365 Reference

InventSite

group

Site master — one row per operational site, the top of the inventory dimension hierarchy that warehouses roll up to

Module: InventoryCompany-partitioned (DataAreaId)
Notes

The key column is SiteId (not InventSiteId) — other tables reference it through the InventSiteId EDT.

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.
Used in the library
Dashboard patterns

Fields

8 fields · 1 key

8 fields.

Table fields: key flag, field name, extended data type, description, data type, length, and quirk flags. 8 fields.
KeyFieldEDTDescriptionTypeLengthFlags
KeySiteIdInventSiteIdThe site code — the top inventory dimension; other tables reference it as InventSiteIdstring
NameSite namestring
TimezoneTime zone of the site, used when converting order dates across sitesenum
DefaultDimensionRecIdRecId of the site's default financial-dimension value set in DimensionAttributeValueSetint64
DefaultInventStatusIdDefault inventory status applied to receipts at the sitestring
OrderEntryDeadlineGroupIdOrder-entry deadline group governing same-day cutoffs for the sitestring
TaxBranchRefRecIdRecIdRecId of the tax branch (fiscal establishment) tied to the site, where localizations use itint64
IsReceivingWarehouseOverrideAllowedWhether transfer receipts may override the receiving warehouse at this siteenum

Field provenance: hand-curated.

Boilerplate SQL

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

4 parameters not filled: <catalog>, <schema>, <company>, <InventSiteId>

-- ============================================================
-- Table  : InventSite Site master — one row per operational site, the top of the inventory dimension hierarchy that warehouses roll up to
-- Purpose: Column-selected read of InventSite — auto-generated from field metadata
-- Grain  : One row per company (dataareaid) + SiteId
-- 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.siteid AS "The site code — the top inventory dimension; other tables reference it as InventSiteId",
  i.name AS "Site name",
  i.timezone AS "Time zone of the site, used when converting order dates across sites",  -- enum: decode i.timezone via GlobalOptionsetMetadata join — see quirks guide #enums
  i.defaultdimension AS "RecId of the site's default financial-dimension value set in DimensionAttributeValueSet",
  i.defaultinventstatusid AS "Default inventory status applied to receipts at the site",
  i.orderentrydeadlinegroupid AS "Order-entry deadline group governing same-day cutoffs for the site",
  i.taxbranchrefrecid AS "RecId of the tax branch (fiscal establishment) tied to the site, where localizations use it",
  i.isreceivingwarehouseoverrideallowed AS "Whether transfer receipts may override the receiving warehouse at this site"  -- enum: decode i.isreceivingwarehouseoverrideallowed via GlobalOptionsetMetadata join — see quirks guide #enums
FROM <catalog>.<schema>.inventsite i
-- Resolve DimensionAttributeValueSet (via DefaultDimension): uncomment to join on its RecId surrogate key
-- LEFT JOIN <catalog>.<schema>.dimensionattributevalueset dim ON dim.recid = i.defaultdimension
WHERE
  i.dataareaid = '<company>'
  -- AND i.siteid = '<InventSiteId>'
ORDER BY i.siteid;

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

  • InventLocationInventSiteforeign key · N:1
    ON inventlocation.inventsiteid = inventsite.siteid AND inventlocation.dataareaid = inventsite.dataareaid
  • InventSiteDimensionAttributeValueSetRecId ref · N:1
    ON inventsite.defaultdimension = dimensionattributevalueset.recid

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.