Search Results delete_contract_grpngs




Overview

OKC_CONTRACT_GROUP_PUB is the public (PUB-classified) PL/SQL API for managing contract groups within the Oracle Contracts (OKC) module of Oracle E-Business Suite. A contract group provides a way to logically associate multiple contracts—through group headers and group-member (contract-to-group) relationships—supporting categorization, grouping, and query-driven retrieval of contracts for reporting and administrative purposes. The package is owned by APPS and exposes a set of published entry points that other application modules and custom extensions are permitted to call, isolating callers from the underlying private implementation contained in OKC_CONTRACT_GROUP_PVT and related packages.

The header identifies the source revision and the use of shared subtype definitions, including cgpv_rec_type and cgcv_rec_type (contract-group header and contract-group/contract records) plus their table counterparts and the query-key table type qry_k_tbl. These records carry the data payload that the public procedures accept and return, ensuring that both header and member information are validated and persisted consistently as a unit.

Key Procedures and Functions

The package documents thirty procedures and functions. The primary data-manipulation entry points are:

Tables Accessed

According to the documented metadata, the package references the table via the APPS synonym PLITBLM. PLITBLM is the translation (MLS) table used for maintaining language-specific text, which is consistent with the presence of the ADD_LANGUAGE procedure; translated names and descriptions for contract groups are stored and maintained through this table. Contract-group header and member data are persisted through the corresponding OKC base tables (for example, the OKC_CONTRACT_GROUPS structures) accessed by the underlying private package; validation reads reference data to confirm that supplied group names, public flags, and short descriptions satisfy business rules before insert, update, or lock operations proceed.

Usage Notes

OKC_CONTRACT_GROUP_PUB is intended to be invoked by Oracle Contracts forms, concurrent programs, and approved custom code rather than called directly from ad hoc scripts. Callers should pass a valid p_api_version, honor the p_init_msg_list flag, and always inspect x_return_status, x_msg_count, and x_msg_data to detect failures—the package declares G_EXCEPTION_HALT_VALIDATION and standard error tokens for unexpected conditions. Validation procedures should be called before create or update to surface attribute errors early. Because the package participates in the standard OKC API messaging model, callers in EBS 12.1.1 and 12.2.2 can rely on consistent error handling and MLS behavior across releases.