Search Results decline_contract




Overview

OKS_CUSTOMER_ACCEPTANCE_PVT is a private PL/SQL package in the APPS schema that implements the customer acceptance and decline workflow for Oracle E-Business Suite service contracts. Within the ETRM (Enterprise Territory and Contracts) module, the package provides the programmatic engine behind the "Accept" and "Decline" actions presented to a customer who has been offered a contract or subscription. It resolves contract-related attributes such as amounts, tax, subtotals, vendor and customer identification, party and organization data, and sales representative e-mail addresses, then records the acceptance decision against the contract header. Because the object name carries the _PVT suffix, it is classified as a private API: it is not intended for direct external invocation and is instead called by public APIs, workflow activities, and views within the same product family.

The package deliberately separates read-only retrieval helpers from the two state-changing operations (ACCEPT_CONTRACT and DECLINE_CONTRACT), and it encapsulates e-mail delivery and payment-detail handling so that the acceptance flow can be driven end to end without exposing the underlying OKC and HZ tables to callers.

Key Procedures and Functions

The documented interface exposes twenty-four procedures and functions, grouped by purpose:

All procedures follow Oracle Application Object Library conventions, returning status through the FND_API-compatible interface and standard exception handling.

Tables Accessed

The package reads and writes through APPS synonyms against the following documented tables:

Usage Notes

OKS_CUSTOMER_ACCEPTANCE_PVT is environment-internal. The ETRM metadata shows it is referenced by OKS_CONTRACT_UPD_DTLS_V, OKS_WF_K_PROCESS_PVT, and two further packages, confirming that inbound calls arrive from the contract update details view, the contract workflow process package, and related private APIs rather than from customer-facing code. In practice, acceptance is triggered when a customer responds to a contract offer through the customer acceptance user interface or an integrated workflow; the workflow activity calls the private package, which in turn records the decision and emits notification e-mail. Customizations should not call OKS_CUSTOMER_ACCEPTANCE_PVT directly; instead, extend the supported public APIs or workflow activities that wrap it. Because it is a private package, its signature may change between releases, so any bespoke reference must be revalidated during upgrades to 12.1.1 and 12.2.2.