Search Results get_format




Overview

JG_RX_FAREG_MULTIREPTS is an Oracle E-Business Suite PL/SQL package owned by the APPS schema that supports the Financial Aid Regulatory reporting functionality used by government and public-sector installations. Its name associates it with the JG (Japan) product family, but the "RX" and "FAREG" components indicate it belongs to the regulatory reporting framework that produces statutory asset and retirement (depreciation) reports across multiple reporting formats. In practice, the package acts as a concurrent-program entry point that determines, prepares, and returns the correct report format definition for a requested regulatory submission before the report is actually executed.

The package is declared AUTHID CURRENT_USER, meaning it executes with the privileges of the invoking user rather than as its owner. This design choice allows the package to respect the security context of the concurrent manager or calling session and is typical of report-generation utilities that must resolve application and report metadata dynamically.

Key Procedures and Functions

The metadata documents a single public procedure, GET_FORMAT. It is the sole callable unit exposed by the package specification, confirming that the package has a narrow, single-purpose interface.

GET_FORMAT is a standard Oracle concurrent-program signature: it declares the mandatory errbuf OUT NOCOPY VARCHAR2 and retcode OUT NOCOPY NUMBER parameters first, which the concurrent manager uses to capture the completion message and status of the request. The remaining parameters supply the report context — asset and retirement currency names, an asset report identifier and report identifier for retirement, attribute set names, an asset book, a from-period and to-period range, a major and minor category, plus debug and SQL trace flags. A p_dummy parameter is also declared, typically used as a placeholder to satisfy the concurrent program parameter interface.

The procedure's purpose is to resolve the report format that applies to the supplied asset and retirement report definitions and their associated attribute sets, then to make that format available to the downstream report engine. The debug and SQL trace parameters allow DBAs and support engineers to diagnose format-resolution failures without modifying the code.

Tables Accessed

The package reads from four documented APPS synonyms:

  • FA_RX_MULTIFORMAT_REPS — the multi-format report definitions that map report identifiers to the physical report layouts available.
  • FA_RX_REPORTS — the master regulatory report registry holding the asset and retirement report definitions referenced by the parameters.
  • FND_APPLICATION — used to resolve the owning application of the report so that the correct application context is applied.
  • FND_CONCURRENT_PROGRAMS — used to validate and resolve the concurrent program definition that drives report execution.

Only SELECT activity is implied; the package is a resolver, not a maintenance utility.

Usage Notes

JG_RX_FAREG_MULTIREPTS is intended to be invoked as a concurrent program rather than from a form. Its GET_FORMAT procedure is registered as the executable for one or more regulatory reporting concurrent programs, and the concurrent manager supplies the parameter values. Custom code should not call this package directly unless it exactly replicates the concurrent-program calling convention, because the errbuf and retcode contract is designed for that framework. Given the last header revision dated 2002, the package has been stable across 12.1.1 and 12.2.2 and requires no migration-specific handling; however, because 12.2.x uses the same database-driven concurrent manager architecture, the FND_CONCURRENT_PROGRAMS lookups behave identically in both releases.