CST_COST_ORG_BOOKS
Product: CSTcontrolThe cost org + book association — the working grain of Fusion costing, carrying the ledger, currency, calendar, and whether accounting is created for the combination
PRIMARY_BOOK_FLAG = 'Y' marks the book tied to the primary ledger — the filter that stops double-counting, since transactions explode once per org-book. A NULL LEDGER_ID means a ledger-less simulation book. There is no cost-method column here; methods come from cost profiles.
What the badges mean
- master
- Data class: what the table holds — master data, transaction documents, control/configuration, interface/staging, or a documented view.
Extract access
The delivered surfaces that reach this table — the BICC extract data store (PVO) for bulk extraction and the OTBI subject areas for real-time queries. There is no SQL path to the SaaS database.
- FscmTopModelAM.ScmExtractAM.CstBiccExtractAM.CostOrgBooksExtractPVO
Cost Organization Books data store — keyed on CostOrgId + CostBookId.
Oracle data-store documentation →
Fields
12 fields · 2 key
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | COST_ORG_ID | The cost organization | NUMBER | Key |
| 2 | COST_BOOK_ID | The cost book attached to it | NUMBER | Key |
| 3 | LEDGER_ID | GL ledger for the org-book — NULL means a ledger-less simulation book | NUMBER | |
| 4 | PRIMARY_BOOK_FLAG | Y = tied to the primary ledger — the double-count filter | VARCHAR2 | |
| 5 | CURRENCY_CODE | Costing currency | VARCHAR2 | |
| 6 | CALENDAR_ID | Accounting calendar | NUMBER | |
| 7 | CONVERSION_TYPE | Currency conversion rate type | VARCHAR2 | |
| 8 | FROM_DATE | Association validity start | DATE | |
| 9 | TO_DATE | Association validity end | DATE | |
| 10 | CREATE_ACCOUNTING_FLAG | Whether subledger entries are created for this book | VARCHAR2 | |
| 11 | FIRST_LEDGER_PERIOD_NAME | First open costing period | VARCHAR2 | |
| 12 | OPEN_PERIODS_NUM | Maximum concurrent open periods | NUMBER |
Field provenance: hand-curated. 2 key fields.
Boilerplate SQL
Starting point for reading the BICC-landed copy of CST_COST_ORG_BOOKSon Databricks — real DATE columns need no conversion, and the org anchor and the LAST_UPDATE_DATE watermark (the column incremental BICC extracts key on) are already in place. Set your Unity Catalog location, schema, and org values below; they’re substituted into the SQL and the copy button.
-- ============================================================
-- Table : CST_COST_ORG_BOOKS — The cost org + book association — the working grain of Fusion costing, carrying the ledger, currency, calendar, and whether accounting is created for the combination
-- Purpose: Column-selected read of CST_COST_ORG_BOOKS — auto-generated from field metadata
-- Grain : One row per COST_ORG_ID + COST_BOOK_ID
-- Notes : Auto-generated skeleton for Oracle Fusion Cloud data landed in your lakehouse by a BICC extract — there is no SQL path to the SaaS database. Column names follow Oracle's table documentation — if your landed data still carries PVO attribute headers, map names first; see quirks #pvo-drift. Dates are real DATE/TIMESTAMP columns — no conversion needed. WHO audit columns omitted (see the quirks guide); the optional LAST_UPDATE_DATE watermark filter supports incremental extracts.
-- ============================================================
SELECT
t.COST_ORG_ID AS "The cost organization",
t.COST_BOOK_ID AS "The cost book attached to it",
t.LEDGER_ID AS "GL ledger for the org-book — NULL means a ledger-less simulation book",
t.PRIMARY_BOOK_FLAG AS "Y = tied to the primary ledger — the double-count filter",
t.CURRENCY_CODE AS "Costing currency",
t.CALENDAR_ID AS "Accounting calendar",
t.CONVERSION_TYPE AS "Currency conversion rate type",
t.FROM_DATE AS "Association validity start",
t.TO_DATE AS "Association validity end",
t.CREATE_ACCOUNTING_FLAG AS "Whether subledger entries are created for this book",
t.FIRST_LEDGER_PERIOD_NAME AS "First open costing period",
t.OPEN_PERIODS_NUM AS "Maximum concurrent open periods"
FROM <catalog>.<schema>.CST_COST_ORG_BOOKS t
WHERE
1 = 1 -- no partition column on this table; the filters below are optional
-- AND t.COST_ORG_ID = <COST_ORG_ID>
-- AND t.COST_BOOK_ID = <COST_BOOK_ID>
-- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>' -- the column incremental BICC extracts key on
ORDER BY t.COST_ORG_ID;5 parameters not filled: <catalog>, <schema>, <COST_ORG_ID>, <COST_BOOK_ID>, <watermark>
Relationships
1-hop neighbors — click a table to navigate there. FND lookup decode and translation edges are highlighted; they’re the joins newcomers most often get wrong.
Join details
ON CST_COST_ORG_BOOKS.COST_BOOK_ID = CST_COST_BOOKS_B.COST_BOOK_IDON CST_COST_ORG_BOOKS.COST_ORG_ID = CST_COST_ORGS_V.COST_ORG_IDON CST_COST_ORG_BOOKS.LEDGER_ID = GL_LEDGERS.LEDGER_IDON CST_STD_COSTS.COST_ORG_ID = CST_COST_ORG_BOOKS.COST_ORG_ID AND CST_STD_COSTS.COST_BOOK_ID = CST_COST_ORG_BOOKS.COST_BOOK_IDON CST_COST_DISTRIBUTIONS.COST_ORGANIZATION_ID = CST_COST_ORG_BOOKS.COST_ORG_ID AND CST_COST_DISTRIBUTIONS.COST_BOOK_ID = CST_COST_ORG_BOOKS.COST_BOOK_ID