Results for “position_structure_id”

4 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The APPS.PO_EMPLOYEE_HIERARCHIES view is a reporting and integration object within the Oracle E-Business Suite Purchasing (PO) module. It exposes approval and reporting hierarchy relationships between employees, capturing the superior-to-subordinate structure along with positional and organizational context. The object is documented in ETRM as VALID under Oracle EBS 12.1.1 and 12.2.2, and its metadata is annotated as "Retrofitted," indicating that the view was introduced or reconciled during a release upgrade cycle to preserve backward compatibility with existing customizations, reports, or integrations that depended on hierarchy data.

The view functions as a business-group-scoped façade over the underlying multi-org table. Rather than exposing all rows across every business group, it filters records so that only those matching the current Financials System Parameters business group are returned. This makes the view suitable for single-business-group reporting sessions and for code that should operate within the context of the logged-in operating unit or business group.

Underlying Base Objects

The view is defined over two referenced objects, both accessed through APPS synonyms:

The view text selects all documented columns from PO_EMPLOYEE_HIERARCHIES_ALL and restricts rows with a predicate of the form: BUSINESS_GROUP_ID IN ( SELECT NVL(FSP.BUSINESS_GROUP_ID, 0) FROM FINANCIALS_SYSTEM_PARAMETERS FSP ). The NVL default of 0 ensures that rows with a null business group are still eligible when the system parameter is unset. Because the view is not a secured synonym with row-level security policies, access control is inherited through the APPS schema grants on the view itself.

Key Columns

The view exposes the following columns, which mirror the base table structure:

The POSITION_STRUCTURE_ID column is particularly significant for users searching on that term, as it links hierarchy rows to a specific position structure definition, enabling filtering by structure when multiple hierarchies exist.

Common Use Cases and Queries

Typical uses include approval routing analysis, organizational reporting, and feeding external workflow or BI systems with hierarchy relationships. A common query retrieves all direct reports for a given employee within a specific position structure:

  • SELECT EMPLOYEE_ID, SUPERIOR_ID, POSITION_STRUCTURE_ID, SUPERIOR_LEVEL FROM APPS.PO_EMPLOYEE_HIERARCHIES WHERE SUPERIOR_ID = :superior_id AND POSITION_STRUCTURE_ID = :structure_id;
  • SELECT BUSINESS_GROUP_ID, ORG_ID, COUNT(*) FROM APPS.PO_EMPLOYEE_HIERARCHIES GROUP BY BUSINESS_GROUP_ID, ORG_ID;
  • SELECT * FROM APPS.PO_EMPLOYEE_HIERARCHIES WHERE EMPLOYEE_ID = :employee_id AND ROWNUM = 1;

Because the view restricts output to the business group defined in FINANCIALS_SYSTEM_PARAMETERS, queries against it automatically observe that setup context and avoid cross-business-group contamination in reporting output.