Search Results pay_run_result_pkg
Overview
APPS.PAY_RUN_RESULT_PKG is a server-side PL/SQL package within the Oracle E-Business Suite Payroll (PAY) module. Its principal business function is to create, maintain, and retrieve payroll run results — the persistent records that capture the outcome of processing an element entry through a payroll run for a given assignment within an assignment action, payroll, and time period. During a payroll run, the payroll engine evaluates element entries and produces run results and their associated run result values. This package encapsulates the logic by which those result rows and their value rows are inserted, updated, and read, ensuring that direct results, indirect results, and their dependent values remain consistent with the underlying element entries and input values.
The package is classified as OWNER APPS, status VALID, with an API classification of OTHER. It is referenced by four other packages, making it a shared, low-level utility used across payroll result processing rather than a standalone business flow.
Key Procedures and Functions
The documented interface exposes five procedures and functions:
- CREATE_RUN_RESULT — Creates the primary payroll run result record for an element entry processed within a run context.
- CREATE_RUN_RESULT_DIRECT — Creates a run result classified as a direct result, originating from the element entry itself.
- CREATE_INDIRECT_RR — Creates an indirect run result, i.e., a result generated as a consequence of processing rather than from a direct element entry.
- MAINTAIN_RR_VALUE — Maintains (inserts or updates) run result value rows associated with a run result.
- GET_RESULT_VALUE — Retrieves the stored value for a given run result, supporting downstream consumers that read payroll outcomes.
All five are documented as belonging to the package; parameter signatures are not enumerated in the supplied metadata and are intentionally not reproduced here.
Tables Accessed
The package references the following tables via APPS synonyms:
- PAY_RUN_RESULTS and PAY_RUN_RESULTS_S — the run result base table and its corresponding date-tracked (shadow) table, used when creating and querying run results.
- PAY_RUN_RESULT_VALUES — stores the individual values associated with each run result; maintained by MAINTAIN_RR_VALUE and read by GET_RESULT_VALUE.
- PAY_ELEMENT_ENTRIES_F and PAY_ELEMENT_ENTRY_VALUES_F — the element entry and entry value date-tracked tables that define the input being processed.
- PAY_ELEMENT_TYPES_F — element type definitions, providing classification of elements and their result behaviors.
- PAY_INPUT_VALUES_F — input value definitions governing the element's inputs.
- PER_TIME_PERIODS — period definitions used to anchor run results to a valid time period.
- DUAL — standard single-row utility source.
Reads are used to validate and resolve element, entry, input, and period context; writes populate run result and run result value rows.
Usage Notes
PAY_RUN_RESULT_PKG is invoked internally by the payroll run engine and consumed by other payroll packages. Documented dependents include HRASSACT, PAY_BAL_ADJUST, PAY_RETRO_PKG, and the PAY_RUN_RESULTS_V3 view, indicating reuse in assignment action processing, balance adjustment, retroactive pay recalculation, and reporting. Custom code and extensions should prefer calling the documented procedures rather than inserting directly into PAY_RUN_RESULTS, so that date-tracked shadow rows and dependent run result values remain synchronized. The package operates against APPS synonyms and therefore executes within the APPS schema or a schema granted equivalent privileges; the STANDARD package is its only external dependency.
-
PACKAGE: APPS.PAY_RUN_RESULT_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_RUN_RESULT_PKG, status:VALID,
-
PACKAGE: APPS.PAY_RUN_RESULT_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_RUN_RESULT_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_RUN_RESULT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_RUN_RESULT_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_RUN_RESULT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_RUN_RESULT_PKG, status:VALID,
-
PACKAGE: APPS.PAY_RUN_RESULT_PKG
12.1.1
-
PACKAGE: APPS.PAY_RUN_RESULT_PKG
12.2.2
-
SYNONYM: APPS.PAY_RUN_RESULTS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_RUN_RESULTS_S, status:VALID,
-
SYNONYM: APPS.PAY_RUN_RESULTS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_RUN_RESULTS_S, status:VALID,
-
PACKAGE: APPS.HR_DYNSQL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_DYNSQL, status:VALID,
-
PACKAGE: APPS.HR_DYNSQL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_DYNSQL, status:VALID,
-
VIEW: APPS.PAY_RUN_RESULT_VALUES_V3
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_RUN_RESULT_VALUES_V3, object_name:PAY_RUN_RESULT_VALUES_V3, status:VALID,
-
PACKAGE BODY: APPS.PAY_RETRO_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_RETRO_PKG, status:VALID,
-
VIEW: APPS.PAY_RUN_RESULT_VALUES_V3
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_RUN_RESULT_VALUES_V3, object_name:PAY_RUN_RESULT_VALUES_V3, status:VALID,
-
PACKAGE: APPS.HR_CURRENCY_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_CURRENCY_PKG, status:VALID,
-
PACKAGE: APPS.HR_CURRENCY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_CURRENCY_PKG, status:VALID,
-
PACKAGE BODY: APPS.HRASSACT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HRASSACT, status:VALID,
-
PACKAGE BODY: APPS.PAY_RETRO_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_RETRO_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_BAL_ADJUST
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_BAL_ADJUST, status:VALID,
-
PACKAGE BODY: APPS.PAY_BAL_ADJUST
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_BAL_ADJUST, status:VALID,
-
PACKAGE BODY: APPS.HRASSACT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HRASSACT, status:VALID,
-
PACKAGE: APPS.PAY_CORE_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_CORE_UTILS, status:VALID,
-
SYNONYM: APPS.PAY_RUN_RESULT_VALUES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_RUN_RESULT_VALUES, status:VALID,
-
PACKAGE BODY: APPS.PAY_RUN_RESULT_PKG
12.2.2
-
PACKAGE: APPS.PAY_CORE_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_CORE_UTILS, status:VALID,
-
PACKAGE BODY: APPS.PAY_RUN_RESULT_PKG
12.1.1
-
SYNONYM: APPS.PAY_RUN_RESULT_VALUES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_RUN_RESULT_VALUES, status:VALID,
-
APPS.PAY_BAL_ADJUST dependencies on PAY_RUN_RESULT_PKG
12.1.1
-
PACKAGE: APPS.GL_CURRENCY_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GL_CURRENCY_API, status:VALID,
-
PACKAGE: APPS.GL_CURRENCY_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GL_CURRENCY_API, status:VALID,
-
APPS.PAY_RUN_RESULT_PKG dependencies on PAY_RUN_RESULT_PKG
12.2.2
-
APPS.PAY_RUN_RESULT_PKG dependencies on PAY_RUN_RESULT_PKG
12.1.1
-
APPS.PAY_RUN_RESULT_VALUES_V3 dependencies on PAY_RUN_RESULT_PKG
12.2.2
-
APPS.HRASSACT dependencies on PAY_RUN_RESULT_PKG
12.1.1
-
SYNONYM: APPS.PAY_RUN_RESULTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_RUN_RESULTS, status:VALID,
-
APPS.PAY_RUN_RESULT_VALUES_V3 dependencies on PAY_RUN_RESULT_PKG
12.1.1
-
APPS.PAY_RETRO_PKG dependencies on PAY_RUN_RESULT_PKG
12.1.1
-
APPS.PAY_RETRO_PKG dependencies on PAY_RUN_RESULT_PKG
12.2.2
-
APPS.HRASSACT dependencies on PAY_RUN_RESULT_PKG
12.2.2
-
APPS.PAY_BAL_ADJUST dependencies on PAY_RUN_RESULT_PKG
12.2.2
-
SYNONYM: APPS.PAY_ELEMENT_ENTRY_VALUES_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_ELEMENT_ENTRY_VALUES_F, status:VALID,
-
SYNONYM: APPS.PAY_RUN_RESULTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_RUN_RESULTS, status:VALID,
-
SYNONYM: APPS.PAY_ELEMENT_ENTRY_VALUES_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_ELEMENT_ENTRY_VALUES_F, status:VALID,
-
SYNONYM: APPS.PER_TIME_PERIODS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_TIME_PERIODS, status:VALID,
-
SYNONYM: APPS.PER_TIME_PERIODS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_TIME_PERIODS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.PAY_ELEMENT_ENTRIES_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_ELEMENT_ENTRIES_F, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.PAY_ELEMENT_ENTRIES_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_ELEMENT_ENTRIES_F, status:VALID,
-
SYNONYM: APPS.PAY_INPUT_VALUES_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_INPUT_VALUES_F, status:VALID,