Search Results cs_charge_core_pvt
Overview
CS_CHARGE_CORE_PVT is a private (PVT class) PL/SQL package body in the APPS schema of Oracle E-Business Suite, documented as VALID in ETRM for release 12.2.2 and applicable to 12.1.1. It functions as the internal charge-processing engine for the Service (CS) module, providing the low-level routines that compute, resolve, and persist charge and billing information associated with service incidents, repair orders, and debrief transactions. The package bridges the transactional service tables (incidents, repairs, estimates, and debrief headers) with the receivables and order management tables used to generate customer invoices and order lines. As a PVT package, it is intended to be called only by other packages within the Service charge framework rather than directly by end users, forms, or external integrations. Because it exposes a small, stable set of utility functions and is not referenced by any other database object, it behaves as a leaf-level worker package whose public-facing counterparts orchestrate the overall charge calculation and invoicing flow.
Key Procedures and Functions
The documented package exposes seven procedures and functions:
- GET_SOURCE_ID — Resolves the source identifier for a charge or transaction line, providing the originating record key used to link service activity to downstream billing entities.
- GET_INVOICE_DETAILS — Retrieves invoice-related details, including header and line information from the receivables tables, for a given charge context.
- DEFAULT_ATTRIBUTES — Applies default values to charge and transaction attributes, ensuring that required fields are populated with standard or derived values before processing continues.
- GET_SHIP_TO_SITE_ID — Determines the ship-to site identifier by resolving the appropriate customer account site from the trading community model.
- GET_INVOICE_TO_PARTY_SITE_ID — Determines the invoice-to party site identifier, identifying the billing location associated with the customer.
- NUMBER_FORMAT — Formats numeric values according to the applicable currency or display rules, supporting consistent presentation of monetary amounts.
- GET_VALUE_NAME — Returns the descriptive name associated with a lookup or reference value, used to translate codes into user-readable text.
Tables Accessed
The package references the following tables through APPS synonyms:
- CS_INCIDENTS_ALL_B and CS_INCIDENT_TYPES_VL — provide the incident and incident type context from which charges originate.
- CSD_REPAIRS and CS_ESTIMATE_DETAILS — supply repair order and estimate line detail used in charge computation.
- CSF_DEBRIEF_HEADERS — supplies debrief information capturing field service activity and charges.
- OE_ORDER_HEADERS_ALL — links service activity to order headers for order-based billing.
- RA_CUSTOMER_TRX_ALL and RA_CUSTOMER_TRX_LINES_ALL — store the resulting receivables transactions and lines generated from charges.
- HZ_CUST_ACCT_SITES, HZ_CUST_SITE_USES, and HZ_PARTIES — resolve customer, party, and site information used for ship-to and invoice-to determination.
- FND_CURRENCY — supports currency validation and formatting.
Usage Notes
CS_CHARGE_CORE_PVT is typically invoked indirectly. Service forms and concurrent programs that manage incident charges, repair estimates, and debrief-based billing call the package's public siblings, which in turn call these routines. The package is not referenced by any other database object per ETRM, confirming its role as an internal implementation layer. Customizations should avoid direct calls; instead, developers should call the documented public API that wraps this logic to preserve upgrade safety across 12.1.1 and 12.2.2. Where direct use is unavoidable, callers must supply a valid incident, repair, or debrief context and ensure the referenced customer and site records exist, since the site-resolution and invoice-detail routines depend on consistent trading community and receivables data.
-
PACKAGE BODY: APPS.CS_CHARGE_CORE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_CHARGE_CORE_PVT, status:VALID,
-
PACKAGE: APPS.CS_CHARGE_CORE_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CS_CHARGE_CORE_PVT, status:VALID,
-
PACKAGE: APPS.CS_CHARGE_CORE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CS_CHARGE_CORE_PVT, status:VALID,
-
PACKAGE BODY: APPS.CS_CHARGE_CORE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CS_CHARGE_CORE_PVT, status:VALID,
-
PACKAGE: APPS.CS_CHARGE_CORE_PVT
12.2.2
-
PACKAGE: APPS.CS_CHARGE_CORE_PVT
12.1.1
-
SYNONYM: APPS.CSF_DEBRIEF_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSF_DEBRIEF_HEADERS, status:VALID,
-
SYNONYM: APPS.CSF_DEBRIEF_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSF_DEBRIEF_HEADERS, status:VALID,
-
SYNONYM: APPS.CS_ESTIMATE_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_ESTIMATE_DETAILS, status:VALID,
-
SYNONYM: APPS.CS_ESTIMATE_DETAILS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CS_ESTIMATE_DETAILS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.CSD_REPAIRS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSD_REPAIRS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.CSD_REPAIRS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSD_REPAIRS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.RA_CUSTOMER_TRX_LINES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_LINES_ALL, status:VALID,
-
SYNONYM: APPS.CS_INCIDENTS_ALL_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_INCIDENTS_ALL_B, status:VALID,
-
VIEW: APPS.CS_INCIDENT_TYPES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_INCIDENT_TYPES_VL, object_name:CS_INCIDENT_TYPES_VL, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_LINES_ALL, status:VALID,
-
VIEW: APPS.CS_INCIDENT_TYPES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_INCIDENT_TYPES_VL, object_name:CS_INCIDENT_TYPES_VL, status:VALID,
-
PACKAGE BODY: APPS.CS_CHARGE_CORE_PVT
12.2.2
-
SYNONYM: APPS.CS_INCIDENTS_ALL_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CS_INCIDENTS_ALL_B, status:VALID,
-
PACKAGE BODY: APPS.CS_CHARGE_CORE_PVT
12.1.1
-
SYNONYM: APPS.HZ_CUST_ACCT_SITES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_SITES, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCT_SITES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_SITES, status:VALID,
-
SYNONYM: APPS.HZ_CUST_SITE_USES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_SITE_USES, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_ALL, status:VALID,
-
SYNONYM: APPS.HZ_CUST_SITE_USES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_SITE_USES, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_ALL, status:VALID,
-
PACKAGE: APPS.FND_CURRENCY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_CURRENCY, status:VALID,
-
APPS.CS_CHARGE_CORE_PVT dependencies on CS_CHARGE_CORE_PVT
12.1.1
-
APPS.CS_CHARGE_CORE_PVT dependencies on CS_CHARGE_CORE_PVT
12.2.2
-
PACKAGE: APPS.FND_CURRENCY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_CURRENCY, status:VALID,
-
SYNONYM: APPS.OE_ORDER_HEADERS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_HEADERS_ALL, status:VALID,
-
SYNONYM: APPS.OE_ORDER_HEADERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_HEADERS_ALL, status:VALID,
-
SYNONYM: APPS.HZ_PARTIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTIES, status:VALID,
-
SYNONYM: APPS.HZ_PARTIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTIES, status:VALID,
-
eTRM - CS Tables and Views
12.1.1
description: Table to store web conference details for an SR. ,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
eTRM - CS Tables and Views
12.1.1
description: Table to store web conference details for an SR. ,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,