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
- 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.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 →
Fields
12 fields · 1 key
| # | 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_Von 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 : 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 partition column 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;4 parameters not filled: <catalog>, <schema>, <BU_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 FUN_ALL_BUSINESS_UNITS_V.BU_ID = HR_ALL_ORGANIZATION_UNITS_F.ORGANIZATION_IDON 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_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.