Search Results pay_retro_assignments_s
Overview
PAY_RETRO_UTILS_PKG is a PL/SQL utility package body owned by the APPS schema in Oracle E-Business Suite, classified under the ETRM repository as an OTHER API. Its business purpose is to centralize the reusable logic required to process, maintain, and audit retroactive pay adjustments within Oracle Payroll. Retroactive pay processing in EBS is intrinsically complex because it must detect which prior payroll periods are affected by a backdated element entry or assignment change, construct or locate the appropriate retro assignment, and schedule reprocessing. PAY_RETRO_UTILS_PKG encapsulates these operations so that the core payroll engine, the RetroPay process, and supporting forms can share a single, consistent implementation instead of duplicating logic.
The package is not referenced by any other database object, which indicates that it functions strictly as a leaf-level utility called from higher-level packages, concurrent programs, and form handlers rather than serving as an integration point for external modules. Its listed dependencies include PAY_RETRO_PKG, PAY_CORE_UTILS, PAY_DATED_TABLES, HR_API, HR_UTILITY, FND_USER, and the Oracle Workflow engine components, confirming its role as a shared infrastructure layer.
Key Procedures and Functions
The ETRM documentation for 12.2.2 lists eight documented entry points within the package body:
- GET_USER — Resolves and returns the current application user, supporting auditing and attribution of retro operations.
- IS_RETROPAY_SCHEDULED — Determines whether a RetroPay run is already scheduled for a given context, preventing duplicate or conflicting processing.
- CC_REQD — Evaluates whether a cost calculation or compatibility check is required before retro processing proceeds.
- CC_PERFORM — Executes the corresponding cost calculation or check invoked by CC_REQD.
- RETRO_ENT_TAB_INSERT — Inserts rows into the retro entries structure, building the set of retroactive element entries that must be reprocessed.
- CREATE_SUPER_RETRO_ASG — Creates a "super" retro assignment that aggregates multiple retro assignments, allowing consolidated reprocessing.
- MAINTAIN_RETRO_ASG — Maintains existing retro assignment records, updating their state as processing progresses.
- GET_RETRO_COMPONENT_ID — Retrieves the identifier of a retro component, used to link retro component usages to their parent retro entries.
These procedures collectively cover the detect, create, maintain, and audit phases of retro pay processing. No parameter lists are documented; descriptions are limited to functional purpose.
Tables Accessed
The package reads and writes a defined set of Payroll and HR tables via APPS synonyms. PAY_RETRO_ASSIGNMENTS and PAY_RETRO_ASSIGNMENTS_S hold the retro assignment definitions that the package creates and maintains. PAY_RETRO_ENTRIES stores the retroactive entry rows produced by RETRO_ENT_TAB_INSERT. PAY_RETRO_COMPONENT_USAGES records which components participate in each retro adjustment, resolved through GET_RETRO_COMPONENT_ID. PAY_ELEMENT_ENTRIES_F provides the source element entries being evaluated for retroactivity, while PAY_DATED_TABLES supplies date-effective table metadata needed to determine the affected periods. PAY_PROCESS_EVENTS and PAY_EVENT_UPDATES support event-driven reprocessing and audit tracking. PER_ALL_ASSIGNMENTS_F provides the assignment context against which retro is assessed. FND_USER supplies the user identification used by GET_USER, and WF_ITEMS is consulted through the Workflow engine dependency where retro operations interact with workflow-driven notifications or approvals. The DUAL and STANDARD dependencies reflect routine PL/SQL constructs.
Usage Notes
PAY_RETRO_UTILS_PKG is an internal Payroll utility rather than a public, customer-facing API. It is typically invoked by the RetroPay concurrent process and by PAY_RETRO_PKG during the detection and creation of retro assignments. Because the package references FND_USER and the Workflow tables, it is also exercised during interactive retro processing initiated from Payroll forms, where operator identity and scheduled-run state must be established. The presence of IS_RETROPAY_SCHEDULED and the CC_REQD/CC_PERFORM pair indicates that callers rely on this package both to guard against duplicate RetroPay scheduling and to conditionally perform cost-related checks before entries are inserted.
Custom or extension code should avoid calling this package directly unless the calling context already mirrors that of the core Payroll engine, since the procedures assume validated retro assignment and element entry structures. The absence of any referencing objects confirms that the package is not designed as a stable external interface; it is an internal implementation detail of the Payroll retro framework, dependent on Oracle Workflow and the HR APIs. Its VALID status in the ETRM repository indicates the compiled body is present and consistent in both 12.1.1 and 12.2.2 environments.
-
SEQUENCE: HR.PAY_RETRO_ASSIGNMENTS_S
12.2.2
owner:HR, object_type:SEQUENCE, object_name:PAY_RETRO_ASSIGNMENTS_S, status:VALID,
-
SYNONYM: APPS.PAY_RETRO_ASSIGNMENTS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_RETRO_ASSIGNMENTS_S, status:VALID,
-
SEQUENCE: HR.PAY_RETRO_ASSIGNMENTS_S
12.1.1
owner:HR, object_type:SEQUENCE, object_name:PAY_RETRO_ASSIGNMENTS_S, status:VALID,
-
SYNONYM: APPS.PAY_RETRO_ASSIGNMENTS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_RETRO_ASSIGNMENTS_S, status:VALID,
-
PACKAGE BODY: APPS.PAY_RETRO_UTILS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_RETRO_UTILS_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_RETRO_UTILS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_RETRO_UTILS_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.PAY_RETRO_UTILS_PKG dependencies on PAY_RETRO_ASSIGNMENTS_S
12.1.1
-
APPS.PAY_RETRO_UTILS_PKG dependencies on PAY_RETRO_ASSIGNMENTS_S
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1