Search Results pay_upgrade_definitions_s
Overview
APPS.PAY_UPGRADE_DEFINITIONS_PKG is a PL/SQL package body in the Oracle E-Business Suite Payroll (PAY) module. Its primary business function is to manage the metadata that drives Oracle EBS upgrade and legislative data installation processes for payroll. The package maintains the PAY_UPGRADE_DEFINITIONS entity, which stores definitions describing upgrade steps, data migration actions, and related information that the Oracle Payroll upgrade infrastructure consumes during release upgrades and patch application.
Because upgrade definitions include translatable, multilingual descriptive text, the package also acts as a forms- and loader-oriented repository package, providing the standard row-level Data Manipulation Language (DML) operations and translation management routines used by Oracle Application Object Library (AOL) form and loader utilities. The package is registered as VALID in the APPS schema and is documented with an API classification of OTHER, meaning it is intended primarily for internal use by Oracle EBS components rather than published as a public integration API.
Key Procedures and Functions
The ETRM metadata documents seven procedures and functions within the package body:
- INSERT_ROW — Inserts a new upgrade definition record into the base table, populating the definition along with its audit and identity columns.
- UPDATE_ROW — Modifies an existing upgrade definition record, applying changed attribute values to the stored definition.
- LOCK_ROW — Acquires a row-level lock on a specific upgrade definition to guarantee consistency during concurrent access, typically invoked before an update.
- DELETE_ROW — Removes an upgrade definition record from the base table.
- ADD_LANGUAGE — Inserts the translatable (TL) rows for a definition in a newly installed or activated language, seeding translation records so the definition can be displayed in that language.
- LOAD_ROW — Loads a row from supplied data, resolving or validating reference values such as application and legislative context, and delegating to INSERT_ROW/UPDATE_ROW as appropriate; this is the standard entry point used by AOL data loader utilities.
- TRANSLATE_ROW — Maintains translated descriptive columns for an existing definition, updating the TL table for a specified language.
No parameter signatures are asserted here; the metadata documents procedure names and purposes only.
Tables Accessed
The package operates against the following documented tables (referenced through APPS synonyms):
- PAY_UPGRADE_DEFINITIONS — the base table holding upgrade definition records; the target of INSERT, UPDATE, LOCK, and DELETE operations.
- PAY_UPGRADE_DEFINITIONS_S — the sequence used to generate primary keys for new definitions (this is the object referenced in the user's search, "pay_upgrade_definitions_s").
- PAY_UPGRADE_DEFINITIONS_TL — the translation table storing language-specific descriptive text; maintained by ADD_LANGUAGE and TRANSLATE_ROW.
- FND_APPLICATION, FND_LANGUAGES, FND_TERRITORIES — AOL reference tables used to validate application, language, and territory codes carried by definitions.
- PAY_UPGRADE_LEGISLATIONS, PAY_UPGRADE_STATUS — payroll lookup/reference objects used to validate legislative and status values associated with upgrade definitions.
- DUAL — used for single-row expression evaluation.
Usage Notes
PAY_UPGRADE_DEFINITIONS_PKG is invoked primarily through Oracle AOL mechanisms rather than from custom application code. The LOAD_ROW, ADD_LANGUAGE, and TRANSLATE_ROW procedures are the standard routines called by AOL data loader and translation loader utilities when definitions and their language rows are seeded via patch or installation scripts. The INSERT_ROW, UPDATE_ROW, LOCK_ROW, and DELETE_ROW procedures are the conventional supporting operations for an AOL-maintained form.
The documentation records that the package is referenced by one other package and that it is not itself referenced by any database object outside that dependency chain, confirming its role as an internal, upgrade-supporting repository. Because the package is classified as OTHER rather than as a public API, customizations should not call it directly; supported extensions should use the corresponding public payroll APIs. When running upgrades, DBAs should verify the package is VALID in the APPS schema, as its dependencies on HR_API, HR_GENERAL2, HR_UTILITY, FND_MESSAGE, and APP_EXCEPTION must themselves be valid. Application of a failed or partially invalidated version of this package body can cause upgrade definition seeding to fail, leaving the payroll upgrade metadata incomplete.
-
SYNONYM: APPS.PAY_UPGRADE_DEFINITIONS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_UPGRADE_DEFINITIONS_S, status:VALID,
-
SEQUENCE: HR.PAY_UPGRADE_DEFINITIONS_S
12.2.2
owner:HR, object_type:SEQUENCE, object_name:PAY_UPGRADE_DEFINITIONS_S, status:VALID,
-
SEQUENCE: HR.PAY_UPGRADE_DEFINITIONS_S
12.1.1
owner:HR, object_type:SEQUENCE, object_name:PAY_UPGRADE_DEFINITIONS_S, status:VALID,
-
SYNONYM: APPS.PAY_UPGRADE_DEFINITIONS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_UPGRADE_DEFINITIONS_S, status:VALID,
-
PACKAGE BODY: APPS.PAY_UPGRADE_DEFINITIONS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_UPGRADE_DEFINITIONS_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_UPGRADE_DEFINITIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_UPGRADE_DEFINITIONS_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_US_RSRW_UPGREV
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_US_RSRW_UPGREV, 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.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.PAY_US_RSRW_UPGREV dependencies on PAY_UPGRADE_DEFINITIONS_S
12.2.2
-
APPS.PAY_UPGRADE_DEFINITIONS_PKG dependencies on PAY_UPGRADE_DEFINITIONS_S
12.1.1
-
APPS.PAY_UPGRADE_DEFINITIONS_PKG dependencies on PAY_UPGRADE_DEFINITIONS_S
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1