Search Results pretax_deduction_template
Overview
HR_GENERATE_PRETAX is an Oracle EBS PL/SQL package owned by the APPS schema and classified under the Oracle E-Business Suite Human Resources (HR) and Payroll product family. Its core business function is the automatic generation and configuration of pre-tax deduction elements within Oracle Payroll. In payroll processing, pre-tax deductions—such as employee contributions to retirement plans, health insurance premiums, flexible spending accounts, and similar benefit programs—must reduce an employee's taxable gross before statutory tax calculations are applied. Rather than requiring payroll administrators to manually configure every element, input value, balance feed, and status processing rule, this package provides a template-driven mechanism to provision the complete set of dependent payroll objects required for a functioning pre-tax deduction. The package holds a VALID status in the ETRM repository, confirming it is a supported, compiled database object in both Oracle EBS 12.1.1 and 12.2.2. Its designation as an "OTHER" API classification indicates it is an internal utility rather than a public, guaranteed-interface API, and it is therefore intended for controlled use by Oracle's own payroll setup flows or by expert consultants rather than broad external integration.
Key Procedures and Functions
The documented metadata exposes a single procedure, PRETAX_DEDUCTION_TEMPLATE. Based on the object's purpose, this procedure creates the payroll element and the surrounding configuration needed to support a pre-tax deduction. It is the entry point through which the template logic is applied, driving the insertion and linkage of element classification records, element definitions, input values, balance definitions, balance feeds, and processing rules. No parameter list is documented in the ETRM metadata, and none should be assumed; the calling convention is internal and governed by the package specification as shipped. The procedure operates as an orchestration routine: it coordinates multiple inserts and updates across the payroll configuration tables so that the resulting deduction is immediately usable in payroll runs.
Tables Accessed
The package references a broad set of payroll configuration tables through APPS synonyms. FF_FORMULAS_F and FF_FORMULAS_S hold the FastFormula definitions used to calculate the deduction amount and its tax treatment. PAY_ELEMENT_CLASSIFICATIONS and PAY_ELEMENT_TYPES_F define the deduction element and its classification (for example, a pre-tax deduction classification). PAY_INPUT_VALUES_F stores the input values that populate the element at assignment time, such as employee contribution amount or percentage. PAY_BALANCE_TYPES, PAY_DEFINED_BALANCES, PAY_BALANCE_CLASSIFICATIONS, PAY_BALANCE_DIMENSIONS, and PAY_BALANCE_FEEDS_F collectively define the balance that the deduction feeds, its classification, dimensional context, and the feed link that routes the element's results into that balance so taxable gross can be reduced. PAY_STATUS_PROCESSING_RULES_F governs how the element behaves under different assignment and payroll run statuses. PAY_USER_TABLES supplies lookup-style seed data used during generation. Together these tables represent the complete dependency graph required for a functioning pre-tax deduction and explain why the package is not a simple single-table utility.
Usage Notes
HR_GENERATE_PRETAX is an internal configuration utility. It is most commonly invoked during payroll and benefits setup when a standardized pre-tax deduction must be instantiated, and it is referenced by only one other documented package, HR_USER_DEDN_DRV, which appears to be the driver that calls it in the context of user-defined deduction creation. It is not intended to be called directly from concurrent program submissions or from personalizations without careful review, because it writes to core payroll configuration tables that drive balance feeds and tax calculation. Any custom or extension code that calls this package should execute within a controlled transaction, validate that the target element and balance names do not already exist, and be tested thoroughly in a non-production environment, since malformed balance feeds or processing rules can corrupt taxability calculations across the enterprise. Because the interface is undocumented and classified as OTHER, Oracle does not guarantee its signature across patch levels, and implementers should re-validate behavior after applying payroll or HR patches or after upgrading between 12.1.1 and 12.2.2.
-
PACKAGE: APPS.HR_GENERATE_PRETAX
12.2.2
-
PACKAGE: APPS.HR_GENERATE_PRETAX
12.1.1
-
APPS.HR_GENERATE_PRETAX SQL Statements
12.2.2
-
APPS.HR_GENERATE_PRETAX SQL Statements
12.1.1
-
PACKAGE BODY: APPS.HR_GENERATE_PRETAX
12.2.2
-
PACKAGE BODY: APPS.HR_GENERATE_PRETAX
12.1.1
-
APPS.HR_GENERATE_PRETAX dependencies on HR_GENERATE_PRETAX
12.2.2
-
APPS.HR_GENERATE_PRETAX dependencies on HR_GENERATE_PRETAX
12.1.1
-
APPS.HR_GENERATE_PRETAX dependencies on HR_UTILITY
12.2.2
-
APPS.HR_GENERATE_PRETAX dependencies on HR_UTILITY
12.1.1