Search Results get_pap_group_id




Overview

PAY_CORE_UTILS is a foundational Oracle Payroll utility package within the APPS schema, providing shared low-level services consumed broadly across the Oracle E-Business Suite payroll and HRMS module family. Its API classification is OTHER, indicating it is an internal infrastructure package rather than a business-facing API. In EBS 12.1.1 and 12.2.2, the package supplies cross-cutting helpers for dynamic SQL cursor management, business group and legislation resolution, parameter-list parsing, proration date derivation, time definition lookups, and message/token emission. The package header defines several PL/SQL collection types, including DATE_ARRAY, CHAR_ARRAY, T_CONTEXTS_REC/T_CONTEXTS_TAB for dynamic context details, and T_SQL_STM_REC/T_SQL_STM_TAB for caching dynamic SQL statements, alongside a global cache of business group identifiers. With 257 dependent packages, PAY_CORE_UTILS is effectively a shared kernel routine; most payroll processing, element entry, and payroll action logic transitively relies on its utility functions. The user search term "assert_condition" reflects a common expectation that utility packages expose assertion helpers; the documented interface does not include a procedure of that name, and PAY_CORE_UTILS instead supports validity checking through its structural helpers.

Key Procedures and Functions

Tables Accessed

The package reads and writes a defined set of payroll and FastFormula metadata tables through APPS synonyms. FF_CONTEXTS supplies the dynamic context definitions used to build the T_CONTEXTS_TAB structures. PAY_INPUT_VALUES_F and PAY_ELEMENT_TYPES_F provide element and input value metadata referenced during context resolution. PAY_LEGISLATION_CONTEXTS and PAY_LEGISLATION_RULES support legislation-specific rule evaluation. PAY_ASSIGNMENT_ACTIONS and PAY_ASSIGNMENT_ACTIONS_S are used for assignment action resolution and identifier lookups. PAY_ELEMENT_ENTRIES_F and PAY_ELEMENT_ENTRY_VALUES_F supply element entry data for time definition and proration logic, while PAY_ELEMENT_CLASSIFICATIONS, PAY_ELEMENT_CLASS_USAGES_F, and PAY_ELEMENT_TYPE_USAGES_F drive element classification and usage checks. PAY_COSTS and PAY_ACTION_INTERLOCKS support payroll action and costing context. PAY_MESSAGE_LINES receives output from the message and token push routines.

Usage Notes

PAY_CORE_UTILS is invoked indirectly by Oracle Payroll forms, concurrent programs, and payroll action processing rather than being exposed as an end-user API. Custom extensions, particularly FastFormula user-defined functions and custom payroll routines, may call its parameter parsing, business group, and legislation helper functions to resolve execution context. Because the package maintains session-level globals such as G_SQL_CURSORS and cached business group values, callers should invoke RESET_CACHED_VALUES when switching business group context within a session and ensure cursors are closed to avoid resource accumulation. There is no ASSERT_CONDITION routine in the documented interface; code requiring assertion behavior must implement conditional checks using standard PL/SQL constructs or the validation helpers this package provides.