CompanyInfo
mainShared across companiesThe legal-entity master — one row per company, carrying its DataArea code and registration and tax numbers; the company name and party details live on its DirPartyTable base record
CompanyInfo derives from DirPartyTable (a legal entity is a party), so party fields like Name, PartyNumber, and LanguageId are inherited — and a Synapse Link / Fabric Link export lands only a derived table's own fields, so they are not in the landed companyinfo. Sync DirPartyTable too and join on RecId (base and derived rows share it) to reach them — see the extraction guide. Joins to DataArea 1:1 on its DataArea field.
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 | DataArea | DataAreaId | The company code this legal entity owns — the natural join to DataArea and to every table's dataareaid | string | ||
| Name | Legal-entity name — inherited from the company's DirPartyTable party record; not in the companyinfo export, land DirPartyTable to get it | string | ||||
| PartyNumber | PartyNumber | Global-address-book party number of the legal entity — inherited from DirPartyTable; not in the companyinfo export | string | |||
| LanguageId | Default language of the company — inherited from DirPartyTable; not in the companyinfo export | string | ||||
| RegNum | Company registration number | string | ||||
| VATNum | Tax-registration (VAT) number | string | ||||
| IsConsolidationCompany | Whether the company exists only to receive consolidations — exclude from operational reporting | enum | ||||
| IsEliminationCompany | Whether the company is an elimination company used in consolidation processing | enum |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading CompanyInfo 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.
2 parameters not filled: <catalog>, <schema>
-- ============================================================
-- Table : CompanyInfo The legal-entity master — one row per company, carrying its DataArea code and registration and tax numbers; the company name and party details live on its DirPartyTable base record
-- Purpose: Column-selected read of CompanyInfo — auto-generated from field metadata
-- Grain : One row per DataArea
-- 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
c.dataarea AS "The company code this legal entity owns — the natural join to DataArea and to every table's dataareaid",
c.regnum AS "Company registration number",
c.vatnum AS "Tax-registration (VAT) number",
c.isconsolidationcompany AS "Whether the company exists only to receive consolidations — exclude from operational reporting", -- enum: decode c.isconsolidationcompany via GlobalOptionsetMetadata join — see quirks guide #enums
c.iseliminationcompany AS "Whether the company is an elimination company used in consolidation processing" -- enum: decode c.iseliminationcompany via GlobalOptionsetMetadata join — see quirks guide #enums
FROM <catalog>.<schema>.companyinfo c
-- Base-table fields: Name, PartyNumber, LanguageId are inherited from DirPartyTable —
-- a derived table's export lands only its own fields, so they are NOT in companyinfo
-- (see the extraction guide). Sync dirpartytable too, then uncomment (rows share recid):
-- LEFT JOIN <catalog>.<schema>.dirpartytable dp ON dp.recid = c.recid
ORDER BY c.dataarea;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 companyinfo.dataarea = dataarea.id