FUN_ALL_BUSINESS_UNITS_V
Product: FUNviewViewThe delivered view that enumerates business units — the BU domain later waves' documents stripe on — with the legal entity, primary ledger, and default set each BU resolves to
A view over the HR org tables filtered to the business-unit classification and to TODAY's date-effective row — historical BU slices are invisible through it. LEGAL_ENTITY_ID, PRIMARY_LEDGER_ID, and DEFAULT_SET_ID are read out of generic attribute columns and arrive as text — cast before joining GL_LEDGERS. SHORT_CODE is vestigial: the view's own SQL selects the BU name into it.
What the badges mean
- Product: EGP
- Product: the Oracle product family that owns the object — the short code Oracle's Tables and Views documentation lists as the object owner. Fusion is SaaS, so this isn't a database schema; there's no SQL path to the tables at all (see the quirks guide).
- master
- Data class: what the table holds — master data, transaction documents, control/configuration, interface/staging, or a documented view.
- BU-striped (ORG_ID)
- Rows are scoped to a business unit. The column is still named
ORG_ID, but in Fusion it means business unit, not the EBS operating unit — treat any migrated “operating unit” filter as suspect (see the quirks guide). - Per inventory org
- Rows are scoped to an inventory organization via
ORGANIZATION_ID— always pair it withINVENTORY_ITEM_IDon item-level joins (see the quirks guide). - Set / ledger / named-BU striped
- Some tables stripe by a named column instead of
ORG_ID: reference data set (SET_ID— see the quirks guide), ledger (LEDGER_IDon the GL journal tables), or a named business-unit column (PRC_BU_ID/REQ_BU_IDin procurement). The table page’s partition line names the column, and the generated SQL anchors on it — never treat these tables as unpartitioned. - Language-striped
- The table carries a
LANGUAGEcolumn (a _TL translation table or FND_LOOKUP_VALUES) — one row per language. Filter to oneLANGUAGEor a join multiplies rows. - Date-effective
- This is an
_Ftable — one row per entity per effectivity window, withEFFECTIVE_START_DATEandEFFECTIVE_END_DATEpart of the key. Join without a window filter and every fact multiplies by history (see the quirks guide). - View
- This is a documented convenience view, not a physical table. Extract through the BICC data store that fronts its base objects instead of assuming the view lands as-is.
Structural facts — how the table is partitioned, not a trap by itself
Join & extract hazards — verify before you rely on this
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.FinExtractAM.FunBiccExtractAM.BusinessUnitExtractPVO
Business Units data store from the Financials extract book; fronts the FUN business-unit layer this view reads. In OTBI the business unit appears as a dimension across subject areas, not as its own.
Oracle data-store documentation (opens in new tab)
Fields
12 fields · 1 key
12 fields.
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | BU_ID | The business unit's id — the value later waves' ORG_ID stripes resolve to | NUMBER | Key |
| 2 | BU_NAME | Business unit name (translated) | VARCHAR2 | |
| 3 | STATUS | Active/inactive status from the org classification row | VARCHAR2 | |
| 4 | LEGAL_ENTITY_ID | Associated legal entity — read from a generic attribute column, arrives as text; cast before numeric joins | VARCHAR2 | |
| 5 | PRIMARY_LEDGER_ID | The BU's primary ledger — arrives as text from a generic attribute column; cast before joining GL_LEDGERS | VARCHAR2 | |
| 6 | DEFAULT_SET_ID | Default reference data set — arrives as text from a generic attribute column | VARCHAR2 | |
| 7 | DEFAULT_CURRENCY_CODE | The BU's default currency | VARCHAR2 | |
| 8 | PROFIT_CENTER_FLAG | Profit-center business unit indicator | VARCHAR2 | |
| 9 | BUSINESS_GROUP_ID | Enterprise partition the BU belongs to | NUMBER | |
| 10 | LOCATION_ID | The BU's location record | NUMBER | |
| 11 | DATE_FROM | Effective start of the org slice the view surfaced (today's row only) | DATE | |
| 12 | DATE_TO | Effective end of the org slice the view surfaced | DATE |
Field provenance: hand-curated. 1 key field.
Boilerplate SQL
Starting point for reading the BICC-landed copy of FUN_ALL_BUSINESS_UNITS_V on 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.
4 parameters not filled: <catalog>, <schema>, <BU_ID>, <watermark>
-- ============================================================
-- Table : FUN_ALL_BUSINESS_UNITS_V — The delivered view that enumerates business units — the BU domain later waves' documents stripe on — with the legal entity, primary ledger, and default set each BU resolves to
-- Purpose: Column-selected read of FUN_ALL_BUSINESS_UNITS_V — auto-generated from field metadata
-- Grain : One row per BU_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. Documented view — land its base tables for extraction; see the table notes.
-- ============================================================
SELECT
t.BU_ID AS "The business unit's id — the value later waves' ORG_ID stripes resolve to",
t.BU_NAME AS "Business unit name (translated)",
t.STATUS AS "Active/inactive status from the org classification row",
t.LEGAL_ENTITY_ID AS "Associated legal entity — read from a generic attribute column, arrives as text; cast before numeric joins",
t.PRIMARY_LEDGER_ID AS "The BU's primary ledger — arrives as text from a generic attribute column; cast before joining GL_LEDGERS",
t.DEFAULT_SET_ID AS "Default reference data set — arrives as text from a generic attribute column",
t.DEFAULT_CURRENCY_CODE AS "The BU's default currency",
t.PROFIT_CENTER_FLAG AS "Profit-center business unit indicator",
t.BUSINESS_GROUP_ID AS "Enterprise partition the BU belongs to",
t.LOCATION_ID AS "The BU's location record",
t.DATE_FROM AS "Effective start of the org slice the view surfaced (today's row only)",
t.DATE_TO AS "Effective end of the org slice the view surfaced"
FROM <catalog>.<schema>.FUN_ALL_BUSINESS_UNITS_V t
WHERE
1 = 1 -- no automatic partition anchor on this table; the filters below are optional
-- AND t.BU_ID = <BU_ID>
-- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>' -- the column incremental BICC extracts key on
ORDER BY t.BU_ID;Verified September 2026 · docs release 26C
Column names differ in BICC extracts — see PVO header drift.
Relationships
Diagram of 1-hop neighbors — join details below. FND lookup decode and translation edges are highlighted; they’re the joins newcomers most often get wrong.
Join details
ON FUN_ALL_BUSINESS_UNITS_V.BU_ID = HR_ALL_ORGANIZATION_UNITS_F.ORGANIZATION_ID AND CURRENT_DATE BETWEEN HR_ALL_ORGANIZATION_UNITS_F.EFFECTIVE_START_DATE AND HR_ALL_ORGANIZATION_UNITS_F.EFFECTIVE_END_DATE -- For outer joins, prefilter date-effective inputs (HR_ALL_ORGANIZATION_UNITS_F) in CTEs/subqueries. ON restricts matches but does not remove unmatched historical rows from preserved inputs.ON INV_ORG_PARAMETERS.BUSINESS_UNIT_ID = FUN_ALL_BUSINESS_UNITS_V.BU_IDON INV_TRANSFER_ORDER_HEADERS.REQ_BU_ID = FUN_ALL_BUSINESS_UNITS_V.BU_IDON DOO_HEADERS_ALL.ORG_ID = FUN_ALL_BUSINESS_UNITS_V.BU_IDON WSH_DELIVERY_DETAILS.ORG_ID = FUN_ALL_BUSINESS_UNITS_V.BU_IDON PO_HEADERS_ALL.PRC_BU_ID = FUN_ALL_BUSINESS_UNITS_V.BU_IDON POR_REQUISITION_HEADERS_ALL.REQ_BU_ID = FUN_ALL_BUSINESS_UNITS_V.BU_IDON POZ_SUPPLIER_SITES_ALL_M.PRC_BU_ID = FUN_ALL_BUSINESS_UNITS_V.BU_IDON RA_CUSTOMER_TRX_ALL.ORG_ID = FUN_ALL_BUSINESS_UNITS_V.BU_IDON AP_INVOICES_ALL.ORG_ID = FUN_ALL_BUSINESS_UNITS_V.BU_ID
FUN_ALL_BUSINESS_UNITS_V is a documented convenience view. Extract through the BICC data store that fronts its base objects instead of assuming the view lands as-is — see the table notes for where the physical rows live.
More Foundation tables
- GL_CODE_COMBINATIONSEvery chart-of-accounts segment combination (CCID) stored once — the account string behind each SEGMENTn set; accounting distributions and journal lines reference accounts through CODE_COMBINATION_ID
- GL_LEDGERSOne row per ledger — currency, calendar, chart of accounts, and accounting convention; the ledger context business units and subledgers resolve to
- HR_ALL_ORGANIZATION_UNITS_FThe date-effective master list of every organization unit — business units, inventory orgs, departments, and legal-entity org rows all resolve their ids here, one row per org per effectivity window
- INV_ORG_PARAMETERSInventory organization parameters — one row per inventory org, holding the short org code, the item-master org it points to, its business unit and legal entity, and the org's locator/lot/serial control defaults; the org list every ORGANIZATION_ID resolves against
- FND_LOOKUP_VALUESThe generic lookup view — every seeded and user-defined code list (lookup type + code) with its meaning and description, one row per code per installed language; the decode target for coded columns across every module