InventSite
groupSite master — one row per operational site, the top of the inventory dimension hierarchy that warehouses roll up to
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/ValidToeffectivity window — a join without a date filter multiplies every key by its history (see the quirks guide).
Fields
8 fields · 1 key
8 fields.
| Key | Field | EDT | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Key | SiteId | InventSiteId | The site code — the top inventory dimension; other tables reference it as InventSiteId | string | ||
| Name | Site name | string | ||||
| Timezone | Time zone of the site, used when converting order dates across sites | enum | ||||
| DefaultDimension | RecId | RecId of the site's default financial-dimension value set in DimensionAttributeValueSet | int64 | |||
| DefaultInventStatusId | Default inventory status applied to receipts at the site | string | ||||
| OrderEntryDeadlineGroupId | Order-entry deadline group governing same-day cutoffs for the site | string | ||||
| TaxBranchRefRecId | RecId | RecId of the tax branch (fiscal establishment) tied to the site, where localizations use it | int64 | |||
| IsReceivingWarehouseOverrideAllowed | Whether transfer receipts may override the receiving warehouse at this site | enum |
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.
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
ON inventlocation.inventsiteid = inventsite.siteid AND inventlocation.dataareaid = inventsite.dataareaidON inventsite.defaultdimension = dimensionattributevalueset.recid
Data Entities That Expose This Table
- InventOperationalSiteEntity — Operational sites — the site master export, one record per site with its time zone, default status, and primary address flattened into columnsPrimary source
- InventWarehouseEntity — Warehouses — the warehouse master export, one record per warehouse with its site, type, and warehouse-management settings
More Inventory tables
- InventSumAggregated on-hand quantities by item and inventory dimension — physical, available, and posted balances
- InventTransThe inventory transaction ledger — every physical and financial stock movement, with issue/receipt status, quantities, dates, and links back to its source document
- InventTransOriginThe origin record every inventory transaction points to — resolves an InventTrans row back to the sales line, purchase line, or journal that created it
- WMSLocationWarehouse location (bin) master — one row per storage location within a warehouse, with its aisle/rack/level coordinates, zone, profile, and capacity limits
- InventBatchBatch master — one row per item and batch number, carrying expiry and manufacturing dates plus vendor batch details; the record behind the inventBatchId dimension
- InventDimThe inventory dimension hub — one row per unique combination of site, warehouse, location, batch, and serial that every stock quantity hangs off by InventDimId