Search Results cse_cst_hook_pvt




Overview

APPS.CSE_CST_HOOK_PVT is a private (PVT-classified) PL/SQL package in Oracle E-Business Suite that belongs to the Costing transaction hook layer of the Enterprise Territory Management / Service (CSE) module family. Its header declares AUTHID CURRENT_USER, meaning the package executes with the privileges of the invoker rather than the definer, a characteristic typical of hook procedures that are called from within a calling application's session and must respect that session's security context. The package exposes a single entry point, PROCESS_COST_TRANSACTION, whose name indicates its purpose: to act as an integration hook through which a cost transaction — typically originating from a service, repair, or field service transaction flow — is handed to the Cost Management (CST) processing logic for valuation and accounting. In EBS 12.1.1 and 12.2.2 the object is delivered as part of the APPS schema; the source header shows a maintenance revision dating to 2002 (CSECSTTS.pls, version 115.15), indicating the API has been stable across many releases and is carried forward unchanged in the 12.2 online patching file system under the same APPS synonym.

Key Procedures and Functions

The ETRM metadata documents one public subprogram:

  • PROCESS_COST_TRANSACTION — Accepts a cost transaction identifier and returns an error/status indicator to the caller. It is the hook invoked to trigger cost processing for a specified transaction. The parameter list is not to be enumerated here beyond the documented signature, which includes a transaction identifier input and an error message output.

No other procedures or functions are declared in the package specification. Because the classification is PVT, the package is intended for internal use by Oracle's own calling modules rather than as a published customer-facing API; the body is not exposed through the ETRM documentation set.

Tables Accessed

The documented metadata records no direct table references through APPS synonyms for this package. In practice, hook packages of this type delegate persistence to the downstream Cost Management APIs and the CSE transaction tables rather than performing direct DML. Any reads or writes occur indirectly through the called costing routines within the same transaction, which is consistent with the absence of a documented table list in the ETRM record.

Usage Notes

This package is best understood as an internal integration point. It is not typically invoked directly from a form or a concurrent program definition; instead, it is called programmatically by the surrounding CSE cost transaction flow when a transaction reaches the point at which cost valuation must be applied. The metadata confirms that no other documented packages reference it, which supports the view that the call originates from application logic or trigger-level code rather than from a well-known public API chain. Customers and implementers extending service costing behavior should be aware that, being a PVT API, its signature and behavior are not guaranteed by Oracle's public API commitment; custom code should prefer documented public APIs. Where customization is unavoidable, invoke the procedure within the same database session that owns the transaction and observe the returned error indicator to detect processing failures, since the procedure reports status through an output parameter rather than by raising a named exception. Because it runs AUTHID CURRENT_USER, the calling schema must hold the necessary privileges on the underlying costing objects. The package is present in both 12.1.1 and 12.2.2 and requires no special handling under online patching.