Search Results hr_location_bk2
Overview
APPS.HR_LOCATION_BK2 is a PL/SQL package body in the Oracle E-Business Suite Human Resources (HR) module. It forms part of the location management infrastructure, which governs the definition, validation, and maintenance of the work locations that are assigned throughout HR, Payroll, and related applications. The BK2 naming convention designates this package as a business logic layer component, typically positioned between the interface-level API code and the underlying business rules and validation logic.
In the Oracle EBS architecture, location records are foundational reference data. Employees, assignments, organizations, and payroll processes all depend on valid location definitions. The package supports this by encapsulating the update logic applied to location records, ensuring that changes propagate through the appropriate validation and business rule checks before being committed to the database. It is classified under the "OTHER" API category in the ETRM documentation, indicating it is not a public, formally supported API but rather an internal component invoked by other layers of the application.
The package status is recorded as VALID in the APPS schema, confirming it is compiled and active in the ETRM 12.2.2 environment. The same object is present in Oracle EBS 12.1.1 and 12.2.2.
Key Procedures and Functions
The ETRM metadata documents two procedures within this package body:
- UPDATE_LOCATION_B — The "before" phase procedure of the location update operation. It is invoked prior to the main update processing and is responsible for pre-update handling such as capturing the existing record state and preparing the data structures required by the subsequent business logic. The "_B" suffix follows Oracle's standard pre-processing convention used throughout the HR API family.
- UPDATE_LOCATION_A — The "after" phase procedure of the location update operation. It executes following the core update action, handling post-update activities such as cascading validations, derived field updates, and any dependent adjustments required to keep related location data consistent. The "_A" suffix follows Oracle's standard post-processing convention.
Together these two procedures bracket the update transaction, consistent with the modular before/after pattern used across the HR location API stack.
Tables Accessed
The documented metadata does not enumerate specific base tables through APPS synonyms for this package body. However, the dependency list identifies the key business objects and packages that this package references, which proxy to the underlying location data model:
- HR_LOC_BUS — the location business rule package that enforces data integrity and validation rules for location records.
- HR_LOCATION_BE2 — the corresponding entity-layer package handling the physical persistence of location changes.
- HR_API, HR_UTILITY, and HR_MULTI_MESSAGE — shared HR infrastructure packages for API plumbing, utility functions, and message handling.
- HR_AE_VALIDATE_PKG, HR_RO_LOCATION_VAL, HR_RU_LOCATION_HOOK, PER_ES_LOCATION, PER_PL_LOCATION — country-specific and localization validation and hook packages.
- WSH_MAP_LOCATION_REGION_PKG — shipping/logistics mapping integration for location regions.
These dependencies indicate the package operates on the core location entity while coordinating with regional and logistics-specific validations.
Usage Notes
HR_LOCATION_BK2 is an internal implementation package rather than a public API. It is not intended for direct invocation from custom code; instead, it is called by higher-level location APIs and business logic layers, which in turn are invoked from the Oracle HR forms (such as the Locations form), concurrent programs that maintain location data, and supported public APIs. The ETRM metadata notes that this package is referenced by one other database object, reflecting its role as a subordinate component within the location management call stack. Developers extending or troubleshooting location updates should rely on the supported public APIs and treat this package as an implementation detail.
-
PACKAGE BODY: APPS.HR_LOCATION_BK2
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_LOCATION_BK2, status:VALID,
-
PACKAGE BODY: APPS.HR_LOCATION_BK2
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_LOCATION_BK2, status:VALID,
-
PACKAGE: APPS.HR_LOCATION_BK2
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_LOCATION_BK2, status:VALID,
-
PACKAGE: APPS.HR_LOCATION_BK2
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_LOCATION_BK2, status:VALID,
-
APPS.HR_LOCATION_BK2 SQL Statements
12.2.2
-
PACKAGE: APPS.HR_LOCATION_BE2
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_LOCATION_BE2, status:VALID,
-
PACKAGE: APPS.HR_RO_LOCATION_VAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_RO_LOCATION_VAL, status:VALID,
-
PACKAGE: APPS.PER_PL_LOCATION
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PER_PL_LOCATION, status:VALID,
-
PACKAGE: APPS.PER_ES_LOCATION
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PER_ES_LOCATION, status:VALID,
-
PACKAGE BODY: APPS.HR_LOCATION_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_LOCATION_API, status:VALID,
-
PACKAGE: APPS.HR_LOC_BUS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_LOC_BUS, status:VALID,
-
PACKAGE BODY: APPS.HR_LOCATION_BK2
12.2.2
-
PACKAGE: APPS.HR_LOCATION_BE2
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_LOCATION_BE2, status:VALID,
-
PACKAGE: APPS.HR_RU_LOCATION_HOOK
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_RU_LOCATION_HOOK, status:VALID,
-
PACKAGE: APPS.PER_PL_LOCATION
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PER_PL_LOCATION, status:VALID,
-
PACKAGE: APPS.WSH_MAP_LOCATION_REGION_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WSH_MAP_LOCATION_REGION_PKG, status:VALID,
-
PACKAGE: APPS.WSH_MAP_LOCATION_REGION_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WSH_MAP_LOCATION_REGION_PKG, status:VALID,
-
PACKAGE: APPS.HR_RU_LOCATION_HOOK
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_RU_LOCATION_HOOK, status:VALID,
-
PACKAGE: APPS.PER_ES_LOCATION
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PER_ES_LOCATION, status:VALID,
-
APPS.HR_LOCATION_BK2 SQL Statements
12.1.1
-
PACKAGE BODY: APPS.HR_LOCATION_BK2
12.1.1
-
PACKAGE BODY: APPS.HR_LOCATION_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_LOCATION_API, status:VALID,
-
PACKAGE: APPS.HR_LOC_BUS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_LOC_BUS, status:VALID,
-
PACKAGE: APPS.HR_AE_VALIDATE_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_AE_VALIDATE_PKG, status:VALID,
-
PACKAGE: APPS.HR_AE_VALIDATE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_AE_VALIDATE_PKG, status:VALID,
-
PACKAGE: APPS.HR_LOCATION_BK2
12.2.2
-
PACKAGE: APPS.HR_LOCATION_BK2
12.1.1
-
APPS.HR_LOCATION_API SQL Statements
12.1.1
-
APPS.HR_LOCATION_API SQL Statements
12.2.2
-
APPS.HR_LOCATION_API dependencies on HR_LOCATION_BK2
12.1.1
-
APPS.HR_LOCATION_API dependencies on HR_LOCATION_BK2
12.2.2
-
APPS.HR_LOCATION_BK2 dependencies on HR_LOCATION_BK2
12.1.1
-
APPS.HR_LOCATION_BK2 dependencies on HR_LOCATION_BK2
12.2.2
-
APPS.HR_LOCATION_BK2 dependencies on HR_UTILITY
12.1.1
-
APPS.HR_LOCATION_BK2 dependencies on HR_UTILITY
12.2.2
-
APPS.HR_LOCATION_BK2 dependencies on HR_API
12.1.1
-
APPS.HR_LOCATION_BK2 dependencies on HR_API
12.2.2
-
APPS.HR_LOCATION_BK2 dependencies on HR_MULTI_MESSAGE
12.1.1
-
APPS.HR_LOCATION_BK2 dependencies on WSH_MAP_LOCATION_REGION_PKG
12.2.2
-
APPS.HR_LOCATION_BK2 dependencies on HR_LOC_BUS
12.1.1
-
APPS.HR_LOCATION_BK2 dependencies on HR_MULTI_MESSAGE
12.2.2
-
APPS.HR_LOCATION_BK2 dependencies on HR_LOC_BUS
12.2.2
-
APPS.HR_LOCATION_BK2 dependencies on WSH_MAP_LOCATION_REGION_PKG
12.1.1
-
PACKAGE BODY: APPS.HR_LOCATION_API
12.1.1
-
PACKAGE BODY: APPS.HR_LOCATION_API
12.2.2
-
PACKAGE: APPS.HR_MULTI_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_MULTI_MESSAGE, status:VALID,
-
PACKAGE: APPS.HR_MULTI_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_MULTI_MESSAGE, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1