Search Results debrief_line_ins_init
Overview
APPS.CSM_DEBRIEF_EVENT_PKG is a PL/SQL package that belongs to the Oracle EBS Field Service (TeleService/Service) application family. Its name places it squarely in the "CSM" (Customer Service Management) namespace, which is used for event-driven processing logic that supports service debriefs — the post-visit capture of materials, labor, expenses, and other billable details recorded against a service task or service request. The package implements the server-side event logic that fires when debrief header and debrief line records are created, updated, or deleted, and it coordinates those events with billing classification data and workflow-driven task assignment data.
In 12.1.1 and 12.2.2, the object resides in the APPS schema and is reported with a status of VALID in the ETRM repository. ETRM classifies it as an "OTHER" API type, meaning it is not published as a formally supported public API. It is an internal runtime dependency rather than a documented integration surface, and customers are cautioned against invoking it directly.
Key Procedures and Functions
The ETRM metadata documents seven subprograms, all of which follow the canonical EBS multi-table event pattern of an INIT routine paired with an ACC (accounting or "accept") routine:
- DEBRIEF_LINE_INS_INIT — Initialization handler for debrief line insert events. It prepares context and cached values before the debrief line row is processed.
- DEBRIEF_LINES_ACC_I — The insert "accept" routine that carries out the actual processing for a newly created debrief line, including validation and derivation of billing-relevant attributes.
- DEBRIEF_LINE_UPD_INIT — Initialization handler for debrief line update events.
- DEBRIEF_LINES_ACC_U — The update "accept" routine that processes changes to an existing debrief line.
- DEBRIEF_LINE_DEL_INIT — Initialization handler for debrief line delete events.
- DEBRIEF_LINES_ACC_D — The delete "accept" routine that handles cleanup and downstream effects when a debrief line is removed.
- MATERIAL_BILLABLE_FLAG — A helper routine that determines whether a service material line is billable, by intersecting item, billing type, and billing type category data.
The INIT/ACC split is characteristic of Oracle's table-event architecture: INIT routines build an in-memory event structure, and ACC routines apply the business rules and persist affected derived columns.
Tables Accessed
The documented base tables, reached through APPS synonyms, fall into three groups:
- Debrief data: CSF_DEBRIEF_HEADERS, CSF_DEBRIEF_LINES, and CSM_DEBRIEF_LINES_ACC. The package reads the header/line debrief records and writes derived accounting and billing attributes into CSM_DEBRIEF_LINES_ACC.
- Billing classification: CS_BILLING_TYPE_CATEGORIES and CS_TXN_BILLING_TYPES. These supply the billing type and category definitions used to determine chargeability for materials and labor.
- Items and resources: MTL_SYSTEM_ITEMS_B (item master attributes, used by MATERIAL_BILLABLE_FLAG), JTF_RS_RESOURCE_EXTNS (resource information), and JTF_TASK_ASSIGNMENTS (the task assignment records that tie debrief activity to the field service task).
Together these support the core query: "for this debrief line, what did the technician use, and is it billable to the customer?"
Usage Notes
CSM_DEBRIEF_EVENT_PKG is not invoked directly by user-facing forms or concurrent programs in normal operation. It is referenced by CSM_TASK_ASSIGNMENT_EVENT_PKG and CSM_WF_PKG, which indicates that the package is driven through the task assignment and Oracle Workflow event layers. When a service task assignment progresses or a debrief is entered through the Field Service debrief UI, workflow events and task-assignment events trigger the debrief event package, which then executes the appropriate INIT and ACC subprograms against the debrief lines.
Because the package depends only on SYS.STANDARD (and its own package body) at the dependency root, and because it is classified as OTHER rather than a public API, it should be treated as internal application infrastructure. Customizations should attach to the documented task-assignment and workflow integration points rather than calling CSM_DEBRIEF_EVENT_PKG procedures directly, since the package signature is not guaranteed across releases or patches. Deploying the package requires APPS schema privileges, and any change would need to be compiled and validated in the APPS schema for both 12.1.1 and 12.2.2 environments.
-
PACKAGE: APPS.CSM_DEBRIEF_EVENT_PKG
12.2.2
-
PACKAGE: APPS.CSM_DEBRIEF_EVENT_PKG
12.1.1
-
PACKAGE BODY: APPS.CSM_DEBRIEF_EVENT_PKG
12.1.1
-
PACKAGE BODY: APPS.CSM_DEBRIEF_EVENT_PKG
12.2.2
-
APPS.CSM_DEBRIEF_EVENT_PKG dependencies on FND_LOG
12.2.2
-
APPS.CSM_DEBRIEF_EVENT_PKG dependencies on CSM_DEBRIEF_EVENT_PKG
12.2.2
-
APPS.CSM_DEBRIEF_EVENT_PKG dependencies on CSM_DEBRIEF_EVENT_PKG
12.1.1
-
APPS.CSM_DEBRIEF_EVENT_PKG dependencies on CSM_UTIL_PKG
12.1.1
-
APPS.CSM_DEBRIEF_EVENT_PKG dependencies on CSM_UTIL_PKG
12.2.2
-
APPS.CSM_DEBRIEF_EVENT_PKG dependencies on FND_LOG
12.1.1