Search Results hr_user_init_dedn




Overview

APPS.HR_USER_INIT_DEDN is a PL/SQL package that supports the initialization and maintenance of user-defined deduction templates within Oracle E-Business Suite Payroll and Benefits processing. Its name reflects its role as a "user initialization" utility for deduction elements — the mechanism through which the system seeds, validates, and cleans up the element, input value, balance, and formula records that collectively define a payroll deduction. The package operates entirely within the APPS schema and is classified as a non-public API (classification OTHER), meaning it is intended for internal use by Oracle's own deduction-processing infrastructure rather than as a supported extension point.

The package is validated against Oracle EBS 12.1.1 and 12.2.2. It belongs to the HR/Payroll functional family and is a foundational plumbing layer beneath higher-level deduction driver logic and balance-based processing.

Key Procedures and Functions

The ETRM metadata documents five procedures or functions. Their purposes are as follows:

  • INS_DEDUCTION_TEMPLATE — Inserts the template definition rows that establish a new user-defined deduction, creating the core element and associated setup records required before the deduction can be used.
  • GET_ASSOC_ELE — Retrieves the associated element or elements linked to a given deduction template, enabling callers to resolve the element identity from template context. Despite the truncated "TO" listing, this is the accessor used by dependent packages such as HR_USER_DEDN_DRV.
  • LOCK_TEMPLATE_ROWS — Acquires row-level locks on template records to serialize concurrent modification and prevent race conditions during template creation or update.
  • DO_DELETIONS — Removes deduction template rows and their dependent setup data, providing the inverse of the insert path and supporting cleanup of obsolete or redefined templates.
  • (Listed as "TO") — The metadata fragment lists a further routine whose full name is truncated in the source documentation; it is treated as an auxiliary helper within the same internal processing path.

Parameter lists are not documented in the ETRM excerpt and are intentionally not reproduced here.

Tables Accessed

The package works against a broad set of Payroll datamodel tables, accessed through APPS synonyms. These fall into three logical groups:

Usage Notes

HR_USER_INIT_DEDN is referenced by HR_USER_DEDN_DRV, PAY_US_DEDN_TEMPLATE_WRAPPER, PAY_ALL_DEDUCTION_TYPES_V, and by itself, and it references only SYS.STANDARD. It is invoked indirectly whenever a user-defined deduction template is created, copied, or deleted — typically from Oracle Payroll deduction setup flows. Because it is not a declared public API, customizations should call supported element APIs rather than this package directly.