Search Results validate_deduction_hdr




Overview

APPS.PA_DEDUCTIONS_W is a public PL/SQL package in Oracle EBS Projects (PA) that exposes the deductions business logic for Oracle Forms and other Java-based or Web ADI clients. It belongs to the Projects Management suite and operates on deduction header and transaction records that represent amounts withheld from supplier invoices, expense reports, or other project-related payments in the context of project accounting and payables integration. The package is declared with AUTHID CURRENT_USER, so all SQL executed inside it runs with the privileges of the calling schema rather than the definer, which is significant for APPS-based invocations where synonyms and grants must be in place. The "_W" suffix is the Oracle Applications convention for a wrapper package generated to support the Rosetta/Forms-over-Java bridge, allowing a Java or middle-tier client to pass and receive PL/SQL table types across the JDBC boundary. The package represents the documented, supported entry point for creating, updating, deleting, and validating deduction headers and lines, and it shields callers from the underlying PA_DEDUCTIONS package internals.

Key Procedures and Functions

The documented API surface consists of sixteen procedures, split into the Rosetta bridge utilities and the business operations. The bridge procedures copy data between the JTF table types used by the Java layer and the PL/SQL collections defined in PA_DEDUCTIONS.

Tables Accessed

The ETRM metadata lists PLITBLM as the referenced table via an APPS synonym. PLITBLM is the Oracle Applications temporary/interface table used by the PL/SQL table-handling utility layer that supports the Rosetta bridge; it is not a base application table and stores transient data needed for passing PL/SQL tables between the Java middle tier and the database. The deduction header and transaction records ultimately live in PA_DEDUCTIONS-owned base tables accessed through the package body, but only PLITBLM is documented in the metadata excerpt provided. Readers should treat PLITBLM as infrastructure rather than a transactional store, and should not build custom reports directly against it.

Usage Notes

PA_DEDUCTIONS_W is normally invoked indirectly. Oracle Forms and the Oracle E-Business Suite middle-tier services call the Rosetta bridge procedures to marshal a PL/SQL table of deduction records across JDBC, then the corresponding CREATE, UPDATE, DELETE, and VALIDATE procedures execute the business logic. Typical declarative callers are Deductions setup forms and any deduction maintenance screens in Projects. Custom integrations and extensions may call the business procedures directly from PL/SQL to load or adjust deductions, but because the package is AUTHID CURRENT_USER, the invoking schema must hold EXECUTE on PA_DEDUCTIONS_W and the necessary object privileges on PA_DEDUCTIONS and PLITBLM. The validate procedures should be called before create and update calls so that business-rule violations are handled as return errors rather than failed DML. The package is referenced by zero other packages per the documented metadata, indicating it sits at the top of the call chain for deduction maintenance rather than acting as a shared internal library.