Search Results get_from_cc_sr_buffer
Overview
APPS.CSC_RESPONSE_CENTER_PKG is a PL/SQL package body belonging to the Oracle E-Business Suite Customer Care (CSC) module, specifically the Response Center / TeleService agent-facing infrastructure. It is classified under the ETRM metadata as API classification OTHER, indicating it is not a formal public-interface API but rather an internal utility and helper package. The package body header dates to 2005 (CSCCCRCB.pls, version 120.4) and it remains documented through release 12.2.2. Its business purpose is to support the Response Center UI and related service-request processing logic by supplying standard FND_API constant wrappers, error-handling helpers, address and phone detail retrieval, and a lightweight in-memory buffer used while staging customer service request (CSR) data during a call-handling session.
The package is of particular interest to developers searching for "get_phone_details," since it exposes documented functions for retrieving phone and site-phone information tied to parties, accounts, and contact points. Referenced by zero other packages in the metadata, it is a leaf-level dependency consumed directly by forms or calling code rather than a shared library for other PL/SQL units.
Key Procedures and Functions
The 16 documented units fall into three groups.
- FND_API constant accessors: G_MISS_NUM, G_MISS_CHAR, and G_MISS_DATE return the corresponding FND_API "missing value" constants. G_VALID_LEVEL maps a character level ('NONE' or 'FULL') to FND_API.G_VALID_LEVEL_NONE or G_VALID_LEVEL_FULL, and G_BOOLEAN maps 'TRUE'/'FALSE' to FND_API.G_TRUE/G_FALSE. Both raise G_EXC_UNEXPECTED_ERROR and log via FND_MSG_PUB.Add_Exc_Msg on unrecognized input.
- Error and setup helpers: GET_ERROR_CONSTANT, INIT_CC_SR_INT, and the buffer routines — PUT_IN_CC_SR_BUFFER, GET_FROM_CC_SR_BUFFER, and INIT_CC_SR_BUFFER — manage retrieval of error constants and the initialization and staging of CSR data during a response-center interaction.
- Retrieval functions: GET_ADDRESS_REC_TYPE returns the record type used for address handling; GET_ACCOUNT_DETAILS returns account information; GET_PHONE_DETAILS retrieves phone information (the object of the user's search); GET_SITEPHONE_DETAILS retrieves site-level phone numbers; PHONE_FORMAT_WRAP applies formatting to a phone number; and START_MEDIA_ITEM initiates a media item associated with the interaction.
Tables Accessed
- HZ_CONTACT_POINTS — the primary source for phone and contact-point details returned by GET_PHONE_DETAILS and GET_SITEPHONE_DETAILS.
- HZ_CUST_ACCOUNTS — supplies account information for GET_ACCOUNT_DETAILS and links accounts to their phone records.
- HZ_PARTY_SITES — provides site addresses and site-level phone associations used by GET_SITEPHONE_DETAILS and GET_ADDRESS_REC_TYPE.
- PLITBLM — an Oracle-supplied index-by-table-of-varchar2 utility type (via the DBMS_UTILITY/PLITBLM package) used for internal PL/SQL collection handling, not business data.
Usage Notes
Because it is not a formal API and is referenced by no other packages, CSC_RESPONSE_CENTER_PKG is invoked directly — typically from Oracle Forms in the Response Center / TeleService agent flows, where the phone and account detail functions populate UI fields during a customer call. The buffer routines are session-scoped staging mechanisms; they should be initialized with INIT_CC_SR_BUFFER before use and are not intended for cross-session persistence. Custom code may call GET_PHONE_DETAILS to resolve a party's or account's phone number, but developers should treat the package as internal and non-supported for extension. Validate all HZ_CONTACT_POINTS access against the current TCA data model, and ensure FND_MSG_PUB error-message initialization is present when calling the constant-mapping functions, since they raise exceptions on invalid input.