Results for “per_empdir_locations_pk”

14 results




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

Overview

HR.PER_EMPDIR_LOCATIONS is an Oracle E-Business Suite table that stores the address and location records used by the Employee Directory (EmpDir) self-service functionality. It is owned by the HR schema and registered under the FND Design Data object PER.PER_EMPDIR_LOCATIONS. The table holds normalized location information — country, address lines, town or city, regions, postal code, telephone numbers, and timezone data — keyed by the originating system from which each location was sourced. Because EmpDir aggregates directory content from multiple upstream sources, this table serves as the staging and presentation layer for location rows associated with employees, offices, and receiving sites.

The ETRM metadata lists no foreign-key dependencies outbound from the table other than references to HZ_ORIG_SYSTEMS_B, HZ_TIMEZONES, and JTF_FM_PARTITION_X_REQUEST, and classifies it, by heuristic Data Vault mining, as a standalone object. As a modeling suggestion, this places PER_EMPDIR_LOCATIONS closer to a satellite than to a hub or link: it carries descriptive attributes (address elements, telephone numbers, zone identifiers) attached to a natural business key rather than acting as a pure association table. The absence of inbound/outbound links to other HR entities reinforces that interpretation — the location detail is acquired and updated independently of the transactional HR tables.

Key Information Stored

The table contains 35 documented columns. The most operationally significant are:

The primary key is documented as PER_EMPDIR_LOCATIONS_PK, a UNIQUE index residing in the APPS_TS_TX_IDX tablespace on (ORIG_SYSTEM_ID, ORIG_SYSTEM). No separate surrogate ID column is exposed; the composite ORIG_SYSTEM/ORIG_SYSTEM_ID pair functions as the business key and is the only documented unique-key candidate.

Common Use Cases and Queries

EmpDir implementations query this table to populate the location pick-list, to enrich directory search results with address and telephone data, and to reconcile upstream directories against what EBS currently stores. A typical lookup retrieves all active locations for a business group:

  • SELECT orig_system, orig_system_id, country, town_or_city, address_line_1, postal_code FROM per_empdir_locations WHERE business_group_id = :p_bg AND inactive_date IS NULL;
  • SELECT l.orig_system_id, l.town_or_city, t.timezone_code FROM per_empdir_locations l, hz_timezones t WHERE l.timezone_id = t.timezone_id;
  • SELECT * FROM per_empdir_locations WHERE orig_system = :p_source AND orig_system_id = :p_id; — the unique-key access path via the PK index.

Report writers commonly filter on OFFICE_SITE_FLAG or RECEIVING_SITE_FLAG to isolate mailing or receiving facilities, and use INACTIVE_DATE to exclude retired locations. Because the table is independent of the main PER_ALL_* payroll and assignment tables, it can be queried and loaded without impacting core HR processing, which makes it suitable for bulk reconciliation jobs and directory refresh programs.

Related Objects

The documented foreign keys and object family around this table include:

  • HZ_ORIG_SYSTEMS_B — joined on PER_EMPDIR_LOCATIONS.ORIG_SYSTEM_ID, providing the master definition of originating systems and their code/ID assignments.
  • HZ_TIMEZONES — joined on PER_EMPDIR_LOCATIONS.TIMEZONE_ID, supplying timezone name and code.
  • JTF_FM_PARTITION_X_REQUEST — referenced through PARTITION_ID, linking location rows to the partition-request mechanism used by the directory framework.
  • Employee directory views and PL/SQL packages in the PER family that consume this table for directory display and location validation.
  • Concurrent programs identified by PROGRAM_APPLICATION_ID and PROGRAM_ID, which audit how each row was loaded or refreshed.