Search Results get_oks_resource




Overview

OKS_EXTWAR_UTIL_PUB is a public PL/SQL package in the APPS schema that provides utility services for the Oracle Service (OKS) extended warranty module within Oracle E-Business Suite 12.1.1 and 12.2.2. Extended warranties are sold as service contracts that entitle a customer to coverage, repair, or replacement of a product over a defined period. The package supplies the supporting logic that service and warranty flows require: resolving party, resource, and salesperson identifiers; retrieving warranty header information; staging warranty data; managing contacts associated with a warranty contract; applying status code translation; and producing notifications and log messages to administrators and sales personnel.

The package is classified as a PUB interface, meaning it is intended to be called by other application code rather than treated as a private implementation detail. It declares a War_tbl subtype derived from OKS_EXTWAR_UTIL_PVT and exposes several global constants and message tokens inherited from OKC_API, the Contracts foundation layer. This inheritance confirms that OKS_EXTWAR_UTIL_PUB operates within the Oracle Contracts messaging and error-handling framework, including standard tokens for required values, invalid values, column name substitution, and unexpected errors.

Key Procedures and Functions

The documented interface comprises 23 procedures and functions. Grouped by purpose:

The package also declares a global exception, G_EXCEPTION_HALT_VALIDATION, used to abort validation processing when a fatal condition is detected.

Tables Accessed

The package reads and writes through APPS synonyms across several EBS schemas:

Usage Notes

OKS_EXTWAR_UTIL_PUB is typically invoked indirectly. Oracle Service forms and extended warranty setup flows call it to populate resource and party fields, validate contacts, and apply status codes; concurrent programs and workflow notification activities call the NOTIFY and LOG_MESSAGES routines. The package is referenced by two other packages, so customizations or extensions in that dependency chain should account for its public signature. When extending or troubleshooting status behavior, DEF_STS_CODE is the appropriate entry point; callers should set the standard OKC_API message tokens before invoking messaging procedures so that errors are surfaced consistently through the EBS message dictionary.