Search Results pqp_ert_ins




```html

Overview

APPS.PQP_ERT_INS is a member of the Oracle E-Business Suite (EBS) Enterprise Resource Planning (ERP) suite, specifically belonging to the Payroll (PQP) module. The package body is part of the Exception Reporting Tool (ERT) framework, which is designed to help organisations capture, manage, and resolve payroll and HR exceptions. Exception reports in EBS are used to identify discrepancies such as missing or invalid employee data, timecard issues, or payroll calculation errors that would prevent a payroll run from completing successfully.

The primary business function of PQP_ERT_INS is to handle the insertion of exception report definitions and their associated translations into the base tables that drive the Exception Reporting Tool. The package acts as a low-level data access layer, providing the procedural logic required to create new exception report records. It is an internal, non-public API that is called by other EBS components rather than by end users directly. As a valid object in the APPS schema, it operates within the standard EBS security and dependency model, relying on database synonyms and public APIs to perform its tasks.

Key Procedures and Functions

The documented package metadata lists a single procedure: INS_TL. The suffix “_TL” is a standard EBS naming convention indicating that the procedure operates on a translation (TL) table, specifically PQP_EXCEPTION_REPORTS_TL. The procedure is responsible for inserting translated (language-specific) rows for exception report definitions. In EBS, translatable entities store the base record in a primary table and the language-dependent text (such as report name and description) in a corresponding _TL table. The INS_TL procedure inserts the appropriate translation rows for one or more languages, ensuring that exception reports are displayed in the user’s session language.

While the exact parameter list is not documented in the provided metadata, the procedure typically accepts identifiers for the exception report, the language code, the source language, and the translated text fields. It is likely designed to be called during the setup or migration of exception report definitions, either from a concurrent program, a setup script, or another PL/SQL package. The procedure deviates from the standard HR_API pattern by directly inserting into the translation table, which suggests it is a private helper routine rather than a public API. No other procedures or functions are documented for this package body.

Tables Accessed

The package body references two tables via APPS synonyms: FND_LANGUAGES and PQP_EXCEPTION_REPORTS_TL. The primary table PQP_EXCEPTION_REPORTS_TL stores the language-specific text for exception report definitions. The INS_TL procedure writes to this table, inserting rows that associate a report definition with a language and provide the translated name and description. This table is essential for multilingual support in EBS, allowing exception reports to appear correctly in the user’s language.

The FND_LANGUAGES table is the Oracle Application Object Library (AOL) table that lists all installed languages in the EBS instance. It is referenced, likely within the INS_TL procedure, to validate the language code and to ensure that only installed languages are inserted into the translation table. This dependency is typical for any translation-handling routine. The package does not appear to access any other tables directly, relying instead on other packages such as PQP_ERT_BUS and PQP_ERT_RKI for related business logic and row-level operations.

Usage Notes

PQP_ERT_INS is an internal package body that is not intended to be called directly by end users or custom code. It is referenced by at least one other package (documented as “Referenced by 1 other packages”), which is likely a higher-level API responsible for managing exception report definitions. The package is typically invoked during the setup, migration, or patching of exception report data, such as when loading predefined exception reports delivered by Oracle or when applying translations during a language installation.

In the context of Oracle EBS 12.1.1 and 12.2.2, the package operates under the APPS schema and uses the standard EBS dependency model. Customisations should avoid calling this package directly, as it is subject to change without notice. Instead, developers should use the documented public APIs (such as PQP_ERT_BUS) for any custom exception report creation. The package is not referenced by any database object outside the ERT framework, confirming its role as a private implementation detail. Its validity in both releases indicates that the underlying logic has remained stable across the 12.1 and 12.2 code lines.

```