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:
- ORIG_SYSTEM (VARCHAR2 30) and ORIG_SYSTEM_ID (NUMBER 15) — the composite business-key pair that, together with the unique index PER_EMPDIR_LOCATIONS_PK, uniquely identifies each row. ORIG_SYSTEM identifies the source directory or interfacing application; ORIG_SYSTEM_ID is the surrogate identifier within that source.
- BUSINESS_GROUP_ID (NUMBER 15) — multi-organization partitioning of HR data.
- DERIVED_LOCALE (VARCHAR2 240) — the locale value resolved for the location, used for formatting and directory display.
- COUNTRY, ADDRESS_LINE_1 through ADDRESS_LINE_3, TOWN_OR_CITY, REGION_1 through REGION_3, POSTAL_CODE, and the free-form ADDRESS (VARCHAR2 4000) — the address components displayed to end users.
- TELEPHONE_NUMBER_1 through TELEPHONE_NUMBER_3 and TIMEZONE_ID / TIMEZONE_CODE — contact and timezone attributes. TIMEZONE_ID carries a foreign key to HZ_TIMEZONES.
- INACTIVE_DATE, OFFICE_SITE_FLAG, and RECEIVING_SITE_FLAG — lifecycle and classification flags that determine whether a location is displayed and how it is treated.
- Standard WHO columns — LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, CREATED_BY, CREATION_DATE, OBJECT_VERSION_NUMBER, plus the concurrent-program columns REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, and PROGRAM_UPDATE_DATE.
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.
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
eTRM - PER Tables and Views 12.2.2
Table to store NQF Training info for a person
-
eTRM - PER Tables and Views 12.1.1
Table to store NQF Training info for a person