DOO_ORDER_CHARGE_COMPONENTS
Product: DOOtransactionThe price-waterfall detail — one row per price element (list price, discounts, net price, margin) under each charge, carrying the actual amounts in both charge and header currency
Filter PRICE_ELEMENT_CODE (e.g. net price) rather than summing everything, and exclude ROLLUP_FLAG rows — the waterfall double-counts otherwise
Amount column names are abbreviated — CHARGE_CURRENCY_EXT_AMOUNT and CHARGE_CURR_DURATION_EXT_AMT, not *_EXTENDED_AMOUNT. Every amount exists twice (charge currency and header currency) — pick one side consistently.
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.DooBiccExtractAM.OrderChargeComponentExtractPVO
Order Charge Components data store — keyed on OrderChargeComponentId; the waterfall amounts live here.
Oracle data-store documentation →
Fields
15 fields · 1 key
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | ORDER_CHARGE_COMPONENT_ID | Surrogate key of the waterfall component | NUMBER | Key |
| 2 | ORDER_CHARGE_ID | Parent charge | NUMBER | |
| 3 | SEQUENCE_NUMBER | Waterfall sequence | NUMBER | |
| 4 | PRICE_ELEMENT_CODE | Waterfall element — list price, net price, margin…; filter this rather than summing everything | VARCHAR2 | |
| 5 | PRICE_ELEMENT_USAGE_CODE | How the component is used (list price, invoice price…) | VARCHAR2 | |
| 6 | CHARGE_CURRENCY_CODE | Currency of the charge-side amounts | VARCHAR2 | |
| 7 | CHARGE_CURRENCY_UNIT_PRICE | Per-unit price or adjustment in charge currency | NUMBER | |
| 8 | CHARGE_CURRENCY_EXT_AMOUNT | Extended amount in charge currency — note the abbreviated EXT_AMOUNT spelling | NUMBER | |
| 9 | HEADER_CURRENCY_CODE | Currency of the order header | VARCHAR2 | |
| 10 | HEADER_CURRENCY_UNIT_PRICE | Per-unit price or adjustment in header currency | NUMBER | |
| 11 | HEADER_CURRENCY_EXT_AMOUNT | Extended amount in header currency — every amount exists on both currency sides | NUMBER | |
| 12 | PERCENT_OF_COMPARISON_ELEMENT | This price as a percent of a basis element (default list price) — margin math | NUMBER | |
| 13 | ROLLUP_FLAG | Marks a rollup/aggregate component — exclude before summing | VARCHAR2 | |
| 14 | TAX_INCLUDED_FLAG | Whether tax is embedded in the price | VARCHAR2 | |
| 15 | PARENT_CHARGE_COMPONENT_ID | Contributing component under a rollup charge | NUMBER |
Field provenance: hand-curated. 1 key field.
Boilerplate SQL
Starting point for reading the BICC-landed copy of DOO_ORDER_CHARGE_COMPONENTSon 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 : DOO_ORDER_CHARGE_COMPONENTS — The price-waterfall detail — one row per price element (list price, discounts, net price, margin) under each charge, carrying the actual amounts in both charge and header currency
-- Purpose: Column-selected read of DOO_ORDER_CHARGE_COMPONENTS — auto-generated from field metadata
-- Grain : One row per ORDER_CHARGE_COMPONENT_ID
-- Caution: Filter PRICE_ELEMENT_CODE (e.g. net price) rather than summing everything, and exclude ROLLUP_FLAG rows — the waterfall double-counts otherwise
-- 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.ORDER_CHARGE_COMPONENT_ID AS "Surrogate key of the waterfall component",
t.ORDER_CHARGE_ID AS "Parent charge",
t.SEQUENCE_NUMBER AS "Waterfall sequence",
t.PRICE_ELEMENT_CODE AS "Waterfall element — list price, net price, margin…; filter this rather than summing everything",
t.PRICE_ELEMENT_USAGE_CODE AS "How the component is used (list price, invoice price…)",
t.CHARGE_CURRENCY_CODE AS "Currency of the charge-side amounts",
t.CHARGE_CURRENCY_UNIT_PRICE AS "Per-unit price or adjustment in charge currency",
t.CHARGE_CURRENCY_EXT_AMOUNT AS "Extended amount in charge currency — note the abbreviated EXT_AMOUNT spelling",
t.HEADER_CURRENCY_CODE AS "Currency of the order header",
t.HEADER_CURRENCY_UNIT_PRICE AS "Per-unit price or adjustment in header currency",
t.HEADER_CURRENCY_EXT_AMOUNT AS "Extended amount in header currency — every amount exists on both currency sides",
t.PERCENT_OF_COMPARISON_ELEMENT AS "This price as a percent of a basis element (default list price) — margin math",
t.ROLLUP_FLAG AS "Marks a rollup/aggregate component — exclude before summing",
t.TAX_INCLUDED_FLAG AS "Whether tax is embedded in the price",
t.PARENT_CHARGE_COMPONENT_ID AS "Contributing component under a rollup charge"
FROM <catalog>.<schema>.DOO_ORDER_CHARGE_COMPONENTS t
WHERE
1 = 1 -- no partition column on this table; the filters below are optional
-- AND t.ORDER_CHARGE_COMPONENT_ID = <ORDER_CHARGE_COMPONENT_ID>
-- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>' -- the column incremental BICC extracts key on
ORDER BY t.ORDER_CHARGE_COMPONENT_ID;4 parameters not filled: <catalog>, <schema>, <ORDER_CHARGE_COMPONENT_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 DOO_ORDER_CHARGE_COMPONENTS.ORDER_CHARGE_ID = DOO_ORDER_CHARGES.ORDER_CHARGE_ID