Search Results hr_locations_s
Overview
APPS.HR_LOCATIONS_PKG is a PL/SQL package body in the Oracle E-Business Suite Applications schema (APPS) that encapsulates the core data-access and validation logic for the HR_LOCATIONS entity — the table that stores the physical addresses of an enterprise's work locations, offices, and reporting establishments. The package provides the procedural backbone used by the Oracle Human Resources and Oracle Payroll modules to maintain location records, including the inventory organization and ship-to attributes that link a location to a shipping and receiving context. Because the object resides in the APPS schema and maintains a status of VALID in both ETRM 12.1.1 and 12.2.2, it is treated as a supported, internally referenced API used by Oracle Forms and by dependent EBS code. It is documented in ETRM with an API classification of OTHER, indicating it is an internal package rather than a formally published public API such as HR_LOCATION_API, and it is not referenced by any other database object, reinforcing its role as a leaf-level implementation component.
Key Procedures and Functions
- INSERT_ROW — Creates a new HR_LOCATIONS record, populating the mandatory and optional columns and handling the associated descriptive flexfield context initialization.
- LOCK_ROW — Acquires a row-level lock on an existing location record to support concurrency control during update processing.
- UPDATE_ROW — Modifies an existing HR_LOCATIONS record, maintaining audit columns and any linked flexfield data.
- GET_START_DATA — Retrieves initialization or default values used to seed the location form or processing session.
- GET_INV_ORG — Returns the inventory organization associated with a location, supporting the linkage between HR locations and Oracle Inventory organizations.
- GET_DES_REC — Retrieves the descriptive flexfield record (context and segment values) associated with a location, reading from FND_DESCR_FLEX_CONTEXTS.
- SET_SHIP_TO_LOCATION — Establishes or updates the ship-to location designation for a given location record.
- VALIDATE_INSERT_LOCATION — Performs pre-insert validation of location data to enforce business rules before the row is committed.
Parameter lists are intentionally not reproduced here; only documented procedure names and their functional intent are described.
Tables Accessed
The package references HR_LOCATIONS as its primary base table for insert, update, and lock operations, and HR_LOCATIONS_S, the translated/denormalized synonym used for location name and description access. FND_DESCR_FLEX_CONTEXTS is read to resolve descriptive flexfield context information for locations, while FND_SESSIONS supplies session context used by the flexfield and validation routines. Supporting reference data is obtained from FND_APPLICATION_VL, FND_TERRITORIES_VL, ORG_ORGANIZATION_DEFINITIONS, and PER_PEOPLE_F, with DUAL used for singleton queries and STANDARD providing standard date and error-handling utilities. Error propagation relies on APP_EXCEPTION, FND_MESSAGE, and the HR_UTILITY library.
Usage Notes
HR_LOCATIONS_PKG is typically invoked from the Oracle HRMS location maintenance form and from dependent EBS code that must create or validate location records programmatically. It is not referenced by any other database object, so customizations should call it with care and preferably through the supported HR_LOCATION_API where one exists. Because the package manipulates HR_LOCATIONS directly, it should be treated as internal implementation and not as a substitute for the public location API in custom integrations.
-
SYNONYM: APPS.HR_LOCATIONS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_LOCATIONS_S, status:VALID,
-
SEQUENCE: HR.HR_LOCATIONS_S
12.2.2
owner:HR, object_type:SEQUENCE, object_name:HR_LOCATIONS_S, status:VALID,
-
SEQUENCE: HR.HR_LOCATIONS_S
12.1.1
owner:HR, object_type:SEQUENCE, object_name:HR_LOCATIONS_S, status:VALID,
-
SYNONYM: APPS.HR_LOCATIONS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_LOCATIONS_S, status:VALID,
-
PACKAGE BODY: APPS.HR_LOCATIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_LOCATIONS_PKG, status:VALID,
-
PACKAGE BODY: APPS.HZ_LOCATIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_LOCATIONS_PKG, status:VALID,
-
PACKAGE BODY: APPS.HR_LOCATIONS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_LOCATIONS_PKG, status:VALID,
-
PACKAGE BODY: APPS.HR_LOC_INS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_LOC_INS, status:VALID,
-
PACKAGE BODY: APPS.ARH_ADDR_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARH_ADDR_PKG, status:VALID,
-
PACKAGE BODY: APPS.HZ_LOCATIONS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_LOCATIONS_PKG, status:VALID,
-
PACKAGE BODY: APPS.HR_LOC_INS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_LOC_INS, status:VALID,
-
PACKAGE BODY: APPS.PAY_US_DB_PER_SETUP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_US_DB_PER_SETUP, status:VALID,
-
PACKAGE BODY: APPS.PAY_US_DB_PER_SETUP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_US_DB_PER_SETUP, status:VALID,
-
PACKAGE BODY: APPS.AMS_REGISTRANTS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_REGISTRANTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_REGISTRANTS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_REGISTRANTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.ARH_ADDR_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARH_ADDR_PKG, status:VALID,
-
PACKAGE BODY: APPS.AMS_LISTIMPORT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_LISTIMPORT_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_LISTIMPORT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_LISTIMPORT_PVT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.PAY_US_DB_PER_SETUP dependencies on HR_LOCATIONS_S
12.1.1
-
APPS.HR_LOCATIONS_PKG dependencies on HR_LOCATIONS_S
12.1.1
-
APPS.AMS_LISTIMPORT_PVT dependencies on HR_LOCATIONS_S
12.1.1
-
APPS.ARH_ADDR_PKG dependencies on HR_LOCATIONS_S
12.1.1
-
APPS.AMS_REGISTRANTS_PVT dependencies on HR_LOCATIONS_S
12.2.2
-
APPS.HR_LOCATIONS_PKG dependencies on HR_LOCATIONS_S
12.2.2
-
APPS.HZ_LOCATIONS_PKG dependencies on HR_LOCATIONS_S
12.2.2
-
APPS.HZ_LOCATIONS_PKG dependencies on HR_LOCATIONS_S
12.1.1
-
APPS.AMS_LISTIMPORT_PVT dependencies on HR_LOCATIONS_S
12.2.2
-
APPS.HR_LOC_INS dependencies on HR_LOCATIONS_S
12.2.2
-
APPS.HR_LOC_INS dependencies on HR_LOCATIONS_S
12.1.1
-
APPS.ARH_ADDR_PKG dependencies on HR_LOCATIONS_S
12.2.2
-
APPS.PAY_US_DB_PER_SETUP dependencies on HR_LOCATIONS_S
12.2.2
-
APPS.AMS_REGISTRANTS_PVT dependencies on HR_LOCATIONS_S
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1