Skip to content
NetSuite Reference

consolidatedexchangerate

control

Period 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.

Module: FoundationNo partition column
Grain note

three rate columns, not three rows — pick currentrate, averagerate or historicalrate deliberately per measure (balance-sheet vs P&L vs equity); see quirks #oneworld.

Notes

This is the table consolidation actually uses; currencyrate is the daily transaction rate and is not interchangeable with it.

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.

Structural facts — how the record is partitioned, not a trap by itself

Subsidiary-scoped
The record carries a subsidiary column 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 location column — an org segment in NetSuite before it is a warehouse — and the generated SQL anchors it the same way.

Join & extract hazards — verify before you rely on this

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.
In field listings, the Key chip marks a primary-key field, and the T/F chip marks a check-box column Connect returns as a 'T'/'F' string.

Fields

11 fields · 5 key

11 fields.

Table fields: position, field name, description, data type, and flags. 11 fields.
#FieldDescriptionTypeFlags
1idInternal IDNUMBER
Primary-key field
2accountingbookAccounting book (internal id)NUMBER
Primary-key field
3postingperiodPosting period (internal id)NUMBER
Primary-key field
4fromsubsidiaryFrom subsidiary (internal id)NUMBER
Primary-key field
5tosubsidiaryTo subsidiary (internal id)NUMBER
Primary-key field
6fromcurrencyFrom currency (internal id)NUMBER
7tocurrencyTo currency (internal id)NUMBER
8currentrateCurrent rate — period-end balancesNUMBER
9averagerateAverage rate — period activityNUMBER
10historicalrateHistorical rate — equity and fixed itemsNUMBER
11externalidExternal IDVARCHAR

Field provenance: hand-curated. 5 key fields.

Boilerplate SQL

Starting point for reading the Connect-landed copy of consolidatedexchangerate 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.

Query parameters

7 parameters not filled: <catalog>, <schema>, <id>, <accountingbook>, <postingperiod>, <fromsubsidiary>, <tosubsidiary>

-- ============================================================
-- Table  : consolidatedexchangerate — Period 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.
-- Purpose: Column-selected read of consolidatedexchangerate — auto-generated from field metadata
-- Grain  : One row per id + accountingbook + postingperiod + fromsubsidiary + tosubsidiary
-- Caution: three rate columns, not three rows — pick currentrate, averagerate or historicalrate deliberately per measure (balance-sheet vs P&L vs equity); see quirks #oneworld.
-- 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.accountingbook AS "Accounting book (internal id)",
  t.postingperiod AS "Posting period (internal id)",
  t.fromsubsidiary AS "From subsidiary (internal id)",
  t.tosubsidiary AS "To subsidiary (internal id)",
  t.fromcurrency AS "From currency (internal id)",
  t.tocurrency AS "To currency (internal id)",
  t.currentrate AS "Current rate — period-end balances",
  t.averagerate AS "Average rate — period activity",
  t.historicalrate AS "Historical rate — equity and fixed items",
  t.externalid AS "External ID"
FROM <catalog>.<schema>.consolidatedexchangerate t
WHERE
  1 = 1  -- no partition column on this record; the filters below are optional
  -- AND t.id = <id>
  -- AND t.accountingbook = <accountingbook>
  -- AND t.postingperiod = <postingperiod>
  -- AND t.fromsubsidiary = <fromsubsidiary>
  -- AND t.tosubsidiary = <tosubsidiary>
  -- 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

  • consolidatedexchangerateaccountingbookforeign key · N:1
    ON consolidatedexchangerate.accountingbook = accountingbook.id
  • consolidatedexchangerateaccountingperiodforeign key · N:1
    ON consolidatedexchangerate.postingperiod = accountingperiod.id
  • consolidatedexchangeratesubsidiaryforeign key · N:1
    ON consolidatedexchangerate.fromsubsidiary = subsidiary.id
  • consolidatedexchangeratesubsidiaryforeign key · N:1
    ON consolidatedexchangerate.tosubsidiary = subsidiary.id
  • consolidatedexchangeratecurrencyforeign key · N:1
    ON consolidatedexchangerate.fromcurrency = currency.id
  • consolidatedexchangeratecurrencyforeign key · N:1
    ON consolidatedexchangerate.tocurrency = currency.id

Browse more Foundation tables

More Foundation 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 Oracle or NetSuite. NetSuite is a registered trademark of Oracle and/or its affiliates.