Search Results find_resource
Overview
CSFW_DEBRIEF_PUB is a public (PUB-classified) PL/SQL package body owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. The package implements the business logic for capturing field service debrief information recorded against a task assignment. A debrief is the structured record of work performed by a field service technician upon completion of a service visit; it consolidates labor time, expense charges, materials and spares consumed, travel activity, and installation/instance information. CSFW_DEBRIEF_PUB serves as the programmatic entry point through which the Depot Repair and field service debriefing forms and workflows create and maintain the debrief header and its associated detail lines.
The header of the file carries the revision marker csfwdbfb.pls 120.10.12000000.3, dated 2007/07/05. The package exposes a single public API surface for its callers and internally delegates to CSF_DEBRIEF_PUB for the base record creation and update operations, which is consistent with the layered API pattern used throughout the CSF (Customer Service / Field Service) product family.
Key Procedures and Functions
The package documents twelve procedures covering the full debrief lifecycle:
- CREATE_DEBRIEF_HEADER — Creates the debrief header row for a given task assignment. In the source excerpt it obtains sequence values from CSF_DEBRIEF_HEADERS_S1 and CSF_DEBRIEF_HEADERS_S2, populates a DEBRIEF_Rec_Type with the header ID, debrief number, system date, and task assignment ID, and then calls CSF_DEBRIEF_PUB.Create_DEBRIEF with P_Commit => FND_API.G_FALSE. Error handling returns p_error_id and p_error via FND_MSG_PUB, and the new header ID is returned through p_debrief_header_id.
- UPDATE_DEBRIEF_HEADER — Modifies attributes of an existing debrief header.
- CREATE_LABOR_LINE — Adds a labor line to a debrief, recording technician time against the task assignment.
- UPDATE_DEBRIEF_LABOR_LINE — Amends an existing labor line.
- VALIDATE_LABOR_TIME — Validates labor time entries before they are committed to the debrief.
- CREATE_EXPENSE_LINE — Adds an expense line, for example charges or parts-related costs, to the debrief.
- UPDATE_DEBRIEF_EXPENSE_LINE — Amends an existing expense line.
- UPDATE_CHARGES — Recalculates or updates charge amounts associated with the debrief.
- SAVE_DEBRIEF_MATERIAL_LINE — Persists material line information, including items consumed during the service visit.
- UPDATE_SPARES — Maintains spares usage information on the debrief.
- UPDATE_IB — Updates installed base information associated with the debriefed instance.
- CREATE_TRAVEL_DEBRIEF — Creates the travel portion of the debrief, capturing technician travel activity.
Tables Accessed
The package reads and writes through APPS synonyms for the following tables:
- CSF_DEBRIEF_HEADERS — primary store for debrief header records.
- CSF_DEBRIEF_HEADERS_S1 and CSF_DEBRIEF_HEADERS_S2 — sequences supplying the header ID and debrief number respectively.
- CSF_DEBRIEF_LINES and CSF_DEBRIEF_LINES_S — detail lines (labor, expense, material) and their sequence.
- CSI_ITEM_INSTANCES, CSI_INSTANCE_STATUSES, and CSI_INSTALL_PARAMETERS — installed base instance data referenced when debriefing an item.
- CS_INCIDENTS_ALL and CS_INCIDENTS_ALL_B — service incident or task records to which the debrief is linked.
- HZ_PARTY_SITE_USES — party site usage information for the customer location.
- JTF_RS_RESOURCE_EXTNS — resource (technician) extension data.
- OE_TRANSACTION_TYPES_ALL — order transaction type lookups, typically for charge or billing classification.
- DUAL — used for sequence currency fetches, as shown in the header cursor definitions.
Usage Notes
CSFW_DEBRIEF_PUB is invoked by the field service debriefing user interface and by related service workflows whenever a technician submits or updates a debrief. Callers must pass a valid task assignment ID to CREATE_DEBRIEF_HEADER, then use the returned debrief_header_id as the parent key for the line-level procedures. The package does not commit internally; the excerpt shows P_Commit => FND_API.G_FALSE, so the invoking form, concurrent program, or custom code is responsible for committing the transaction. Return status is conveyed through the FND_API standard (G_RET_STS_SUCCESS) together with FND_MSG_PUB message retrieval, and the package is not referenced by any other database package, so it is intended as a top-level entry point rather than a shared internal utility.
-
PACKAGE BODY: APPS.CSFW_DEBRIEF_PUB
12.1.1
-
PACKAGE BODY: APPS.CSFW_DEBRIEF_PUB
12.2.2
-
PACKAGE: APPS.AMV_USER_PVT_W
12.2.2
-
PACKAGE: APPS.AMV_USER_PVT_W
12.1.1
-
PACKAGE: APPS.AMV_USER_PVT
12.1.1
-
PACKAGE: APPS.AMV_USER_PVT
12.2.2
-
APPS.CSFW_DEBRIEF_PUB dependencies on JTF_RS_RESOURCE_EXTNS
12.2.2
-
APPS.CSFW_DEBRIEF_PUB dependencies on CSP_RS_RESOURCES_V
12.1.1
-
APPS.CSFW_DEBRIEF_PUB dependencies on JTF_RS_RESOURCE_EXTNS
12.1.1
-
APPS.CSFW_DEBRIEF_PUB dependencies on CSP_RS_RESOURCES_V
12.2.2
-
APPS.CSFW_DEBRIEF_PUB dependencies on FND_GLOBAL
12.2.2
-
APPS.CSFW_DEBRIEF_PUB dependencies on FND_GLOBAL
12.1.1
-
APPS.CSFW_DEBRIEF_PUB dependencies on CS_INCIDENTS_ALL_B
12.2.2
-
PACKAGE BODY: APPS.AMV_USER_PVT
12.2.2
-
APPS.CSFW_DEBRIEF_PUB dependencies on CS_INCIDENTS_ALL_B
12.1.1
-
APPS.CSFW_DEBRIEF_PUB dependencies on CSF_DEBRIEF_LINES_S
12.1.1
-
PACKAGE BODY: APPS.AMV_USER_PVT
12.1.1
-
APPS.CSFW_DEBRIEF_PUB dependencies on CSF_DEBRIEF_LINES_S
12.2.2
-
APPS.CSFW_DEBRIEF_PUB dependencies on CS_INCIDENTS_ALL
12.2.2
-
APPS.CSFW_DEBRIEF_PUB dependencies on CS_INCIDENTS_ALL
12.1.1
-
APPS.CSFW_DEBRIEF_PUB dependencies on DUAL
12.2.2
-
APPS.CSFW_DEBRIEF_PUB dependencies on DUAL
12.1.1
-
PACKAGE BODY: APPS.AMV_USER_PVT_W
12.1.1
-
PACKAGE BODY: APPS.AMV_USER_PVT_W
12.2.2
-
APPS.CSFW_DEBRIEF_PUB dependencies on CSF_DEBRIEF_LINES
12.1.1
-
APPS.CSFW_DEBRIEF_PUB dependencies on CSF_DEBRIEF_LINES
12.2.2
-
APPS.AMV_USER_PVT_W dependencies on JTF_VARCHAR2_TABLE_100
12.1.1
-
APPS.AMV_USER_PVT_W dependencies on JTF_VARCHAR2_TABLE_100
12.2.2
-
APPS.AMV_USER_PVT_W dependencies on FND_API
12.2.2
-
APPS.AMV_USER_PVT_W dependencies on FND_API
12.1.1
-
APPS.AMV_USER_PVT dependencies on STANDARD
12.2.2
-
APPS.AMV_USER_PVT dependencies on STANDARD
12.1.1
-
APPS.AMV_USER_PVT dependencies on FND_API
12.1.1
-
APPS.AMV_USER_PVT dependencies on FND_API
12.2.2
-
APPS.AMV_USER_PVT dependencies on FND_API
12.1.1
-
APPS.AMV_USER_PVT dependencies on FND_API
12.2.2