Search Results operating_unit_name
Overview
JG_ZZ_OPERATING_UNITS_V is a read-only database view belonging to the JG (Regional Localizations) product family in Oracle E-Business Suite. Its purpose is to present a consolidated, query-friendly list of operating units available in the E-Business Suite instance, exposing the operating unit name alongside its associated location identifier and location code. The view is typically consumed by localization reporting, user-facing list of values (LOVs), and integration routines that need a lightweight enumeration of operating units without joining the underlying HR and GL tables directly. Because the JG product family supports country-specific and regional statutory requirements, this view serves as a convenience layer over core HR and General Ledger reference data.
According to the ETRM metadata for 12.2.2, the view is documented as "Not implemented in this database" in the underlying implementation/DBA data, meaning that in a standard installation the object may not be deployed until the relevant JG localization patch or legislative data is applied. Its owner is not documented and no base objects are formally registered in the metadata, so the definition must be read from the view text itself.
Underlying Base Objects
The view text reveals a UNION of two SELECT statements drawn from core EBS tables:
- HR_ALL_ORGANIZATION_UNITS (alias ORG) — provides the organization definition and LOCATION_ID.
- HR_OPERATING_UNITS (alias OPER) — identifies which organizations are classified as operating units and supplies the NAME.
- HR_LOCATIONS (alias LOC) — supplies the LOCATION_CODE for the location.
- GL_LOOKUPS — used in the second branch of the UNION to supply a placeholder "N/A" row when LOOKUP_TYPE = 'LITERAL' and LOOKUP_CODE = 'N/A'.
The join condition is ORG.ORGANIZATION_ID = OPER.ORGANIZATION_ID and ORG.LOCATION_ID = LOC.LOCATION_ID. The UNION with GL_LOOKUPS produces a synthetic row with LOCATION_ID = -100 and a NULL LOCATION_CODE, enabling consumers to represent an "unassigned" or "not applicable" operating unit selection.
Key Columns
- OPERATING_UNIT_NAME — The name of the operating unit, sourced from HR_OPERATING_UNITS.NAME in the primary branch (or the lookup MEANING 'N/A' in the synthetic row). This is the column most frequently searched, since it matches the user search term "operating_unit_name".
- LOCATION_ID — The surrogate key to HR_LOCATIONS.LOCATION_ID identifying the physical or business address associated with the operating unit. The synthetic row uses -100.
- LOCATION_CODE — The human-readable short code from HR_LOCATIONS.LOCATION_CODE, handy for reports where a compact location reference is preferred. It is NULL for the synthetic N/A row.
Common Use Cases and Queries
Typical scenarios include populating operating unit selection lists in concurrent program parameters, validating operating unit names in localization reports, and joining to transactional tables that store only the ORG_ID.
SELECT operating_unit_name,
location_id,
location_code
FROM jg_zz_operating_units_v
WHERE operating_unit_name = :p_ou_name;
SELECT ou.operating_unit_name,
ou.location_code,
hou.organization_id
FROM jg_zz_operating_units_v ou,
hr_operating_units hou
WHERE hou.name = ou.operating_unit_name(+);
Because the view is not registered in the ETRM metadata as implemented, DBAs should confirm existence with ALL_VIEWS before referencing it in custom code, and fall back to direct queries against HR_OPERATING_UNITS and HR_LOCATIONS when it is absent.
-
View: JG_ZZ_OPERATING_UNITS_V
12.1.1
product: JG - Regional Localizations , implementation_dba_data: Not implemented in this database ,
-
View: JG_ZZ_OPERATING_UNITS_V
12.2.2
product: JG - Regional Localizations , implementation_dba_data: Not implemented in this database ,