Search Results get_last_day




Overview

RCI_OPEN_REMED_SUMM_PKG is a PL/SQL package body owned by the APPS schema that supports the Oracle E-Business Suite Risk and Compliance (formerly Enterprise Governance, Risk, and Compliance / ETRM) functionality for tracking open remediation activity. Its principal business purpose is to populate and maintain the summary and detail data used by the Open Remediations dashboard pages and the underlying summary tables. The package assembles the SQL that drives KPI page regions, retrieves open remediation results and drill-down details for findings and remediations, and performs initial and incremental data loads that synchronize RCI summary entity tables with their source engineering change and audit data.

The package is registered with an API classification of OTHER and is not referenced by any other documented package, indicating it is invoked directly by dashboard regions, concurrent programs, or setup routines rather than called from other packaged APIs. Global constants C_ERROR (-1), C_WARNING (1), and C_OK (0) conform to standard concurrent manager exit codes, and the INITIALIZATION_ERROR exception (error -20900, "Error in Global setup") signals failures in required environment or setup validation. File-scope variables include g_global_start_date and g_rci_schema, while G_USER_ID and G_LOGIN_ID are initialized from FND_GLOBAL.

Key Procedures and Functions

The package exposes sixteen documented program units:

Tables Accessed

The package reads and writes the following tables through APPS synonyms:

Usage Notes

RCI_OPEN_REMED_SUMM_PKG is typically invoked in three contexts. First, the KPI and detail functions (GET_KPI, GET_OPEN_REMEDIATION_RESULT, GET_FINDINGS_DETAILS, GET_REMEDIATIONS_DETAILS) are called by Oracle Applications Framework dashboard regions to render the Open Remediations pages, invoked under the FND_GLOBAL session user. Second, the initial and incremental load procedures are executed as concurrent programs or scheduled jobs to keep the summary tables current with source engineering change data; CHECK_INITIAL_LOAD_SETUP should be run first to confirm global setup. Third, the package may be called from custom code for ad hoc remediation reporting. Because it is not referenced by other packaged APIs and contains dynamic SQL, DBAs should review its WHERE-clause construction and ensure the required global setup records (g_rci_schema) are configured before execution.