Search Results generate_base_summ_data_f
Overview
CN_BIS_SRP_DATA_GEN_PVT is a private PL/SQL package in the APPS schema that supports the Oracle Channel Revenue Management (formerly Oracle Sales Compensation / CN) salesperson reporting infrastructure. Its sole business purpose is to populate and maintain the salesperson base summary table CN_SRP_DATA_SUMM_F, which stores pre-aggregated sales performance data used by the Sales Resource Planning (SRP) and Business Intelligence reporting layer. The package declaration uses AUTHID CURRENT_USER, meaning its procedures execute with the privileges of the invoking user rather than the package owner, which is consistent with a utility package invoked by concurrent programs running under a defined responsibility. The package is classified as PVT (private), indicating it is a supporting implementation object rather than a public application programming interface; it is intended to be called internally by concurrent programs and not directly by external customizations. The base summary table it maintains feeds downstream analytical and reporting queries, allowing salesperson-level data to be retrieved efficiently without repeatedly aggregating transaction-level source records.
Key Procedures and Functions
The package exposes two documented procedures, both of which accept the standard concurrent program error-buffer and return-code OUT parameters (x_errbuf and x_retcode) so that they may be registered directly as concurrent program executables.
- GENERATE_BASE_SUMM_DATA_C — Executes a complete refresh of the salesperson base summary table. It accepts a start date and an end date to scope the data range being summarized. The complete refresh mode rebuilds the summary contents for the specified period, making it appropriate when a full reconciliation of historical summary data is required or when the underlying transactional data has changed substantially.
- GENERATE_BASE_SUMM_DATA_F — Executes a fast (incremental) refresh of the same summary table. Unlike the complete mode, this procedure does not take date range parameters in its documented signature and is designed to apply only incremental changes, providing a lighter-weight and faster alternative when the source data has changed on a limited scale.
The naming convention (_C for complete and _F for fast) mirrors the standard Oracle refresh-mode pattern and allows the same summary target to be maintained through two distinct strategies depending on data volume and freshness requirements.
Tables Accessed
The documented metadata identifies CN_SRP_DATA_SUMM_F as the target table populated by both procedures. Based on the package header comments, both the complete and fast refresh procedures write to this single base summary table, with the complete variant rebuilding it across the date range supplied and the fast variant applying incremental updates. The referenced tables list via APPS synonyms is not enumerated in the available ETRM excerpt; the source transactions and dimension tables read by the procedures to build the aggregate are not documented in the supplied material and should not be assumed. In practice, the summary table is read by SRP reporting components and concurrent reporting programs rather than by the package itself.
Usage Notes
This package is designed to be invoked by concurrent programs, which is evident from the presence of the standard x_errbuf and x_retcode OUT parameters in both procedure signatures. The complete refresh procedure is typically scheduled when a full rebuild of the salesperson summary is required, such as during initial setup, period-close reconciliation, or after bulk loads of transactional data. The fast refresh procedure is suited to frequent incremental runs where only a small portion of the source data has changed. Because the package is marked PVT and AUTHID CURRENT_USER, custom code should not call these procedures directly; instead, the supported path is to submit the associated concurrent programs or use Oracle-provided wrappers. The package was last modified in the 2003 timeframe per the header signature and remains compatible with EBS 12.1.1 and 12.2.2, where it continues to serve the CN/BIS salesperson summary generation workflow. Referenced-by analysis shows no other packages depending on it, reinforcing its role as a terminal utility invoked from the concurrent manager rather than a reusable API.
-
PACKAGE: APPS.CN_BIS_SRP_DATA_GEN_PVT
12.2.2
-
PACKAGE: APPS.CN_BIS_SRP_DATA_GEN_PVT
12.1.1
-
PACKAGE BODY: APPS.CN_BIS_SRP_DATA_GEN_PVT
12.2.2
-
PACKAGE BODY: APPS.CN_BIS_SRP_DATA_GEN_PVT
12.1.1
-
APPS.CN_BIS_SRP_DATA_GEN_PVT dependencies on CN_BIS_SRP_DATA_GEN_PVT
12.1.1
-
APPS.CN_BIS_SRP_DATA_GEN_PVT dependencies on CN_BIS_SRP_DATA_GEN_PVT
12.2.2