Skip to content
EBS Reference

HR_ALL_ORGANIZATION_UNITS

Schema: HRmasterPer inventory org

The master list of every organization unit of every classification — business groups, legal entities, operating units, inventory organizations, HR organizations — across all business groups; classification detail lives in HR_ORGANIZATION_INFORMATION

Module: FoundationInventory-org partitioned (ORGANIZATION_ID)
Notes

Naming trap: the "_ALL" suffix here means all BUSINESS GROUPS, not operating-unit striping — there is no ORG_ID column on this table. The ORGANIZATION_ID it carries is the primary key every org-shaped id in EBS (including operating-unit ORG_ID values) resolves to.

What the badges mean
master
Data class: what the table holds — master data, transaction documents, control/configuration, interface/staging, or an APPS-schema view.
In field listings, K marks a primary-key field.

Fields

8 fields · 1 key

Table fields: position, field name, description, data type, and flags. 8 fields.
#FieldDescriptionTypeFlags
1ORGANIZATION_IDThe organization unit's key — the id every org-shaped reference in EBS ultimately resolves toNUMBER
Key
2BUSINESS_GROUP_IDThe business group the org belongs toNUMBER
3NAMEOrganization nameVARCHAR2
4DATE_FROMEffectivity start dateDATE
5DATE_TOEffectivity end date — NULL while activeDATE
6LOCATION_IDThe org's physical location recordNUMBER
7TYPEUser-defined organization type codeVARCHAR2
8INTERNAL_EXTERNAL_FLAGInternal vs external organizationVARCHAR2

Field provenance: hand-curated. 1 key field.

Boilerplate SQL

Starting point for reading HR_ALL_ORGANIZATION_UNITSon Databricks — real DATE columns need no conversion, and the org anchor and the LAST_UPDATE_DATE watermark are already in place. Set your Unity Catalog location, schema, and org values below; they’re substituted into the SQL and the copy button.

Query parameters
-- ============================================================
-- Table  : HR_ALL_ORGANIZATION_UNITS — The master list of every organization unit of every classification — business groups, legal entities, operating units, inventory organizations, HR organizations — across all business groups; classification detail lives in HR_ORGANIZATION_INFORMATION
-- Purpose: Column-selected read of HR_ALL_ORGANIZATION_UNITS — auto-generated from field metadata
-- Grain  : One row per inventory org (ORGANIZATION_ID) — see the Fields section for the full key
-- Notes  : Auto-generated skeleton for Oracle EBS R12 data landed in your lakehouse. 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.ORGANIZATION_ID AS "The organization unit's key — the id every org-shaped reference in EBS ultimately resolves to",
  t.BUSINESS_GROUP_ID AS "The business group the org belongs to",
  t.NAME AS "Organization name",
  t.DATE_FROM AS "Effectivity start date",
  t.DATE_TO AS "Effectivity end date — NULL while active",
  t.LOCATION_ID AS "The org's physical location record",
  t.TYPE AS "User-defined organization type code",
  t.INTERNAL_EXTERNAL_FLAG AS "Internal vs external organization"
FROM <catalog>.<schema>.HR_ALL_ORGANIZATION_UNITS t
WHERE
  t.ORGANIZATION_ID = <inventory_org_id>  -- inventory org, NOT the operating unit — see quirks guide #two-orgs
  -- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>'  -- WHO watermark, bulk-stamped by batch jobs; see quirks guide #who-columns
ORDER BY t.ORGANIZATION_ID;

4 parameters not filled: <catalog>, <schema>, <inventory_org_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

  • HR_ORGANIZATION_INFORMATIONHR_ALL_ORGANIZATION_UNITSforeign key · N:1
    ON HR_ORGANIZATION_INFORMATION.ORGANIZATION_ID = HR_ALL_ORGANIZATION_UNITS.ORGANIZATION_ID
  • HR_OPERATING_UNITSHR_ALL_ORGANIZATION_UNITSforeign key · 1:1
    ON HR_OPERATING_UNITS.ORGANIZATION_ID = HR_ALL_ORGANIZATION_UNITS.ORGANIZATION_ID
  • ORG_ORGANIZATION_DEFINITIONSHR_ALL_ORGANIZATION_UNITSforeign key · 1:1
    ON ORG_ORGANIZATION_DEFINITIONS.ORGANIZATION_ID = HR_ALL_ORGANIZATION_UNITS.ORGANIZATION_ID
  • MTL_PARAMETERSHR_ALL_ORGANIZATION_UNITSforeign key · 1:1
    ON MTL_PARAMETERS.ORGANIZATION_ID = HR_ALL_ORGANIZATION_UNITS.ORGANIZATION_ID

Browse more Foundationtables →

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. Oracle and Oracle E-Business Suite are registered trademarks of Oracle and/or its affiliates.