Search Results mass_awards_error_handling




Overview

GHR_MASS_AWARDS_PKG is an Oracle EBS Applications (APPS) PL/SQL package that supports the Mass Awards feature within the Oracle Human Resources / Advanced Benefits framework. It is defined with AUTHID CURRENT_USER, meaning that all unqualified database object references resolve under the privileges of the invoking schema rather than the package owner. In the Oracle EBS 12.1.1 and 12.2.2 releases, this package encapsulates the server-side logic used to create, validate, and process mass award records that generate personnel action (PA) requests for multiple employees simultaneously. It mediates between the Mass Awards user interface, the PA request staging tables, and the nature-of-action (NOA) reference data, allowing HR administrators to apply a common award action to a defined population.

The package is classified as OTHER in the ETRM metadata and exposes 19 documented procedures and functions. It is referenced by one other package and primarily serves as the procedural backbone for the Mass Awards concurrent processing flow.

Key Procedures and Functions

The package exposes a mix of utility functions and processing routines:

Tables Accessed

The package reads and writes a broad set of GHR and PER tables via APPS synonyms:

Usage Notes

GHR_MASS_AWARDS_PKG is typically invoked indirectly through the Oracle HRMS Mass Awards form and its associated concurrent programs rather than called directly by end users. The presence of MAIN_AWARDS, MARPA_PROCESS, and BUILD_RPA_FOR_MASS_AWARDS indicates the package is driven from the concurrent manager during mass award batch processing. The error-handling procedure MASS_AWARDS_ERROR_HANDLING is intended to be called from within orchestration logic to manage exceptions and preserve data integrity. Customizations should call these routines only after accounting for the AUTHID CURRENT_USER behavior and the shadow-table staging pattern. Because the package is referenced by one other package, changes may have downstream impacts, and any extension should preserve the documented interface for the 19 public procedures and functions. In 12.1.1 and 12.2.2, the online patching and editioning model in 12.2.2 requires additional care when calling this package from custom code, since editioning views may affect synonym resolution.