Results for “hr_all_positions_d”

25 results




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

Overview

The HR_ALL_POSITIONS_D view is a DateTrack history view owned by the APPS schema within the PER (Human Resources) product module of Oracle E-Business Suite. The view exposes the full effective-dated history of position records, allowing users and developers to query the state of a position as it existed at any point in time. Unlike its sibling view HR_ALL_POSITIONS_F, which returns only the current effective record for each position, HR_ALL_POSITIONS_D returns every dated row, including superseded versions that DateTrack has preserved for audit and reporting purposes. In EBS 12.1.1 and 12.2.2 environments, this view is commonly used in HRMS reports, extracts, and integration interfaces where a time-relative picture of position data is required. The view's status is VALID, and it is documented as being used specifically for DateTrack history.

The user search term location_desc maps directly to one of the view's columns, LOCATION_DESC, which is decoded from the underlying LOCATION_ID via the HR_GENERAL package.

Underlying Base Objects

According to the documented view text and the ETRM metadata, HR_ALL_POSITIONS_D is defined over several base objects:

The history is managed by the DateTrack framework, and the view's columns reflect the underlying HR_ALL_POSITIONS_F structure plus derived descriptive columns.

Key Columns

Common Use Cases and Queries

Typical uses include historical headcount reporting, position audit trails, and effective-dated extracts for downstream systems. A common query filtered on the location description is:

  • SELECT position_id, name, location_desc, effective_start_date, effective_end_date FROM hr_all_positions_d WHERE location_desc = 'Head Office' ORDER BY position_id, effective_start_date;
  • SELECT position_id, name, location_desc, date_effective FROM hr_all_positions_d WHERE position_id = 1234 ORDER BY effective_start_date;
  • SELECT location_desc, COUNT(DISTINCT position_id) FROM hr_all_positions_d WHERE TRUNC(SYSDATE) BETWEEN effective_start_date AND effective_end_date GROUP BY location_desc;

Because LOCATION_DESC is derived by a package function rather than stored directly, queries filtering on it cannot use an index and may perform a full scan; for high-volume reporting, it is preferable to join to HR_LOCATIONS_ALL or filter on LOCATION_ID. DateTrack history should be interpreted with effective date predicates to avoid returning superseded rows unintentionally.