Search Results cancel_order_pre
Overview
XDP_INTERFACES_CO_VUHK is a PL/SQL specification owned by the APPS schema in Oracle E-Business Suite, classified under the ETRM API classification "OTHER." Its name and structure identify it as a customer-extensible hook (the "VUHK" suffix denoting a user hook) belonging to the XDP product family, which supports order capture and order lifecycle processing. The package exists to provide a supported extension point where customers can inject their own PL/SQL logic immediately before and after the Cancel_order API executes, without modifying Oracle-delivered code. As declared with AUTHID CURRENT_USER, the package executes with the privileges of the invoking user rather than the definer, which is consistent with its role as a customization surface called from within a larger order-cancellation flow.
The header comment ($Header: XDPCOVHS.pls 120.1 2005/06/15) indicates the specification has remained stable since the 11i-era code line and is carried forward into the 12.1.1 and 12.2.2 releases unchanged. This is typical of hook packages: their declarations are deliberately frozen so that customer implementations compiled against them remain valid across upgrades to the 12.2 online patching architecture.
Key Procedures and Functions
The package exposes exactly two documented procedures, both of which are stubs by design — the body is expected to be empty in the Oracle-delivered version, with customers supplying the implementation.
- Cancel_order_Pre — Invoked immediately prior to the Cancel_order API. It is the designated customization point for validation or setup work that must occur before an order cancellation is processed, such as checking business rules, reserving data, or capturing pre-cancellation state.
- Cancel_order_Post — Invoked immediately after the Cancel_order API completes. It is the designated customization point for follow-on processing, such as updating downstream systems, recording audit information, or releasing dependent records once cancellation has been carried out.
Both procedures use an OUT NOCOPY-style hook signature that passes the caller name, the SDP order identifier, a data buffer, a count, and a return code. The return code parameter allows a customer implementation to signal success or failure back to the calling cancellation logic without raising an unhandled exception. The exact parameter names and datatypes are as declared in the specification; no additional procedures or functions are documented.
Tables Accessed
The ETRM metadata documents no tables referenced through APPS synonyms by this package. This is consistent with its purpose: as a hook skeleton, the specification itself performs no SQL. Any table access occurs only within customer-written bodies that reference Oracle or custom tables directly. Consequently, there are no documented base tables to enumerate, and customers implementing the hooks bear responsibility for the objects their logic touches.
Usage Notes
XDP_INTERFACES_CO_VUHK is not a standalone concurrent program and is not invoked from a standard Oracle Forms window. It is called internally by the order-cancellation processing layer at the two defined points in the Cancel_order flow. The documented metadata records that the package is referenced by one other package, which is the caller that invokes the Pre and Post hooks. Customers customize behavior by editing the package body — not the specification — supplying logic for Cancel_order_Pre and Cancel_order_Post, then recompiling. In 12.2.2, such customizations should be maintained through the standard customization mechanisms (for example, under the custom application tier directory) so that they are preserved and reapplied during online patching cycles. Because the AUTHID CURRENT_USER directive grants the caller's privileges, the effective privilege context depends on the invoking session, and any objects referenced by customer code must be accessible to that session. Implementations should avoid raising unhandled exceptions in these hooks, since doing so can interrupt the cancellation transaction; the return code parameter provides the intended mechanism for controlled error signaling.
-
PACKAGE: APPS.XDP_INTERFACES_CO_VUHK
12.2.2
-
PACKAGE: APPS.XDP_INTERFACES_CO_VUHK
12.1.1
-
PACKAGE: APPS.XDP_INTERFACES_CS_CUHK
12.1.1
-
PACKAGE: APPS.XDP_INTERFACES_CS_CUHK
12.2.2
-
PACKAGE: APPS.XDP_INTERFACES_CS_VUHK
12.2.2
-
PACKAGE: APPS.XDP_INTERFACES_CS_VUHK
12.1.1
-
PACKAGE: APPS.XDP_INTERFACES_CO_CUHK
12.2.2
-
PACKAGE: APPS.XDP_INTERFACES_CO_CUHK
12.1.1
-
PACKAGE BODY: APPS.XDP_INTERFACES_PUB
12.2.2
-
PACKAGE BODY: APPS.XDP_INTERFACES_PUB
12.1.1
-
APPS.XDP_INTERFACES_PUB dependencies on XDP_INTERFACES_CO_VUHK
12.2.2
-
APPS.XDP_INTERFACES_PUB dependencies on XDP_INTERFACES_CS_CUHK
12.2.2
-
APPS.XDP_INTERFACES_PUB dependencies on XDP_INTERFACES_CO_CUHK
12.1.1
-
APPS.XDP_INTERFACES_PUB dependencies on XDP_INTERFACES_CO_CUHK
12.2.2
-
APPS.XDP_INTERFACES_PUB dependencies on XDP_INTERFACES_CS_VUHK
12.1.1
-
APPS.XDP_INTERFACES_PUB dependencies on XDP_INTERFACES_CO_VUHK
12.1.1
-
APPS.XDP_INTERFACES_PUB dependencies on XDP_INTERFACES_CS_CUHK
12.1.1
-
APPS.XDP_INTERFACES_PUB dependencies on XDP_INTERFACES_CS_VUHK
12.2.2
-
APPS.XDP_INTERFACES_PUB dependencies on XDP_INTERFACES
12.1.1
-
APPS.XDP_INTERFACES_PUB dependencies on XDP_INTERFACES
12.2.2
-
APPS.XDP_INTERFACES_PUB dependencies on JTF_USR_HKS
12.2.2
-
APPS.XDP_INTERFACES_PUB dependencies on JTF_USR_HKS
12.1.1