Search Results hr_location_record
Overview
HR_LOCATION_RECORD is an Oracle E-Business Suite PL/SQL package body owned by the APPS schema and classified under the ETRM as a generic "OTHER" API component. Its business purpose is to provide a centralized, reusable query interface for retrieving HR location records from the Oracle HRMS data model. Locations in EBS represent physical sites such as offices, warehouses, receiving sites, and inventory organizations, and are shared across Human Resources, Payroll, Inventory, Order Management, and Purchasing.
The single documented entry point, GET_LOCATION_DETAILS, encapsulates the multi-table join required to resolve a location's descriptive, address, site-flag, and descriptive flexfield attributes into a PL/SQL collection. By exposing this logic as a packaged procedure rather than embedding a cursor in each consumer, HR_LOCATION_RECORD enforces consistent location retrieval semantics and insulates callers from the underlying HR_LOCATIONS_ALL and HR_LOCATIONS_ALL_TL table structures, which are subject to change across releases. The package is not a transactional API; it is a read-only query utility.
Key Procedures and Functions
The ETRM metadata documents one procedure: GET_LOCATION_DETAILS. This procedure accepts a query-options record (location_input_rectype) that carries the selection criteria — location identifier, a start/end location identifier range, and a business group identifier — and returns a strongly typed collection (location_tabletype) declared as an OUT NOCOPY parameter. The NOCOPY hint indicates the collection is passed by reference, avoiding the overhead of copying large result sets on return.
Internally, the procedure opens an explicit cursor (c_location) that joins HR_LOCATIONS_ALL (aliased loc) with HR_LOCATIONS_ALL_TL (aliased lot) to obtain the base location row together with its translated location code and description. The selection list projects the location identifier, location code, the literal 'HR', business group, description, and the full set of site-usage flags (ship-to, receiving, bill-to, inventory organization, and office site). It additionally returns address elements, telephone numbers, loc_information segments, and the complete descriptive flexfield attribute columns. The result set is bulk-collected into the OUT parameter for use by the calling program.
Tables Accessed
The package references three tables through APPS synonyms:
- HR_LOCATIONS_ALL — the base location entity, supplying the location_id, business group, site flags, address components, contact details, and descriptive flexfield attribute columns.
- HR_LOCATIONS_ALL_TL — the translation table supplying the location_code and description in the session's language, which is why the two tables are joined in the driving cursor.
- PLITBLM — the Oracle PL/SQL table/collection support structure used in conjunction with the strongly typed collection parameter.
No insert, update, or delete operations are documented, consistent with the package's read-only role.
Usage Notes
GET_LOCATION_DETAILS is typically invoked from Oracle Forms, OAF pages, and custom PL/SQL code that must display or validate location data, such as a location list of values or a validation routine in an HR or inventory-related process. The documented metadata records that this package is referenced by two other packages, indicating it functions as a lower-level utility consumed by higher-level business logic rather than being called directly by end users.
Because the procedure returns a collection through an OUT NOCOPY parameter, callers must declare a variable of the documented location_tabletype and pass the query options in a location_input_rectype. Developers should note that the cursor filters by location_id, by a start/end location_id range, and by business group, so at least the business group should be supplied to constrain results in multi-business-group environments. As with any EBS seeded object, custom code should reference the package by its documented signature and avoid direct dependencies on internal cursor definitions, which are not part of the supported interface.
-
PACKAGE BODY: APPS.HR_LOCATION_RECORD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_LOCATION_RECORD, status:VALID,
-
PACKAGE: APPS.HR_LOCATION_RECORD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_LOCATION_RECORD, status:VALID,
-
PACKAGE BODY: APPS.HR_LOCATION_RECORD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_LOCATION_RECORD, status:VALID,
-
PACKAGE: APPS.HR_LOCATION_RECORD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_LOCATION_RECORD, status:VALID,
-
PACKAGE BODY: APPS.CSP_HR_LOC_CUST
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSP_HR_LOC_CUST, status:VALID,
-
PACKAGE: APPS.CSP_HR_LOC_CUST
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSP_HR_LOC_CUST, status:VALID,
-
PACKAGE BODY: APPS.HR_LOCATION_RECORD
12.1.1
-
PACKAGE BODY: APPS.HR_LOCATION_RECORD
12.2.2
-
PACKAGE: APPS.HR_LOCATION_RECORD
12.2.2
-
PACKAGE: APPS.HR_LOCATION_RECORD
12.1.1
-
PACKAGE BODY: APPS.CSP_SHIP_TO_ADDRESS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSP_SHIP_TO_ADDRESS_PVT, status:VALID,
-
SYNONYM: APPS.HR_LOCATIONS_ALL_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_LOCATIONS_ALL_TL, status:VALID,
-
SYNONYM: APPS.HR_LOCATIONS_ALL_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_LOCATIONS_ALL_TL, status:VALID,
-
VIEW: APPS.HR_LOCATIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_LOCATIONS, object_name:HR_LOCATIONS, status:VALID,
-
VIEW: APPS.HR_LOCATIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_LOCATIONS, object_name:HR_LOCATIONS, status:VALID,
-
APPS.CSP_HR_LOC_CUST dependencies on HR_LOCATION_RECORD
12.2.2
-
APPS.CSP_HR_LOC_CUST dependencies on HR_LOCATION_RECORD
12.2.2
-
APPS.HR_LOCATION_RECORD dependencies on HR_LOCATION_RECORD
12.1.1
-
APPS.HR_LOCATION_RECORD dependencies on HR_LOCATION_RECORD
12.2.2
-
APPS.CSP_SHIP_TO_ADDRESS_PVT dependencies on HR_LOCATION_RECORD
12.2.2
-
SYNONYM: APPS.HR_LOCATIONS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_LOCATIONS_ALL, status:VALID,
-
SYNONYM: APPS.HR_LOCATIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_LOCATIONS_ALL, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,