subsidiary
masterThe OneWorld legal-entity master: one row per subsidiary, hierarchical through parent, each carrying its own base currency, country and fiscal calendar.
The subsidiary id is what every OneWorld partition filter resolves to, but the column that carries it lives on transactionline, not on the transaction header. currency here is the subsidiary's BASE currency — the currency transactionaccountingline states its amounts in.
What the badges mean
- master
- Data class: what the record holds — master data, transaction documents, control/configuration, or a documented convenience record. NetSuite has no product-family or schema axis, so this is the whole classification.
- Subsidiary-scoped
- The record carries a
subsidiarycolumn that partitions its rows, so the generated SQL anchors it. On a few records the column is a multiselect rather than a scalar foreign key — the table notes say which (see the quirks guide). - Location-scoped
- The record carries a
locationcolumn — an org segment in NetSuite before it is a warehouse — and the generated SQL anchors it the same way. - View
- A documented convenience record rather than a stored one. Land the records it stands in for instead of assuming it extracts as-is — the table notes say where the rows actually live.
Structural facts — how the record is partitioned, not a trap by itself
Join & extract hazards — verify before you rely on this
'T'/'F' string.Business record
The business record this table holds, with Oracle’s own documentation for it: the Analytics Browser page that defines the queryable fields, and the current-release Records Browser page that corroborates it.
- Subsidiarysubsidiary
Fields
16 fields · 1 key
16 fields.
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | id | Internal ID | NUMBER | Primary-key field |
| 2 | name | Subsidiary name | VARCHAR | |
| 3 | fullname | Full hierarchical name | VARCHAR | |
| 4 | legalname | Legal name | VARCHAR | |
| 5 | parent | Parent subsidiary (internal id) | NUMBER | |
| 6 | currency | Base currency (internal id) | NUMBER | |
| 7 | country | Country (internal id) | NUMBER | |
| 8 | state | State or province text | VARCHAR | |
| 9 | dropdownstate | State or province (internal id) | NUMBER | |
| 10 | edition | NetSuite edition (internal id) | NUMBER | |
| 11 | fiscalcalendar | Fiscal calendar (internal id) | NUMBER | |
| 12 | languagelocale | Language locale (internal id) | NUMBER | |
| 13 | iselimination | Elimination subsidiary | VARCHAR | |
| 14 | isinactive | Inactive | VARCHAR | |
| 15 | tranprefix | Document number prefix | VARCHAR | |
| 16 | externalid | External ID | VARCHAR |
Field provenance: hand-curated. 1 key field.
Boilerplate SQL
Starting point for reading the Connect-landed copy of subsidiary on Databricks — dates are real DATE/TIMESTAMP columns and need no conversion, and the partition anchors are already in place. This record carries no modification stamp, and the snippet says so where the watermark would otherwise go. Set your Unity Catalog location, schema, and filter values below; they’re substituted into the SQL and the copy button.
3 parameters not filled: <catalog>, <schema>, <id>
-- ============================================================
-- Table : subsidiary — The OneWorld legal-entity master: one row per subsidiary, hierarchical through parent, each carrying its own base currency, country and fiscal calendar.
-- Purpose: Column-selected read of subsidiary — auto-generated from field metadata
-- Grain : One row per id
-- Notes : Auto-generated skeleton for NetSuite data landed in your lakehouse from a SuiteAnalytics Connect (or SuiteQL) extract — it never addresses live NetSuite. Identifiers are lowercase as NetSuite2.com renders them. Select-type columns hold numeric internal ids: BUILTIN.DF() display resolution exists only at extraction time, so decode ids by joining the landed list records; see quirks #display-values. Check-box columns arrive as 'T'/'F' strings; see quirks #tf-booleans.
-- ============================================================
SELECT
t.id AS "Internal ID",
t.name AS "Subsidiary name",
t.fullname AS "Full hierarchical name",
t.legalname AS "Legal name",
t.parent AS "Parent subsidiary (internal id)",
t.currency AS "Base currency (internal id)",
t.country AS "Country (internal id)",
t.state AS "State or province text",
t.dropdownstate AS "State or province (internal id)",
t.edition AS "NetSuite edition (internal id)",
t.fiscalcalendar AS "Fiscal calendar (internal id)",
t.languagelocale AS "Language locale (internal id)",
t.iselimination AS "Elimination subsidiary", -- 'T'/'F' string — compare = 'T', or CAST via CASE; see quirks #tf-booleans
t.isinactive AS "Inactive", -- 'T'/'F' string — compare = 'T', or CAST via CASE; see quirks #tf-booleans
t.tranprefix AS "Document number prefix",
t.externalid AS "External ID"
FROM <catalog>.<schema>.subsidiary t
WHERE
1 = 1 -- no partition column on this record; the filters below are optional
-- AND t.id = <id>
-- no lastmodifieddate on this record — there is no watermark column, so incremental extraction must full-refresh it (see quirks #deletes)
ORDER BY t.id;Verified August 2026 · Analytics Browser 2021.1 · corroborated 2025.2
Select columns hold internal ids, not display text — see decoding display values.
Relationships
Diagram of 1-hop neighbors — join details below. Document-link edges are highlighted; they chain one document to the next and are the joins newcomers most often get wrong.
Join details
ON transactionline.subsidiary = subsidiary.idON customersubsidiaryrelationship.subsidiary = subsidiary.idON vendorsubsidiaryrelationship.subsidiary = subsidiary.idON itemvendor.subsidiary = subsidiary.idON itemsubsidiarymap.subsidiary = subsidiary.idON fulfillmentrequest.subsidiary = subsidiary.idON subsidiary.currency = currency.id- subsidiarysubsidiaryforeign key · N:1
ON subsidiary1.parent = subsidiary2.id ON consolidatedexchangerate.fromsubsidiary = subsidiary.idON consolidatedexchangerate.tosubsidiary = subsidiary.idON manufacturingrouting.subsidiary = subsidiary.idON manufacturingcosttemplate.subsidiary = subsidiary.idON itemdemandplan.subsidiary = subsidiary.idON itemsupplyplan.subsidiary = subsidiary.idON itemlocationconfiguration.subsidiary = subsidiary.idON budgets.subsidiary = subsidiary.id
More Foundation tables
- accountingbookThe multi-book accounting register: one row per book, with isprimary marking the book most analytics should anchor on.
- accountingperiodThe period calendar: one row per period, hierarchical through parent, with year/quarter/adjustment flags and the close and lock state that governs what can still post.
- classificationThe class segment: one row per class, hierarchical through parent. The analytics id is classification; the NetSuite UI calls it "Class".
- consolidatedexchangeratePeriod consolidation rates: one row per accounting book, posting period and from/to subsidiary pair, carrying the current, average and historical rate flavors side by side.
- currencyThe currency list: one row per currency the account transacts in, with precision, base/anchor flags and a default rate.
- currencyrateDated transaction exchange rates: one row per base-currency / transaction-currency pair per effective date, with a rate type.