Search Results pay_proc_environment_pkg
Overview
PAY_PROC_ENVIRONMENT_PKG is a core Oracle Payroll server-side PL/SQL package in the APPS schema that manages the runtime processing environment for payroll runs. Its central responsibility is to establish, track, and tear down the execution context in which a payroll process operates. This context, commonly referred to as the process environment or process action context, ties a specific payroll action (a run of a payroll process such as a payroll run, pre-payments, costing, or a QuickPay) to the legislative rules and payroll action definitions that govern it. By encapsulating this logic, the package provides a single, consistent access point through which other payroll components retrieve the active process action identifier and update its status as processing progresses.
The package is classified as an API of type OTHER under ETRM 12.2.2 and is marked VALID in the 12.1.1 / 12.2.2 reference data. It is a foundational utility rather than a business-facing feature; it does not present user interface elements itself but is invoked throughout the payroll engine and by numerous reporting and processing packages.
Key Procedures and Functions
ETRM documents four callable units within the package:
- INITIALISE_PROC_ENV — Establishes the processing environment at the start of a payroll action. It sets up the internal context required by downstream payroll logic, ensuring that subsequent calls can resolve the correct process action and legislative rules.
- DEINITIALISE_PROC_ENV — Performs the corresponding teardown at the conclusion of processing. It releases or resets the environment so that a later action begins from a clean state.
- GET_PACTID — Returns the process action identifier (PACTID) associated with the current environment. This identifier is the key that links a payroll action to its parameters, status, and results, and is widely used by callers to correlate processing records.
- UPDATE_POP_ACTION_STATUS — Updates the status of the payroll action (POP action) as processing advances, providing the mechanism by which the engine records progress, completion, or failure of a run.
The metadata does not expose parameter lists, and none are stated here; the descriptions reflect the documented function of each unit.
Tables Accessed
The package reads and writes against two principal Payroll tables via APPS synonyms:
- PAY_PAYROLL_ACTIONS — Holds the definition and status of payroll actions. The package uses it to resolve the current action and to persist status changes through UPDATE_POP_ACTION_STATUS.
- PAY_LEGISLATION_RULES — Supplies the legislation-specific rules that govern how a payroll action for a given business group must behave, ensuring the environment is correctly configured for the applicable country/legislative context.
Additional reference metadata lists dependencies on PAY_ACTION_PARAMETERS and PER_BUSINESS_GROUPS, consistent with parameter retrieval and business-group scoping during environment initialisation.
Usage Notes
PAY_PROC_ENVIRONMENT_PKG is referenced by at least ten other APPS packages and components, including PAY_PROC_LOGGING, PAY_RETRO_PKG, PAY_POPULATION_RANGES_PKG, HR_DYNSQL, HR_NONRUN_ASACT, PAY_US_DEPOSIT_ADVICE_PKG, and the payslip reports (PAY_PAYSLIP_REPORT, PAY_NO_PAYSLIP_REPORT, PAY_SE_PAYSLIP_REPORT). This broad dependency footprint confirms that the package is invoked during standard payroll processing, retroactive processing, population-range handling, and payslip and deposit-advice generation.
Typical invocation occurs within concurrent-program execution and internal payroll engine calls rather than directly from Oracle Forms. Custom code that needs to determine the active process action identifier should call GET_PACTID rather than querying PAY_PAYROLL_ACTIONS directly, and any custom initialisation or teardown should follow the INITIALISE_PROC_ENV / DEINITIALISE_PROC_ENV pattern to preserve isolation between runs. Because the package is a documented, valid API, it should be treated as a supported integration point, though callers should avoid assuming undocumented behaviour beyond the four published units.
-
PACKAGE: APPS.PAY_PROC_ENVIRONMENT_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_PROC_ENVIRONMENT_PKG, status:VALID,
-
PACKAGE: APPS.PAY_PROC_ENVIRONMENT_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_PROC_ENVIRONMENT_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_PROC_ENVIRONMENT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PROC_ENVIRONMENT_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_PROC_ENVIRONMENT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PROC_ENVIRONMENT_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_PROC_LOGGING
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PROC_LOGGING, status:VALID,
-
PACKAGE: APPS.PAY_PROC_LOGGING
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_PROC_LOGGING, status:VALID,
-
PACKAGE BODY: APPS.HR_NONRUN_ASACT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_NONRUN_ASACT, status:VALID,
-
PACKAGE BODY: APPS.HR_NONRUN_ASACT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_NONRUN_ASACT, status:VALID,
-
PACKAGE BODY: APPS.PAY_POPULATION_RANGES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_POPULATION_RANGES_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_US_DEPOSIT_ADVICE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_US_DEPOSIT_ADVICE_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_SE_PAYSLIP_REPORT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_SE_PAYSLIP_REPORT, status:VALID,
-
PACKAGE BODY: APPS.PAY_SE_PAYSLIP_REPORT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_SE_PAYSLIP_REPORT, status:VALID,
-
PACKAGE: APPS.PAY_PROC_LOGGING
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_PROC_LOGGING, status:VALID,
-
PACKAGE BODY: APPS.PAY_US_DEPOSIT_ADVICE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_US_DEPOSIT_ADVICE_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_PROC_ENVIRONMENT_PKG
12.2.2
-
PACKAGE BODY: APPS.PAY_PROC_LOGGING
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PROC_LOGGING, 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_NO_PAYSLIP_REPORT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_NO_PAYSLIP_REPORT, status:VALID,
-
PACKAGE BODY: APPS.PAY_PROC_ENVIRONMENT_PKG
12.1.1
-
PACKAGE: APPS.PAY_PROC_ENVIRONMENT_PKG
12.1.1
-
PACKAGE: APPS.PAY_PROC_ENVIRONMENT_PKG
12.2.2
-
PACKAGE BODY: APPS.HR_DYNSQL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_DYNSQL, status:VALID,
-
PACKAGE BODY: APPS.HR_DYNSQL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_DYNSQL, status:VALID,
-
PACKAGE BODY: APPS.PAY_PAYSLIP_REPORT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PAYSLIP_REPORT, status:VALID,
-
PACKAGE BODY: APPS.PAY_NO_PAYSLIP_REPORT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_NO_PAYSLIP_REPORT, status:VALID,
-
PACKAGE BODY: APPS.PAY_POPULATION_RANGES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_POPULATION_RANGES_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_PAYSLIP_REPORT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PAYSLIP_REPORT, status:VALID,
-
PACKAGE BODY: APPS.PAY_RETRO_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_RETRO_PKG, status:VALID,
-
PACKAGE BODY: APPS.PYCADAR_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PYCADAR_PKG, status:VALID,
-
VIEW: APPS.PAY_ACTION_PARAMETERS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_ACTION_PARAMETERS, object_name:PAY_ACTION_PARAMETERS, status:VALID,
-
VIEW: APPS.PAY_ACTION_PARAMETERS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_ACTION_PARAMETERS, object_name:PAY_ACTION_PARAMETERS, status:VALID,
-
SYNONYM: APPS.PAY_LEGISLATION_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_LEGISLATION_RULES, status:VALID,
-
SYNONYM: APPS.PAY_LEGISLATION_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_LEGISLATION_RULES, status:VALID,
-
APPS.HR_DYNSQL dependencies on PAY_PROC_ENVIRONMENT_PKG
12.1.1
-
APPS.HR_NONRUN_ASACT dependencies on PAY_PROC_ENVIRONMENT_PKG
12.2.2
-
APPS.PAY_SE_PAYSLIP_REPORT dependencies on PAY_PROC_ENVIRONMENT_PKG
12.2.2
-
APPS.HR_NONRUN_ASACT dependencies on PAY_PROC_ENVIRONMENT_PKG
12.1.1
-
APPS.PAY_US_DEPOSIT_ADVICE_PKG dependencies on PAY_PROC_ENVIRONMENT_PKG
12.2.2
-
APPS.PAY_RETRO_PKG dependencies on PAY_PROC_ENVIRONMENT_PKG
12.2.2
-
APPS.PAY_PROC_LOGGING dependencies on PAY_PROC_ENVIRONMENT_PKG
12.2.2
-
APPS.PAY_PROC_ENVIRONMENT_PKG dependencies on PAY_PROC_ENVIRONMENT_PKG
12.2.2
-
APPS.PAY_RETRO_PKG dependencies on PAY_PROC_ENVIRONMENT_PKG
12.1.1
-
APPS.PAY_PROC_LOGGING dependencies on PAY_PROC_ENVIRONMENT_PKG
12.1.1
-
APPS.PAY_NO_PAYSLIP_REPORT dependencies on PAY_PROC_ENVIRONMENT_PKG
12.1.1
-
APPS.PAY_POPULATION_RANGES_PKG dependencies on PAY_PROC_ENVIRONMENT_PKG
12.1.1
-
APPS.PAY_NO_PAYSLIP_REPORT dependencies on PAY_PROC_ENVIRONMENT_PKG
12.2.2
-
APPS.PAY_PAYSLIP_REPORT dependencies on PAY_PROC_ENVIRONMENT_PKG
12.2.2
-
APPS.PAY_PROC_ENVIRONMENT_PKG dependencies on PAY_PROC_ENVIRONMENT_PKG
12.1.1
-
APPS.PAY_SE_PAYSLIP_REPORT dependencies on PAY_PROC_ENVIRONMENT_PKG
12.1.1
-
APPS.PAY_US_DEPOSIT_ADVICE_PKG dependencies on PAY_PROC_ENVIRONMENT_PKG
12.1.1