Search Results csl_service_history_pkg
Overview
CSL_SERVICE_HISTORY_PKG is an Oracle EBS Application Object Library (APPS) package body belonging to the Customer Service (CSL) product family. Its central business function is the maintenance and retrieval of service history records associated with service incidents (CS incidents) and their associated tasks. The package provides the PL/SQL layer that captures, calculates, and reports the chronological service activity connected to a given incident so that support and field service organizations can review the complete interaction trail for a customer issue.
The package header comment identifies it as a CSL subsystem component (cslsrhib.pls) and it depends heavily on the JTM Hook utility architecture for change-tracking and publication. It is classified as an OTHER API under the ETRM 12.2.2 metadata, indicating it is not a general-purpose public API but rather a supporting internal routine used by forms, concurrent programs, or other CSL logic. It is referenced by one other package, confirming its role as a downstream dependency rather than a top-level entry point.
Key Procedures and Functions
- GET_HISTORY_COUNT — Returns a count of service history records for a given incident or task context. It is used by callers that need to display or validate the number of history entries without retrieving the full record set.
- CALCULATE_HISTORY — Performs the core computation that determines service history content, typically evaluating incident, task, and status information to derive or summarize history records.
- DELETE_HISTORY — Removes service history records. Because the package body also contains INSERT_MAPPING_RECORD and DELETE_MAP logic that engages JTM_HOOK_UTIL_PKG.Insert_Acc, deletions are coordinated with the accountability/publication framework.
- CONCURRENT_HISTORY — Designed for invocation from an Oracle concurrent program, this entry point drives bulk processing of service history.
Although not listed among the four documented public procedures, the source excerpt reveals internal procedures INSERT_MAPPING_RECORD and DELETE_MAP. These use globals such as g_table_name, g_acc_table_name ('CSL_SERVICE_HISTORY'), the publication item CSL_SERVICE_HISTORY, and the primary keys INCIDENT_ID and HISTORY_INCIDENT_ID to register accountability records through JTM_HOOK_UTIL_PKG.Insert_Acc. Both procedures include full debug logging via JTM_MESSAGE_LOG_PKG and raise exceptions after logging errors.
Tables Accessed
The package reads and writes through APPS synonyms. CSL_SERVICE_HISTORY is the primary data store; CSL_CS_INCIDENTS_ALL_ACC is its accountability shadow table. Incident and task context is drawn from CS_INCIDENTS_ALL_B, CS_INCIDENT_STATUSES_B, JTF_TASKS_B, JTF_TASK_ASSIGNMENTS, JTF_TASK_STATUSES_B, JTF_TASK_TYPES_B, and ASG_USER. JTM_CON_REQUEST_DATA supports concurrent request handling, and PLITBLM is the standard PL/SQL index-by table used for list processing.
Usage Notes
CSL_SERVICE_HISTORY_PKG is invoked from Customer Service forms when displaying incident history, and from concurrent programs through CONCURRENT_HISTORY. Because it relies on JTM_HOOK_UTIL_PKG, any custom code that inserts or deletes history directly must call the same hooks or risk inconsistent accountability data. The package is compatible with both EBS 12.1.1 and 12.2.2, though the source header dates from 2004, so the online patching edition of 12.2.2 uses the identical APPS synonym resolution. Customizations should call the documented procedures rather than depend on internal helpers such as INSERT_MAPPING_RECORD, and should honor the INCIDENT_ID / HISTORY_INCIDENT_ID key pairing when writing custom history logic.
-
APPS.CSL_SERVICE_HISTORY_PKG SQL Statements
12.2.2
-
APPS.CSL_SERVICE_HISTORY_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.CSL_SERVICE_HISTORY_PKG
12.2.2
-
PACKAGE BODY: APPS.CSL_SERVICE_HISTORY_PKG
12.1.1
-
PACKAGE: APPS.CSL_SERVICE_HISTORY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSL_SERVICE_HISTORY_PKG, status:VALID,
-
PACKAGE: APPS.CSL_SERVICE_HISTORY_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSL_SERVICE_HISTORY_PKG, status:VALID,
-
PACKAGE BODY: APPS.CSL_SERVICE_HISTORY_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSL_SERVICE_HISTORY_PKG, status:VALID,
-
PACKAGE: APPS.CSL_SERVICE_HISTORY_PKG
12.1.1
-
PACKAGE: APPS.CSL_SERVICE_HISTORY_PKG
12.2.2
-
PACKAGE BODY: APPS.CSL_SERVICE_HISTORY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CSL_SERVICE_HISTORY_PKG, status:VALID,
-
SYNONYM: APPS.CSL_CS_INCIDENTS_ALL_ACC
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSL_CS_INCIDENTS_ALL_ACC, status:VALID,
-
PACKAGE: APPS.CSL_CS_INCIDENTS_ALL_ACC_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSL_CS_INCIDENTS_ALL_ACC_PKG, status:VALID,
-
SYNONYM: APPS.CSL_SERVICE_HISTORY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSL_SERVICE_HISTORY, status:VALID,
-
SYNONYM: APPS.CSL_SERVICE_HISTORY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSL_SERVICE_HISTORY, status:VALID,
-
SYNONYM: APPS.CSL_CS_INCIDENTS_ALL_ACC
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSL_CS_INCIDENTS_ALL_ACC, status:VALID,
-
PACKAGE: APPS.CSL_JTF_TASKS_ACC_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSL_JTF_TASKS_ACC_PKG, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.CSL_JTF_TASKS_ACC_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSL_JTF_TASKS_ACC_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.CSL_JTF_RESOURCE_EXTNS_ACC_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSL_JTF_RESOURCE_EXTNS_ACC_PKG, status:VALID,
-
PACKAGE: APPS.CSL_JTF_RESOURCE_EXTNS_ACC_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSL_JTF_RESOURCE_EXTNS_ACC_PKG, status:VALID,
-
PACKAGE BODY: APPS.CSL_CS_INCIDENTS_ALL_ACC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CSL_CS_INCIDENTS_ALL_ACC_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.CSL_JTF_TASK_ASS_ACC_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSL_JTF_TASK_ASS_ACC_PKG, status:VALID,
-
PACKAGE: APPS.CSL_JTF_TASK_ASS_ACC_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSL_JTF_TASK_ASS_ACC_PKG, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.CSL_CS_INCIDENTS_ALL_ACC_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CSL_CS_INCIDENTS_ALL_ACC_PKG, status:VALID,
-
PACKAGE BODY: APPS.CSL_CS_INCIDENTS_ALL_ACC_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSL_CS_INCIDENTS_ALL_ACC_PKG, status:VALID,
-
SYNONYM: APPS.CS_INCIDENT_STATUSES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CS_INCIDENT_STATUSES_B, status:VALID,
-
SYNONYM: APPS.CS_INCIDENT_STATUSES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_INCIDENT_STATUSES_B, status:VALID,
-
SYNONYM: APPS.JTF_TASK_TYPES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_TYPES_B, status:VALID,
-
SYNONYM: APPS.JTF_TASK_TYPES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_TYPES_B, status:VALID,
-
SYNONYM: APPS.ASG_USER
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ASG_USER, status:VALID,
-
PACKAGE: APPS.JTM_HOOK_UTIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JTM_HOOK_UTIL_PKG, status:VALID,
-
PACKAGE: APPS.JTM_HOOK_UTIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JTM_HOOK_UTIL_PKG, status:VALID,
-
PACKAGE: APPS.JTM_MESSAGE_LOG_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JTM_MESSAGE_LOG_PKG, status:VALID,
-
PACKAGE: APPS.JTM_MESSAGE_LOG_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JTM_MESSAGE_LOG_PKG, status:VALID,
-
SYNONYM: APPS.JTM_CON_REQUEST_DATA
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTM_CON_REQUEST_DATA, status:VALID,
-
SYNONYM: APPS.JTF_TASK_STATUSES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_STATUSES_B, status:VALID,
-
SYNONYM: APPS.JTM_CON_REQUEST_DATA
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTM_CON_REQUEST_DATA, status:VALID,
-
SYNONYM: APPS.JTF_TASK_STATUSES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_STATUSES_B, status:VALID,
-
SYNONYM: APPS.JTF_TASK_ASSIGNMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_ASSIGNMENTS, status:VALID,
-
SYNONYM: APPS.ASG_USER
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ASG_USER, status:VALID,
-
SYNONYM: APPS.JTF_TASK_ASSIGNMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_ASSIGNMENTS, status:VALID,
-
VIEW: APPS.FND_USER_RESP_GROUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_USER_RESP_GROUPS, object_name:FND_USER_RESP_GROUPS, status:VALID,
-
VIEW: APPS.FND_USER_RESP_GROUPS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_USER_RESP_GROUPS, object_name:FND_USER_RESP_GROUPS, status:VALID,
-
SYNONYM: APPS.CS_INCIDENTS_ALL_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_INCIDENTS_ALL_B, status:VALID,
-
SYNONYM: APPS.CS_INCIDENTS_ALL_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CS_INCIDENTS_ALL_B, status:VALID,
-
SYNONYM: APPS.JTF_TASKS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_TASKS_B, status:VALID,
-
SYNONYM: APPS.JTF_TASKS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASKS_B, status:VALID,