Search Results replace_insertion_values
Overview
GHR_MASS_ACTIONS_PKG is a PL/SQL package owned by the APPS schema that supports the Oracle E-Business Suite HRMS "Mass Actions" framework. Mass Actions enable HR administrators to process a single personnel action across a selected population of employees rather than performing individual, record-by-record updates. The package consolidates the business logic required to stage, validate, and apply these bulk changes, and it serves as a shared utility layer for the various mass-action sub-processes that Oracle delivers (for example, mass awards, mass changes, mass leave accruals, mass salary updates, and SF52-related statutory updates).
Functionally, the package provides the plumbing that connects a user-defined group of assignments to the underlying Oracle HR APIs. It resolves reference data such as nature-of-action identifiers, remarks, duty stations, payroll calculation records, and routing groups into the structures required by the downstream SF52 and person/assignment update routines. In the Oracle EBS 12.1.1 and 12.2.2 releases it is classified as an "OTHER" API, meaning it is an internal, non-public interface rather than a documented open API. Its status is VALID, confirming it is a compiled, active database object in the APPS schema.
Key Procedures and Functions
The ETRM metadata documents ten procedures and functions. Their names indicate the following purposes:
- GET_NOA_ID_DESC — Retrieves the identifier and description of a Nature of Action, used to classify the mass action being applied.
- GET_REMARK_ID_DESC — Resolves the identifier and descriptive text of a remark associated with the action.
- EMP_REC_TO_SF52_REC — Maps an employee record into the SF52 record structure consumed by the statutory SF52 update process.
- ASG_SF52_REC_TO_SF52_REC — Converts an assignment-level SF52 record into the SF52 record format.
- POS_GRP1_REC_TO_SF52_REC — Transforms a position-group record into the SF52 record structure.
- PAY_CALC_REC_TO_SF52_REC — Transforms a payroll calculation record into the SF52 record structure.
- DUTY_STATION_REC_TO_SF52_REC — Transforms a duty station record into the SF52 record structure.
- REPLACE_INSERTION_VALUES — Substitutes placeholder (insertion) values within a text or template, typically for letter or remark generation.
- GET_PERSONNEL_OFF_GROUPBOX — Derives the personnel officer associated with a group box selection.
- GET_PERSONNEL_OFFICER_NAME — Returns the display name of a personnel officer for output on mass-action documentation.
Collectively these routines normalise heterogeneous source records into a common SF52 structure and resolve the descriptive reference data needed for reporting and validation.
Tables Accessed
The package reads and writes the following tables through APPS synonyms:
- GHR_GROUPBOXES and GHR_GROUPBOX_USERS — define the group boxes and their assigned users that scope a mass action.
- GHR_NATURE_OF_ACTIONS — supplies the action classification resolved by GET_NOA_ID_DESC.
- GHR_REMARKS — provides remark text referenced by GET_REMARK_ID_DESC.
- GHR_ROUTING_GROUPS — supports routing of the action through approval paths.
- GHR_PA_REQUESTS — stores the personnel action request that the mass action generates.
- GHR_POIS and PER_POSITION_EXTRA_INFO — supply position and personnel officer attributes used in SF52 and officer lookups.
It additionally depends on PER_ASSIGNMENTS_F, PER_PEOPLE_F, GHR_DUTY_STATIONS_V, and the GHR_API and GHR_PAY_CALC packages, which provide the underlying employee, assignment, duty station, and payroll data.
Usage Notes
This package is invoked indirectly. It is referenced by thirteen other packages, including GHR_MASS_AWARDS_PKG, GHR_MASS_CHANGES, GHR_MLC_PKG, GHR_MRE_PKG, GHR_MSL_PKG, GHR_WGI_PKG, GHR_LACS_REMARKS, GHR_SF52_DO_UPDATE, GHR_SF52_UPDATE, and itself (recursive work-distribution routines). It is therefore called from Oracle HRMS Forms and concurrent programs that drive mass actions and SF52 statutory reporting, and it may be called from custom code that extends those flows.
Because it is an internal, undocumented API with no guaranteed signature, customisations should avoid calling it directly where a supported API exists. When direct invocation is unavoidable, encode defensive exception handling, avoid reliance on record-type definitions that may change between 12.1.1 and 12.2.2, and verify behaviour after patching or upgrade.
-
APPS.GHR_MASS_ACTIONS_PKG SQL Statements
12.2.2
-
APPS.GHR_MASS_ACTIONS_PKG SQL Statements
12.1.1
-
PACKAGE: APPS.GHR_MASS_ACTIONS_PKG
12.1.1
-
PACKAGE: APPS.GHR_MASS_ACTIONS_PKG
12.2.2
-
PACKAGE BODY: APPS.GHR_MASS_ACTIONS_PKG
12.1.1
-
PACKAGE BODY: APPS.GHR_MASS_ACTIONS_PKG
12.2.2
-
APPS.GHR_MASS_ACTIONS_PKG dependencies on GHR_PA_REQUESTS
12.2.2
-
APPS.GHR_MASS_ACTIONS_PKG dependencies on GHR_PA_REQUESTS
12.1.1
-
APPS.GHR_MASS_ACTIONS_PKG dependencies on GHR_PA_REQUESTS
12.1.1
-
APPS.GHR_MASS_ACTIONS_PKG dependencies on GHR_PA_REQUESTS
12.2.2