Search Results missing_assignment_action
Overview
APPS.PAYRPENP is a PL/SQL package body in the Oracle E-Business Suite Payroll (PAY) module. The package is classified as OTHER in the ETRM repository and carries the internal description "Employee Not Processes." Its header version history ($Header: payrpenp.pkb 120.1, dated 04-JAN-2006) shows a lineage of payroll maintenance fixes, including a 2004 modification (bug 3372714) that reworked the missing_assignment_action cursor to reduce query cost, and a 2006 change (bug 4771529) that resized local variables to match the underlying table columns. The package serves as a supporting utility for identifying payroll processing exceptions and resolving government reporting entity (GRE) and location reference data used in payroll reporting contexts.
Key Procedures and Functions
The ETRM metadata documents four program units within this package body:
- GET_GRE_NAME — Returns the name of the government reporting entity associated with a given soft coding keyflex identifier. As documented in the source excerpt, when the identifier resolves to null, the function returns a single space. This deliberate design avoids the need for an outer join and correctly handles non-US business groups that do not maintain GRE data.
- GET_GRE_ID — Resolves and returns the government reporting entity identifier. It operates on the same soft coding keyflex and organization information constructs as GET_GRE_NAME and is used where the GRE key rather than its descriptive name is required.
- GET_LOCATION_CODE — Returns the location code associated with a payroll organization, supporting address and jurisdiction reporting requirements for statutory payroll output.
- MISSING_ASSIGNMENT_ACTION — The cursor/construct most directly associated with the user search term "missing_assignment_action." It identifies assignment actions absent from a payroll action, providing the exception-detection logic behind the package's "Employee Not Processes" designation. The definition was explicitly modified in version 115.3 to reduce execution cost, indicating it is invoked against potentially large payroll action data sets.
Tables Accessed
The package reads from five tables through APPS synonyms:
- HR_ORGANIZATION_INFORMATION — Supplies organization classification context; the GET_GRE_NAME cursor filters on org information context 'CLASS' with org_information1 = 'HR_LEGAL' to isolate legal entities.
- HR_SOFT_CODING_KEYFLEX — Holds the soft coding keyflex identifier whose segment1 links to the government reporting entity organization.
- HR_ORGANIZATION_UNITS — Provides the organization name (and identifier) of the government reporting entity itself.
- PAY_ASSIGNMENT_ACTIONS — The core payroll action table inspected by MISSING_ASSIGNMENT_ACTION to detect assignment actions that were expected but not created.
- PER_TIME_PERIODS — Supplies the payroll period context (dates and period identifiers) against which action completeness is evaluated.
PAY_PAYROLL_ACTIONS is also among the documented references, supporting the correlation of assignment actions to their parent payroll actions.
Usage Notes
PAYRPENP is referenced by two other packages, indicating it functions as a shared service layer rather than an entry-point API. It is typically invoked indirectly from payroll reporting logic, concurrent programs, and validation routines that need to resolve GRE names, GRE identifiers, or location codes, or that need to flag assignment actions not processed within a payroll run. Because GET_GRE_NAME intentionally returns a space instead of null for non-US business groups, consuming code can rely on non-null results without outer-join logic. Customizations should follow the standard EBS practice of calling the package through the APPS schema rather than compiling private copies, since the internal cursor definition of MISSING_ASSIGNMENT_ACTION has been tuned for performance and may change with patching.
-
PACKAGE BODY: APPS.PAYRPENP
12.2.2
-
PACKAGE BODY: APPS.PAYRPENP
12.1.1
-
PACKAGE: APPS.PAYRPENP
12.2.2
-
PACKAGE: APPS.PAYRPENP
12.1.1
-
APPS.PAYRPENP dependencies on PAY_ASSIGNMENT_ACTIONS
12.2.2
-
APPS.PAYRPENP dependencies on PAY_ASSIGNMENT_ACTIONS
12.1.1
-
APPS.PAYRPENP dependencies on PAYRPENP
12.2.2
-
APPS.PAYRPENP dependencies on PAYRPENP
12.1.1