Search Results remove_plan




Overview

APPS.CSC_CORE_UTILS_PVT is a private (PVT-classified) PL/SQL utility package belonging to the Oracle E-Business Suite Customer Care (CSC) module. Its declared purpose, per the embedded source header (cscvcors.pls, version 115.19, last shipped 2002/12/04), is to house the common procedures, functions, and global variables shared across the Customer Care application. It is not an end-user-facing API; it is the internal toolbox that sibling Customer Care packages call for cross-cutting concerns such as plan lifecycle status handling, standard messaging and return-status constants, and database statistics collection.

The package is declared AUTHID CURRENT_USER, so it executes with the privileges of the invoking schema, which is relevant because it is almost always invoked from within the APPS schema by other Customer Care packages. The metadata confirms it is referenced by 39 other packages, making it a highly central, low-level dependency within the CSC stack. Its constants — G_PVT, G_PUB, G_APP_SHORTNAME (set to 'CSC'), G_PKG_NAME, L_UPDATE, and L_CREATE — establish a consistent naming and action-code convention reused throughout the module.

Key Procedures and Functions

The ETRM metadata documents 46 procedures and functions, grouped functionally as follows.

Tables Accessed

Through APPS synonyms, the package references CS_COUNTERS (the Customer Care module's sequence/counter source, used for generating internal identifiers), FND_APPLICATION (application registration and short-name lookup), and FND_CURRENCIES (currency validation and defaulting). It also depends on the DBMS_SQL and DBMS_TRANSACTION built-in packages — DBMS_SQL for dynamic SQL, most plausibly within GATHER_TABLE_STATS, and DBMS_TRANSACTION for savepoint and rollback handling in the plan utility routines.

Usage Notes

Because CSC_CORE_UTILS_PVT is a private package, it is not designed to be called directly from Oracle Forms or from external custom code; it is invoked internally by the other Customer Care packages that compose the module's public API surface. Customizations that need plan manipulation (REMOVE_PLAN, MERGE_PLAN, and similar) should be implemented through the corresponding Customer Care public APIs rather than through direct calls to this package, and any direct dependency should be treated as unsupported and subject to change. When troubleshooting plan-related behavior — particularly plan removal during Party Merge or plan cleanup — CSC_CORE_UTILS_PVT is the correct starting point for tracing the underlying logic, but the call path will normally originate from a higher-level CSC package or a concurrent program that invokes it. As with all database objects shipped with EBS 12.1.1 and 12.2.2, the package body should be inspected in the deployed instance to confirm the exact behavior, since the ETRM metadata reflects the documented signature set rather than runtime parameter values.