Search Results get_source_element_type




Overview

PAY_RETRO_PKG is the core PL/SQL package body that implements Oracle Payroll's retroprocessing engine in Oracle E-Business Suite 12.1.1 and 12.2.2. Retroprocessing occurs when a payroll event is processed for a past period that has already been closed; the payroll engine must recalculate the affected assignment's pay, identify the difference between what was originally paid and what should now be paid, and generate the appropriate balance adjustments. PAY_RETRO_PKG provides the procedural logic that drives this cycle, from creating the retro run and its assignment-level entries through to writing adjustment run results and maintaining the retro assignment and retro entry records that persist this history.

The package is classified as OTHER in the ETRM metadata and exposes twenty-seven documented procedures and functions. It is referenced by four other packages, indicating a foundational role within the payroll processing stack rather than an end-user-facing API. The documented revision history shows active maintenance around Bug 7335351 (2008) covering recorded-date processing and overlap adjustments, and around Bug 5747560 (2006–2007) for GET_SOURCE_ELEMENT_TYPE, the object most directly associated with the user's search term.

Key Procedures and Functions

Tables Accessed

The package operates across the payroll and element entry data model. It reads and writes PAY_RETRO_ASSIGNMENTS to track assignments subject to retroprocessing, and PAY_ELEMENT_ENTRIES_F and PAY_ELEMENT_ENTRY_VALUES_F to obtain and adjust element entry values. PAY_ELEMENT_TYPES_F, PAY_ELEMENT_TYPE_RULES, PAY_ELE_CLASSIFICATION_RULES and PAY_INPUT_VALUES_F supply element definitions, classification and input value rules used by GET_SOURCE_ELEMENT_TYPE and related resolution logic. PAY_ELEMENT_SPAN_USAGES and PAY_ENTRY_PROCESS_DETAILS support span and process-detail determination. Payroll action and assignment action context is drawn from PAY_PAYROLL_ACTIONS, PAY_PAYROLL_ACTIONS_S, PAY_ASSIGNMENT_ACTIONS and PAY_ASSIGNMENT_ACTIONS_S, while PAY_OBJECT_GROUPS supports group generation. PAY_RECORDED_REQUESTS is used by reset_recorded_request and process_recorded_date logic, with the revision history noting a TO_CHAR conversion on assignment ID to enable index usage.

Usage Notes

PAY_RETRO_PKG is invoked internally by the Oracle Payroll processing engine during retro runs, typically triggered through the payroll run concurrent programs and the payroll action framework rather than called directly by end users. It supports the retro processing flow initiated from Payroll forms and from scheduled payroll runs. Customizations should avoid direct calls to its procedures; instead, integrations should rely on supported payroll APIs. When troubleshooting retro issues, GET_SOURCE_ELEMENT_TYPE and the process_recorded_date routines are frequent diagnostic points, as evidenced by the volume of bug fixes applied across 2006–2008.