Search Results primary_structure_flag
Overview
HRI_CL_ORG_HRCY_BX_V is a read-only Oracle EBS view owned by the APPS schema and validated against both 12.1.1 and 12.2.2 environments. It belongs to the HRI — Human Resources Intelligence product family, which is documented as obsolete in current ETRM releases but whose objects frequently remain deployed in legacy instances. The view exposes organization hierarchy definitions sourced from PER_ORGANIZATION_STRUCTURES, presenting each structure as a selectable list entry with an identifier, display name, effective date range, owning responsibility, business group, and — most relevant to the search term supplied — a PRIMARY_STRUCTURE_FLAG indicator. In practice, the view functions as a secured list-of-values source for organization hierarchy pickers used by HRMS reporting and integration components. It does not store data; it is a projection over the organization structure table with a security predicate layered on top, and it is defined WITH READ ONLY to signal that no DML is permitted through it.
Underlying Base Objects
The view is defined primarily over PER_ORGANIZATION_STRUCTURES (aliased OST), from which it draws ORGANIZATION_STRUCTURE_ID, NAME, PRIMARY_STRUCTURE_FLAG, and BUSINESS_GROUP_ID. Supporting objects referenced in the ETRM metadata include:
- FND_GLOBAL (package) — supplies RESP_ID for the RESPONSIBILITY_ID column, enabling downstream responsibility-scoped filtering.
- HR_BIS (package) — its GET_SEC_PROFILE_BG_ID function drives the business group security predicate in the WHERE clause.
- HR_GENERAL (package) — provides START_OF_TIME and END_OF_TIME constants for the synthetic DATE_FROM and DATE_TO columns.
- HRI_OLTP_VIEW_SECURITY (package) — the documented security package associated with this view family.
- HRI_CL_ORG_HRCY_N_V (view) — a related sibling view listed among the referenced objects, typically the non-secured or alternate presentation of the same hierarchy data.
The WHERE clause applies NVL and DECODE logic so that rows with a NULL business group resolve to -1, and rows whose business group does not match the security profile result of HR_BIS.GET_SEC_PROFILE_BG_ID are excluded. This means a session only sees structures belonging to its permitted business group, or those with no business group at all.
Key Columns
- ID — maps to ORGANIZATION_STRUCTURE_ID; the unique key for the hierarchy definition.
- VALUE — maps to NAME; the human-readable structure name shown in LOVs and reports.
- DATE_FROM / DATE_TO — populated with HR_GENERAL.START_OF_TIME and END_OF_TIME, deliberately wide bounds rather than true date-tracked values.
- RESPONSIBILITY_ID — the current FND_GLOBAL.RESP_ID at query time.
- PRIMARY_STRUCTURE_FLAG — carries PER_ORGANIZATION_STRUCTURES.PRIMARY_STRUCTURE_FLAG, identifying whether the row represents the primary organization hierarchy for its business group. This is the column referenced by the user's search and is the standard discriminator when a single "main" hierarchy must be selected.
- BUSINESS_GROUP_ID — the owning business group, or NULL when unassigned.
Common Use Cases and Queries
The most frequent requirement is retrieving the primary organization hierarchy for the session's business group:
SELECT id, value, primary_structure_flag FROM apps.hri_cl_org_hrcy_bx_v WHERE primary_structure_flag = 'Y';SELECT id, value FROM apps.hri_cl_org_hrcy_bx_v ORDER BY value;— populates a hierarchy selection list.SELECT DISTINCT business_group_id FROM apps.hri_cl_org_hrcy_bx_v;— confirms which business groups the current responsibility can see.
Because the view is READ ONLY and security-filtered at execution time, results vary by responsibility and business group context; queries should always be executed under the intended application session rather than as a privileged schema user. Given the obsolete status of the HRI product line, consumers should validate behavior on their specific patch level and plan for migration to supported HRMS hierarchy views where feasible.
-
View: HRI_CL_ORG_HRCY_BX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:HRI.HRI_CL_ORG_HRCY_BX_V, object_name:HRI_CL_ORG_HRCY_BX_V, status:VALID, product: HRI - Human Resources Intelligence (Obsolete) , implementation_dba_data: APPS.HRI_CL_ORG_HRCY_BX_V ,
-
View: HRI_CL_ORG_HRCYVRSN_BX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HRI.HRI_CL_ORG_HRCYVRSN_BX_V, object_name:HRI_CL_ORG_HRCYVRSN_BX_V, status:VALID, product: HRI - Human Resources Intelligence , implementation_dba_data: APPS.HRI_CL_ORG_HRCYVRSN_BX_V ,
-
View: HRI_CL_POSITION_HRCYVRSN_BX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HRI.HRI_CL_POSITION_HRCYVRSN_BX_V, object_name:HRI_CL_POSITION_HRCYVRSN_BX_V, status:VALID, product: HRI - Human Resources Intelligence , implementation_dba_data: APPS.HRI_CL_POSITION_HRCYVRSN_BX_V ,
-
VIEW: HR.PER_ORGANIZATION_STRUCTURES#
12.2.2
-
VIEW: APPS.HRI_CL_POS_HRCY_N_V
12.1.1
-
View: HRILV_ORGHVER_BGS_X
12.1.1
product: HRI - Human Resources Intelligence , implementation_dba_data: Not implemented in this database ,
-
View: HRI_CL_ORG_HRCY_BX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HRI.HRI_CL_ORG_HRCY_BX_V, object_name:HRI_CL_ORG_HRCY_BX_V, status:VALID, product: HRI - Human Resources Intelligence , implementation_dba_data: APPS.HRI_CL_ORG_HRCY_BX_V ,
-
View: HRI_CL_ORG_HRCYVRSN_BX_V
12.2.2
product: HRI - Human Resources Intelligence (Obsolete) , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.HRI_CL_ORG_HRCYVRSN_B_V
12.2.2
owner:APPS, object_type:VIEW, object_name:HRI_CL_ORG_HRCYVRSN_B_V, status:VALID,
-
VIEW: APPS.HRI_CL_POS_HRCY_N_V
12.2.2
-
View: HRILV_ORGHVER_BGS_X
12.2.2
product: HRI - Human Resources Intelligence (Obsolete) , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.HRI_CL_ORG_HRCYVRSN_BX_V
12.1.1
-
VIEW: APPS.HRI_CL_POSITION_HRCYVRSN_BX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HRI.HRI_CL_POSITION_HRCYVRSN_BX_V, object_name:HRI_CL_POSITION_HRCYVRSN_BX_V, status:VALID,
-
VIEW: APPS.HRI_CL_ORG_HRCYVRSN_BX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HRI.HRI_CL_ORG_HRCYVRSN_BX_V, object_name:HRI_CL_ORG_HRCYVRSN_BX_V, status:VALID,
-
VIEW: APPS.HRI_CL_ORG_HRCY_BX_V
12.1.1
-
VIEW: APPS.HRI_CL_ORG_HRCY_BX_V
12.2.2
-
VIEW: APPS.HRI_CL_ORG_HRCYVRSN_B_V
12.2.2
-
VIEW: APPS.HRI_CL_POSITION_HRCYVRSN_BX_V
12.1.1
-
View: HRI_CL_POSITION_HRCYVRSN_BX_V
12.2.2
product: HRI - Human Resources Intelligence (Obsolete) , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.HRI_CL_POS_HRCY_N_V
12.1.1
owner:APPS, object_type:VIEW, object_name:HRI_CL_POS_HRCY_N_V, status:VALID,
-
VIEW: APPS.HRI_CL_ORG_HRCYVRSN_B_V
12.1.1
-
VIEW: APPS.HRI_CL_POS_HRCY_N_V
12.2.2
owner:APPS, object_type:VIEW, object_name:HRI_CL_POS_HRCY_N_V, status:VALID,
-
VIEW: APPS.PER_ORG_STRUCTURES_LOV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_ORG_STRUCTURES_LOV, object_name:PER_ORG_STRUCTURES_LOV, status:VALID,
-
VIEW: APPS.HRI_CL_ORG_HRCY_BX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HRI.HRI_CL_ORG_HRCY_BX_V, object_name:HRI_CL_ORG_HRCY_BX_V, status:VALID,
-
VIEW: APPS.HRBV_ORGANIZATION_STRUCTURES_V
12.2.2
owner:APPS, object_type:VIEW, object_name:HRBV_ORGANIZATION_STRUCTURES_V, status:VALID,
-
VIEW: APPS.HRI_CL_ORG_HRCYVRSN_B_V
12.1.1
owner:APPS, object_type:VIEW, object_name:HRI_CL_ORG_HRCYVRSN_B_V, status:VALID,
-
VIEW: APPS.HRI_CL_ORG_HRCY_BX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:HRI.HRI_CL_ORG_HRCY_BX_V, object_name:HRI_CL_ORG_HRCY_BX_V, status:VALID,
-
APPS.PER_ORS_SHD SQL Statements
12.1.1
-
VIEW: APPS.PER_ORG_STRUCTURES_LOV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_ORG_STRUCTURES_LOV, object_name:PER_ORG_STRUCTURES_LOV, status:VALID,
-
VIEW: APPS.HRBV_ORGANIZATION_STRUCTURES_V
12.1.1
owner:APPS, object_type:VIEW, object_name:HRBV_ORGANIZATION_STRUCTURES_V, status:VALID,
-
APPS.PER_ORS_SHD SQL Statements
12.2.2
-
TABLE: HR.PER_ORGANIZATION_STRUCTURES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.PER_ORGANIZATION_STRUCTURES, object_name:PER_ORGANIZATION_STRUCTURES, status:VALID,
-
TABLE: HR.PER_ORGANIZATION_STRUCTURES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.PER_ORGANIZATION_STRUCTURES, object_name:PER_ORGANIZATION_STRUCTURES, status:VALID,
-
VIEW: HR.PER_ORGANIZATION_STRUCTURES#
12.2.2
owner:HR, object_type:VIEW, object_name:PER_ORGANIZATION_STRUCTURES#, status:VALID,
-
VIEW: APPS.PER_ORGANIZATION_STRUCTURES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_ORGANIZATION_STRUCTURES_V, object_name:PER_ORGANIZATION_STRUCTURES_V, status:VALID,
-
View: PER_ORG_STRUCTURES_LOV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_ORG_STRUCTURES_LOV, object_name:PER_ORG_STRUCTURES_LOV, status:VALID, product: PER - Human Resources , description: Used to support user interface , implementation_dba_data: APPS.PER_ORG_STRUCTURES_LOV ,
-
VIEW: APPS.PER_ORGANIZATION_STRUCTURES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_ORGANIZATION_STRUCTURES_V, object_name:PER_ORGANIZATION_STRUCTURES_V, status:VALID,
-
View: PER_ORG_STRUCTURES_LOV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_ORG_STRUCTURES_LOV, object_name:PER_ORG_STRUCTURES_LOV, status:VALID, product: PER - Human Resources , description: Used to support user interface , implementation_dba_data: APPS.PER_ORG_STRUCTURES_LOV ,
-
View: PER_ORGANIZATION_STRUCTURES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_ORGANIZATION_STRUCTURES_V, object_name:PER_ORGANIZATION_STRUCTURES_V, status:VALID, product: PER - Human Resources , description: Used to support user interface , implementation_dba_data: APPS.PER_ORGANIZATION_STRUCTURES_V ,
-
View: PER_ORGANIZATION_STRUCTURES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_ORGANIZATION_STRUCTURES_V, object_name:PER_ORGANIZATION_STRUCTURES_V, status:VALID, product: PER - Human Resources , description: Used to support user interface , implementation_dba_data: APPS.PER_ORGANIZATION_STRUCTURES_V ,
-
APPS.PER_ORS_BUS SQL Statements
12.1.1
-
APPS.PER_ORS_BUS SQL Statements
12.2.2
-
APPS.PER_ORG_STRUCTURES_PKG SQL Statements
12.1.1
-
APPS.PER_ORG_STRUCTURES_PKG SQL Statements
12.2.2
-
APPS.PER_ORS_INS SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PER_ORS_SHD
12.1.1
-
APPS.PER_ORS_INS SQL Statements
12.1.1
-
APPS.PER_ORS_UPD SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PER_ORS_SHD
12.2.2
-
APPS.PER_ORS_UPD SQL Statements
12.1.1