Results for “oks_renew_contract_pvt”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

OKS_RENEW_CONTRACT_PVT is a private (PVT) PL/SQL package in the APPS schema that forms the core renewal execution engine within Oracle E-Business Suite's Service Contracts (OKS/ETRM) module. Its business function is to process the renewal of service contracts by evaluating renewal eligibility, validating renewal parameters, and generating the renewed contract structure. The package is classified as a private API, meaning it is not intended for direct invocation by external or customer-written code; instead, it is consumed by the public renewal APIs and internal orchestration layers within the same module. Because it operates as the runtime workhorse beneath the public interface, it encapsulates the low-level business logic that transforms an expiring or candidate contract into a renewed contract, applying pricing, coverage, and counter-based entitlements as configured by the user.

Key Procedures and Functions

The documented package exposes four procedures and functions, of which the primary entry points are RENEW_CONTRACT and VALIDATE_RENEWAL:

  • RENEW_CONTRACT — Executes the renewal of the contract. It applies the renewal rules defined for the source contract and produces the renewed contract header and associated lines. It is the substantive processing routine invoked when a contract qualifies for renewal.
  • VALIDATE_RENEWAL — Performs pre-execution validation of the renewal request. This routine confirms that the source contract and its configuration satisfy the preconditions required for a successful renewal, returning diagnostic information to the caller.
  • Remaining two documented procedures/functions — The ETRM metadata lists two additional private members. These operate as internal helpers supporting the renewal lifecycle, supplying supporting logic invoked from within RENEW_CONTRACT and VALIDATE_RENEWAL rather than from external callers.

Parameter lists are not reproduced here; parameter signatures are reserved for the package specification and should not be assumed without direct inspection.

Tables Accessed

Through APPS synonyms, the package reads and writes a set of core ETRM and shared tables:

Usage Notes

As a private package, OKS_RENEW_CONTRACT_PVT is never called from forms or concurrent programs directly. It is referenced by the following packages: OKS_AUTO_REMINDER (renewal reminders), OKS_EVTREN_PUB (event-based renewal), OKS_K_ACTIONS_PVT (contract actions), OKS_RENCON_PVT (renewal concurrent processing), OKS_RENEW_CONTRACT_PUB, OKS_RENEW_PUB (public renewal APIs), and the workflow packages OKS_WF_K_APPROVE and OKS_WF_K_PROCESS_PVT. Accordingly, renewal scenarios reach this package through the public renewal API, the auto-reminder concurrent program, or the contract approval workflow. Customizations must call the public layer (OKS_RENEW_CONTRACT_PUB or OKS_RENEW_PUB) rather than this private package, since its interface may change without notice across EBS releases, including 12.1.1 and 12.2.2.