Search Results check_district_filter




Overview

The PL/SQL package body APPS.ISC_FS_RPT_UTIL_PKG is a reporting utility package in Oracle E-Business Suite, owned by the APPS schema and validated in both 12.1.1 and 12.2.2. It belongs to the ETRM/ISC (Enterprise Territory and Resource Management, formerly Incentive Compensation and field service reporting) reporting framework, and is classified as an OTHER API rather than a public, concurrency-safe interface. Its purpose is to provide shared helper routines to the ISC reporting suite: constructing dynamic SQL, registering dimension and level metadata, resolving report parameters, binding drill-down context, and generating the WHERE-clause fragments that drive the ISC_FS_002_MV materialized view and its related report pages. The package exposes 28 documented procedures and functions, and it is referenced by 10 other database objects, indicating that it functions as a common library for the ISC reporting stack rather than as a standalone entry point.

Key Procedures and Functions

The documented program units group into several functional clusters:

Tables Accessed

The package does not maintain application data tables of its own. Its documented table references are DBMS_SQL and PLITBLM, accessed through APPS synonyms; the latter is the PL/SQL table/index-by table utility used for bind and parameter collections, and the former underpins dynamic SQL parsing, binding, and execution. In addition, the package depends on ISC_FS_002_MV, the materialized view supplying the report's underlying data. Reporting metadata and parameter structures are supplied by the BIS layer: BIS_BUCKET_PUB, BIS_PMV_PARAMETERS_PUB, BIS_PMV_PAGE_PARAMETER_REC/TBL, BIS_QUERY_ATTRIBUTES(_TBL), and BIS_UTILITIES_PUB. Formatting and messaging rely on FND_DATE and FND_MESSAGE, while territory/incentive reporting is served via JTF_RS_DBI_CONC_PUB, POA_DBI_TEMPLATE_PKG, and POA_DBI_UTIL_PKG. The package itself is not referenced by any database object, but it references itself internally.

Usage Notes

ISC_FS_RPT_UTIL_PKG is not intended for direct invocation by end users. It is called from within the ISC reporting layer—typically the concurrent programs, OAF pages, or packaged report drivers that render ISC field service and dashboard reports—and from the 10 dependent database objects that consume its utility routines. Because it manipulates dynamic SQL through DBMS_SQL and relies on BIS parameter tables, callers must initialize the BIS report parameter context and any bucket definitions before invoking the SQL-building routines. The GET_SEC_WHERE_CLAUSE, CHECK_DISTRICT_FILTER, and drill-down functions are the standard hooks used to enforce responsibility-level data security and to wire drill-down navigation. Customizations should avoid modifying this package directly; the supported extension points are the custom bind parameter and detail column routines, which allow additional columns or binds to be introduced without altering the core reporting logic.