CompanyInfo
mainShared across companiesThe legal-entity master — one row per company, carrying its DataArea code, registration and tax numbers, and the address-book party details behind the company name
Global table in the DirPartyTable lineage (a legal entity is a party), which is why party fields like PartyNumber and Name appear directly on it. Joins to DataArea 1:1 on its DataArea field.
Fields
8 fields · 1 key
| 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 address-book party record | string | ||||
| PartyNumber | PartyNumber | Global-address-book party number of the legal entity | string | |||
| LanguageId | Default language of the company | 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 CompanyInfoon 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.
-- ============================================================
-- Table : CompanyInfo The legal-entity master — one row per company, carrying its DataArea code, registration and tax numbers, and the address-book party details behind the company name
-- 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.name AS "Legal-entity name, inherited from the company's address-book party record",
c.partynumber AS "Global-address-book party number of the legal entity",
c.languageid AS "Default language of the company",
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
ORDER BY c.dataarea;2 parameters not filled: <catalog>, <schema>
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 companyinfo.dataarea = dataarea.id