Search Results okl_case_util_pvt
Overview
OKL_CASE_UTIL_PVT is a private (PVT) PL/SQL utility package in the Oracle E-Business Suite Lease Management (OKL) application, owned by the APPS schema. It provides internal service routines used to create and manage case records associated with lease and contract objects. As an AUTHID CURRENT_USER package, it executes with the privileges of the calling session, which is the standard convention for ETRM private APIs that are invoked only from within the application's own PL/SQL stack.
The package is not intended as a public integration point. It is one of two internal packages that reference it, and its single documented entry point is designed to be called by higher-level OKL business logic rather than by external custom code. The package name and header comment (OKLRCUTS.pls) indicate it belongs to the Lease Management "RC" (case) utility family.
The package declares global message constants that drive the standard ETRM error-handling framework. The constant G_REQUIRED_VALUE is defined as 'OKL_REQUIRED_VALUE', which corresponds directly to the search term okl_required_value. This message identifies a mandatory parameter that was not supplied by the caller. Additional constants include G_INVALID_VALUE, G_UNEXPECTED_ERROR, and the token constants G_COL_NAME_TOKEN, G_COL_NAME1_TOKEN, G_COL_NAME2_TOKEN, G_PARENT_TABLE_TOKEN, G_SQLERRM_TOKEN, and G_SQLCODE_TOKEN. A global exception, G_EXCEPTION_HALT_VALIDATION, is also declared for control-flow interruption during validation.
Key Procedures and Functions
- CREATE_CASE — The sole documented program unit in the package. It creates a case record and accepts a standard ETRM API parameter signature:
p_api_versionfor version checking,p_init_msg_listfor message stack initialization, andp_contract_ididentifying the contract to which the case relates. It returns the standard out parametersx_return_status,x_msg_count, andx_msg_datato communicate success, error, or unexpected status back to the caller. Because the procedure is declared without a body in the published header excerpt, the exact insert logic resides in the package body.
Tables Accessed
The package interfaces with the Case Management data model and the OKL contract header table via APPS synonyms:
- IEX_CASES_ALL_B — the base case entity table; a new case row is created here.
- IEX_CASES_TL — the translation table holding case name and description in the session language.
- IEX_CASE_DEFINITIONS — defines the case type and its attributes used to construct the case.
- IEX_CASE_OBJECTS — associates a case with its related business object, here the lease contract.
- OKC_K_HEADERS_B — the OKL contract header table, supplying the
p_contract_idcontext for the case association.
Usage Notes
OKL_CASE_UTIL_PVT is invoked internally by OKL application logic when a lease contract requires an associated case record. It is called from forms or concurrent programs indirectly through higher-level OKL APIs rather than directly by end users. The presence of p_api_version and message-list parameters confirms it follows the standard ETRM API contract, and custom code should generally call the public OKL case APIs instead. The okl_required_value message surfaces to the caller through x_msg_data when the contract identifier is not passed, reinforcing that callers must supply a valid p_contract_id.
-
PACKAGE: APPS.OKL_CASE_UTIL_PVT
12.1.1
-
PACKAGE: APPS.OKL_CASE_UTIL_PVT
12.2.2
-
PACKAGE: APPS.OKL_CASE_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_CASE_UTIL_PVT, status:VALID,
-
PACKAGE: APPS.OKL_CASE_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_CASE_UTIL_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_CASE_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CASE_UTIL_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_CASE_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CASE_UTIL_PVT, status:VALID,
-
SYNONYM: APPS.IEX_CASES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IEX_CASES_TL, status:VALID,
-
PACKAGE: APPS.IEX_CASE_UTL_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IEX_CASE_UTL_PUB, status:VALID,
-
PACKAGE: APPS.IEX_CASE_UTL_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:IEX_CASE_UTL_PUB, status:VALID,
-
SYNONYM: APPS.IEX_CASE_DEFINITIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IEX_CASE_DEFINITIONS, status:VALID,
-
PACKAGE BODY: APPS.OKL_CASE_UTIL_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CASE_UTIL_PUB, status:VALID,
-
PACKAGE: APPS.OKL_CONTRACT_INFO
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_CONTRACT_INFO, status:VALID,
-
SYNONYM: APPS.IEX_CASES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IEX_CASES_TL, status:VALID,
-
SYNONYM: APPS.IEX_CASE_DEFINITIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IEX_CASE_DEFINITIONS, status:VALID,
-
PACKAGE BODY: APPS.OKL_CASE_UTIL_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CASE_UTIL_PUB, status:VALID,
-
PACKAGE: APPS.OKL_CONTRACT_INFO
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_CONTRACT_INFO, status:VALID,
-
SYNONYM: APPS.IEX_CASES_ALL_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IEX_CASES_ALL_B, status:VALID,
-
SYNONYM: APPS.IEX_CASES_ALL_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IEX_CASES_ALL_B, status:VALID,
-
SYNONYM: APPS.IEX_CASE_OBJECTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IEX_CASE_OBJECTS, status:VALID,
-
SYNONYM: APPS.IEX_CASE_OBJECTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IEX_CASE_OBJECTS, status:VALID,
-
PACKAGE BODY: APPS.OKL_CONTRACT_BOOK_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CONTRACT_BOOK_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_CASE_UTIL_PVT
12.2.2
-
PACKAGE BODY: APPS.OKL_CASE_UTIL_PVT
12.1.1
-
PACKAGE BODY: APPS.OKL_CONTRACT_BOOK_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CONTRACT_BOOK_PVT, status:VALID,
-
APPS.OKL_CASE_UTIL_PVT dependencies on OKL_CASE_UTIL_PVT
12.1.1
-
APPS.OKL_CONTRACT_BOOK_PVT dependencies on OKL_CASE_UTIL_PVT
12.1.1
-
APPS.OKL_CASE_UTIL_PVT dependencies on OKL_CASE_UTIL_PVT
12.2.2
-
APPS.OKL_CONTRACT_BOOK_PVT dependencies on OKL_CASE_UTIL_PVT
12.2.2
-
APPS.OKL_CASE_UTIL_PUB dependencies on OKL_CASE_UTIL_PVT
12.2.2
-
APPS.OKL_CASE_UTIL_PUB dependencies on OKL_CASE_UTIL_PVT
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.OKC_K_HEADERS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_HEADERS_B, status:VALID,
-
SYNONYM: APPS.OKC_K_HEADERS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_HEADERS_B, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.OKL_CASE_UTIL_PVT dependencies on IEX_CASE_DEFINITIONS
12.2.2
-
APPS.OKL_CASE_UTIL_PVT dependencies on IEX_CASE_DEFINITIONS
12.1.1
-
PACKAGE: APPS.MO_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MO_GLOBAL, status:VALID,
-
PACKAGE: APPS.MO_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MO_GLOBAL, status:VALID,
-
PACKAGE: APPS.OKL_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_API, status:VALID,
-
PACKAGE: APPS.OKL_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_API, status:VALID,
-
APPS.OKL_CASE_UTIL_PVT dependencies on OKL_API
12.1.1
-
APPS.OKL_CASE_UTIL_PVT dependencies on OKL_API
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
PACKAGE: APPS.FND_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,