Search Results hr_establishments_v
Overview
HR_ESTABLISHMENTS_V is a PL/SQL view owned by the APPS schema in Oracle E-Business Suite, validated in both 12.1.1 and 12.2.2. It belongs to the PER (Human Resources) product family and, according to ETRM metadata, exists primarily "to support user interface" functionality. In practice the view presents a denormalized, establishment-centric projection of organization data, exposing attributes required by the Establishment and EEO-1 / VETS-100 reporting setup forms in Oracle HRMS. Rather than requiring callers to join the organization units table to multiple rows of the generic HR_ORGANIZATION_INFORMATION structure, the view performs those joins internally and pivots the required descriptive flexfield segments into named columns, simplifying both form-level and reporting access.
Underlying Base Objects
The view is defined over HR_ORGANIZATION_UNITS (exposed through the HR_ALL_ORGANIZATION_UNITS synonym) and three aliased references to HR_ORGANIZATION_INFORMATION (documented as the HR_ORGANIZATION_INFORMATION synonym). Joined by ORGANIZATION_ID, the query returns one row per organization classified as an establishment. The driving filter is applied through the O2 instance, where ORG_INFORMATION_CONTEXT concatenated with a null string equals 'CLASS', ORG_INFORMATION1 equals 'HR_ESTAB', and ORG_INFORMATION2 equals 'Y'. The O3 and O4 instances supply EEO-1 and VETS-100 filing attributes respectively, joined via outer joins and constrained by the contexts 'ESTABLISHMENT EEO-1 FILING' and 'ESTABLISHMENT VETS-100 FILING'. Because these two joins are outer, an establishment without EEO-1 or VETS-100 details is still returned; the CLASS join to O2 is inner, so only organizations explicitly flagged as establishments qualify.
Key Columns
- ESTABLISHMENT_ID — the organization identifier of the establishment; the primary join key for the view.
- BUSINESS_GROUP_ID — the business group that owns the establishment, returned with a zero offset in the select list.
- NAME, DATE_FROM, DATE_TO, TYPE, INTERNAL_ADDRESS_LINE, COMMENTS, LOCATION_ID — standard organization unit attributes carried from HR_ORGANIZATION_UNITS.
- EEO1_UNIT_NUMBER, EEO1_REPORTING_NAME — EEO-1 filing unit and reporting name drawn from the O3 organization information rows.
- VETS100_UNIT_NUMBER, VETS100_REPORTING_NAME — VETS-100 filing attributes drawn from the O4 organization information rows.
- SIC, ACTIVITY_LINE1–ACTIVITY_LINE4 — standard industrial classification and activity descriptions associated with the establishment.
- APPRENTICES_EMPLOYED, NEW_ESTABLISHMENT — establishment-level reporting flags relevant to regulatory filings.
Common Use Cases and Queries
The most frequent use is a direct lookup of establishment header and filing data by organization or business group, particularly for EEO-1 and VETS-100 preparation. A representative query is:
SELECT establishment_id, name, eeo1_unit_number, vets100_unit_number, sic FROM apps.hr_establishments_v WHERE business_group_id = :p_business_group_id;SELECT establishment_id, name, location_id, date_from, date_to FROM apps.hr_establishments_v WHERE establishment_id = :p_org_id;SELECT business_group_id, COUNT(*) FROM apps.hr_establishments_v GROUP BY business_group_id;
Because the view encapsulates the establishment classification filter, consumers avoid reproducing the ORG_INFORMATION_CONTEXT logic. Note that, as with most HRMS views, row-level security through business group and security profiles applies, and only establishments with an active CLASS row of HR_ESTAB / Y are returned.
-
View: HR_ESTABLISHMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ESTABLISHMENTS_V, object_name:HR_ESTABLISHMENTS_V, status:VALID, product: PER - Human Resources , description: Used to support user interface , implementation_dba_data: APPS.HR_ESTABLISHMENTS_V ,
-
View: HR_ESTABLISHMENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ESTABLISHMENTS_V, object_name:HR_ESTABLISHMENTS_V, status:VALID, product: PER - Human Resources , description: Used to support user interface , implementation_dba_data: APPS.HR_ESTABLISHMENTS_V ,
-
SYNONYM: PUBLIC.HR_ESTABLISHMENTS_V
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:HR_ESTABLISHMENTS_V, status:VALID,
-
VIEW: APPS.HR_ESTABLISHMENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ESTABLISHMENTS_V, object_name:HR_ESTABLISHMENTS_V, status:VALID,
-
PACKAGE: APPS.PER_US_VETC_TAP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PER_US_VETC_TAP, status:VALID,
-
PACKAGE BODY: APPS.HR_SCL_FLEX
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_SCL_FLEX, status:VALID,
-
PACKAGE BODY: APPS.HR_US_REPORTS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_US_REPORTS, status:VALID,
-
PACKAGE: APPS.PER_US_VETC_TAP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PER_US_VETC_TAP, status:VALID,
-
PACKAGE BODY: APPS.HR_SCL_FLEX
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_SCL_FLEX, status:VALID,
-
PACKAGE BODY: APPS.HR_US_REPORTS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_US_REPORTS, status:VALID,
-
PACKAGE: APPS.HR_PERSON_RECORD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_PERSON_RECORD, status:VALID,
-
PACKAGE: APPS.HR_PERSON_RECORD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_PERSON_RECORD, status:VALID,
-
PACKAGE BODY: APPS.HR_PERSON_RECORD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_PERSON_RECORD, status:VALID,
-
PACKAGE BODY: APPS.HR_PERSON_RECORD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_PERSON_RECORD, status:VALID,
-
PACKAGE BODY: APPS.HR_PUMP_GET
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_PUMP_GET, status:VALID,
-
PACKAGE BODY: APPS.HR_PUMP_GET
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_PUMP_GET, status:VALID,
-
VIEW: APPS.HR_ESTABLISHMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ESTABLISHMENTS_V, object_name:HR_ESTABLISHMENTS_V, status:VALID,
-
APPS.HR_SCL_FLEX SQL Statements
12.1.1
-
APPS.HR_SCL_FLEX SQL Statements
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
PACKAGE: APPS.PER_US_VETC_TAP
12.2.2
-
PACKAGE: APPS.PER_US_VETC_TAP
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
APPS.HR_PERSON_RECORD dependencies on HR_ESTABLISHMENTS_V
12.1.1
-
APPS.HR_SCL_FLEX dependencies on HR_ESTABLISHMENTS_V
12.1.1
-
APPS.HR_SCL_FLEX dependencies on HR_ESTABLISHMENTS_V
12.2.2
-
APPS.HR_PERSON_RECORD dependencies on HR_ESTABLISHMENTS_V
12.2.2
-
APPS.HR_PUMP_GET dependencies on HR_ESTABLISHMENTS_V
12.1.1
-
APPS.PER_US_VETC_TAP dependencies on HR_ESTABLISHMENTS_V
12.1.1
-
APPS.HR_PUMP_GET dependencies on HR_ESTABLISHMENTS_V
12.2.2
-
APPS.HR_PERSON_RECORD dependencies on HR_ESTABLISHMENTS_V
12.1.1
-
APPS.HR_US_REPORTS dependencies on HR_ESTABLISHMENTS_V
12.2.2
-
APPS.HR_US_REPORTS dependencies on HR_ESTABLISHMENTS_V
12.1.1
-
APPS.HR_PERSON_RECORD dependencies on HR_ESTABLISHMENTS_V
12.2.2
-
APPS.PER_US_VETC_TAP dependencies on HR_ESTABLISHMENTS_V
12.2.2
-
APPS.HR_US_REPORTS SQL Statements
12.1.1
-
APPS.HR_US_REPORTS SQL Statements
12.2.2
-
APPS.PER_US_VETC_TAP dependencies on HR_ORGANIZATION_UNITS
12.2.2
-
APPS.PER_US_VETC_TAP dependencies on HR_ORGANIZATION_UNITS
12.1.1
-
APPS.PER_US_VETC_TAP dependencies on PAY_STATE_RULES
12.1.1
-
APPS.PER_US_VETC_TAP dependencies on PAY_STATE_RULES
12.2.2
-
APPS.PER_US_VETC_TAP dependencies on HR_LOCATIONS
12.2.2
-
APPS.PER_US_VETC_TAP dependencies on HR_LOCATIONS
12.1.1
-
APPS.PER_US_VETC_TAP dependencies on HR_TAX_UNITS_V
12.1.1
-
APPS.PER_US_VETC_TAP dependencies on HR_TAX_UNITS_V
12.2.2
-
APPS.HR_PERSON_RECORD dependencies on PER_COLLECTIVE_AGREEMENTS
12.2.2
-
APPS.HR_PERSON_RECORD dependencies on PER_COLLECTIVE_AGREEMENTS
12.1.1
-
PACKAGE BODY: APPS.HR_US_REPORTS
12.1.1
-
APPS.HR_PUMP_GET SQL Statements
12.2.2
-
APPS.HR_PUMP_GET SQL Statements
12.1.1