Search Results jl_jlcoglam_xmlp_pkg




Overview

The APPS.JL_JLCOGLAM_XMLP_PKG package is a PL/SQL package that resides in the APPS schema of the Oracle E-Business Suite and carries a VALID status in both 12.1.1 and 12.2.2. Its naming convention follows the standard EBS report-integration pattern used for Oracle Reports (XML Publisher) concurrent programs: the prefix JL identifies the module as Oracle Financials for the localizations (the "JL" product family, which includes Subledger Accounting-related localization features), JLCOGLAM identifies the specific report, and the _XMLP_PKG suffix indicates that the package supplies the report's user-exit and parameter-entry logic. In practice, the package is the server-side component that is invoked by the concurrent manager before, during, and after execution of the JLCOGLAM report. It is responsible for validating the report's input parameters, computing derived parameter values (such as company, NIT, and accounting flexfield ranges), and populating the report's literal text from a database table so that the runtime output is localized and consistent with the user's selections. It also performs the standard Oracle Reports (XMLP) package lifecycle hooks that bracket report execution.

Key Procedures and Functions

The ETRM metadata documents eleven entry points in the package, all of which are public and callable from a concurrent program or the Oracle Reports runtime. They fall into three functional groups.

  • Report lifecycle hooks: BEFOREREPORT, AFTERREPORT, and BEFOREPFORM are the standard XML Publisher concurrent-program entry points. BEFOREREPORT performs pre-execution initialization; AFTERREPORT performs any post-execution housekeeping or cleanup; BEFOREPFORM runs before the report's parameter form is displayed and is typically used to seed or default parameter values.
  • Parameter confirmation and validation: CP_COMP_NIT_P and CP_COMP_NIT_VERF_DIG_P return and/or validate the company NIT (tax identification number) and its verification digit. C_ACCOUNT_START_P, C_ACCOUNT_END_P, and C_CHART_OF_ACCOUNTS_ID_P return the accounting flexfield range start, range end, and chart of accounts identifier, respectively.
  • Literal text and location handling: CP_LITERAL_START_P and CP_LITERAL_END_P return the literal starting and ending values used in the report's literal description, and CP_LOCATION_ID_P returns the location identifier used to filter the report.

Note that the ETRM metadata does not publish the parameter lists for these procedures; any signature must be inspected directly in the database rather than inferred.

Tables Accessed

The documented table dependency is JL_CO_GL_MG_LITERALS, accessed through an APPS synonym. Based on the procedure naming and this table's role, the package reads this table to obtain the localized literal text and related values that are returned by the CP_LITERAL_START_P and CP_LITERAL_END_P functions and that populate the report output. The other documented functions (company NIT, verification digit, account start/end, chart of accounts, and location) derive their values from the report parameters passed in at runtime or from the package's own logic rather than from additional documented tables. No other table dependencies are catalogued in the ETRM metadata, so any further data access should be confirmed via the package body source.

Usage Notes

The package is invoked automatically by the Oracle E-Business Suite concurrent manager when the associated JLCOGLAM (XML Publisher) concurrent program is submitted. The Oracle Reports/XMLP runtime calls BEFOREPFORM, BEFOREREPORT, and AFTERREPORT at the corresponding stages of execution, and calls the CP_* functions as user exits from within the report definition to resolve the report's parameters and literal text. Application users do not normally call these procedures directly; they are activated indirectly through the Run Request (submit concurrent request) form or through the report's parameter form, from which the validated and defaulted values flow into the package. Developers extending or troubleshooting the report should therefore trace execution at the concurrent-program level, inspect the package body for the actual parameter signatures (not published in ETRM), and verify that values returned from JL_CO_GL_MG_LITERALS are correct for the user's ledger and location. Because no other documented packages reference JL_JLCOGLAM_XMLP_PKG, its dependencies are effectively self-contained, which simplifies impact analysis during upgrades or patches.