Search Results okl_option_rules_pvt_w
Overview
The package body APPS.OKL_OPTION_RULES_PVT_W is a private PL/SQL implementation unit belonging to the Oracle E-Business Suite Enterprise Territory and Resource Management (ETRM) module, specifically within the Oracle Lease and Finance Management (OKL) application. It operates in the 12.1.1 and 12.2.2 release streams and is owned by the APPS schema with a status of VALID. The package encapsulates the business logic that governs option rules and option validation rules used in lease and finance contracts. Option rules define the permissible configuration, pricing, and behavioral characteristics of contract options, while option validation rules enforce the conditions under which those options may be selected or executed.
The _W suffix denotes that this is a wrapper package body, a naming convention Oracle applies to internal implementation bodies that expose the public PL/SQL API surface implemented by a corresponding private package or a complementary package. In this case, the body interacts with OKL_OPTION_RULES_PVT and the related option validation and overdue processing packages, wrapping their logic into a callable interface for the ETRM runtime. The package is classified as OTHER in the ETRM API registry and does not appear as a dependency of any other database object, confirming that it is consumed as a leaf-level implementation unit rather than as a shared utility.
Key Procedures and Functions
The documented metadata enumerates twenty-three procedures and functions, of which the following ten are formally catalogued. Each falls into one of two functional groups: option rules and option validation rules.
- CREATE_OPTION_RULES — Inserts a new option rule definition, establishing the valid configuration for contract options.
- UPDATE_OPTION_RULES — Modifies an existing option rule definition.
- VALIDATE_OPTION_RULES — Performs validation checks against an option rule before it is persisted or applied.
- LOCK_OPTION_RULES — Acquires a lock on an option rule record, preventing concurrent modification during transactional processing.
- DELETE_OPTION_RULES — Removes an option rule definition from the repository.
- CREATE_OPTION_VAL_RULES — Creates a new option validation rule, which constrains or gates the available option set.
- LOCK_OPTION_VAL_RULES — Locks an option validation rule record for exclusive access.
- UPDATE_OPTION_VAL_RULES — Amends the criteria or attributes of an existing option validation rule.
- DELETE_OPTION_VAL_RULES — Deletes an option validation rule.
- VALIDATE_OPTION_VAL_RULES — Validates an option validation rule prior to commit.
Parameter lists are not exposed in the documented metadata and must be derived from the package specification. The procedures follow the Oracle API convention of returning a success or failure status and, where applicable, populating a standard error message table.
Tables Accessed
The documented dependency information does not include table references through APPS synonyms. However, the package body references the PL/SQL types JTF_DATE_TABLE, JTF_NUMBER_TABLE, JTF_VARCHAR2_TABLE_100, and JTF_VARCHAR2_TABLE_2000, which are the standard JTF collection types used to pass multi-row data into and out of concurrent and bulk processing APIs. The body also depends on OKC_API for contract message and error handling, and on FND_API for the standard Oracle Applications API framework, including the global message and return-status constants. The substantive option rule logic is delegated to OKL_OPTION_RULES_PVT, OKL_ORL_PVT, OKL_ORL_PVT_W, OKL_OVD_PVT, and OKL_OVD_PVT_W, which perform the actual DML against the underlying OKL option rules and option validation rule tables.
Usage Notes
OKL_OPTION_RULES_PVT_W is an internal wrapper and is not intended for direct invocation by external or custom code. It is typically called indirectly through the Oracle Lease and Finance Management setup forms and concurrent programs that maintain option rules and option validation rules, and through the public API layer that invokes OKL_OPTION_RULES_PVT. Because it is referenced by zero other database objects, it occupies the bottom of the call stack for this functional area. Customizations should call the public API rather than this wrapper. Any modification to the package body requires standard Oracle Applications patching discipline, including compilation against the APPS schema and validation with the FND_API error-handling conventions.
-
PACKAGE BODY: APPS.OKL_OPTION_RULES_PVT_W
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_OPTION_RULES_PVT_W, status:VALID,
-
PACKAGE: APPS.OKL_OPTION_RULES_PVT_W
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_OPTION_RULES_PVT_W, status:VALID,
-
PACKAGE: APPS.OKL_OPTION_RULES_PVT_W
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_OPTION_RULES_PVT_W, status:VALID,
-
PACKAGE BODY: APPS.OKL_OPTION_RULES_PVT_W
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_OPTION_RULES_PVT_W, status:VALID,
-
PACKAGE: APPS.OKL_OPTION_RULES_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_OPTION_RULES_PVT, status:VALID,
-
PACKAGE: APPS.OKL_ORL_PVT_W
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_ORL_PVT_W, status:VALID,
-
PACKAGE: APPS.OKL_OVD_PVT_W
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_OVD_PVT_W, status:VALID,
-
PACKAGE: APPS.OKL_OPTION_RULES_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_OPTION_RULES_PVT, status:VALID,
-
PACKAGE: APPS.OKL_ORL_PVT_W
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_ORL_PVT_W, status:VALID,
-
PACKAGE: APPS.OKL_OVD_PVT_W
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_OVD_PVT_W, status:VALID,
-
PACKAGE: APPS.OKL_ORL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_ORL_PVT, status:VALID,
-
PACKAGE: APPS.OKL_ORL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_ORL_PVT, status:VALID,
-
PACKAGE: APPS.OKL_OVD_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_OVD_PVT, status:VALID,
-
PACKAGE: APPS.OKL_OVD_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_OVD_PVT, status:VALID,
-
APPS.OKL_OPTION_RULES_PVT_W dependencies on OKL_OPTION_RULES_PVT_W
12.1.1
-
APPS.OKL_OPTION_RULES_PVT_W dependencies on OKL_OPTION_RULES_PVT_W
12.2.2
-
PACKAGE: APPS.OKL_OPTION_RULES_PVT_W
12.2.2
-
PACKAGE: APPS.OKL_OPTION_RULES_PVT_W
12.1.1
-
TYPE: APPS.JTF_VARCHAR2_TABLE_2000
12.1.1
owner:APPS, object_type:TYPE, object_name:JTF_VARCHAR2_TABLE_2000, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
TYPE: APPS.JTF_VARCHAR2_TABLE_2000
12.2.2
owner:APPS, object_type:TYPE, object_name:JTF_VARCHAR2_TABLE_2000, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OKL_OPTION_RULES_PVT_W
12.1.1
-
PACKAGE BODY: APPS.OKL_OPTION_RULES_PVT_W
12.2.2
-
TYPE: APPS.JTF_DATE_TABLE
12.1.1
owner:APPS, object_type:TYPE, object_name:JTF_DATE_TABLE, status:VALID,
-
TYPE: APPS.JTF_DATE_TABLE
12.2.2
owner:APPS, object_type:TYPE, object_name:JTF_DATE_TABLE, status:VALID,
-
TYPE: APPS.JTF_VARCHAR2_TABLE_100
12.2.2
owner:APPS, object_type:TYPE, object_name:JTF_VARCHAR2_TABLE_100, status:VALID,
-
TYPE: APPS.JTF_VARCHAR2_TABLE_100
12.1.1
owner:APPS, object_type:TYPE, object_name:JTF_VARCHAR2_TABLE_100, status:VALID,
-
APPS.OKL_OPTION_RULES_PVT_W dependencies on OKL_OPTION_RULES_PVT
12.1.1
-
TYPE: APPS.JTF_NUMBER_TABLE
12.1.1
owner:APPS, object_type:TYPE, object_name:JTF_NUMBER_TABLE, status:VALID,
-
APPS.OKL_OPTION_RULES_PVT_W dependencies on OKL_OPTION_RULES_PVT
12.2.2
-
TYPE: APPS.JTF_NUMBER_TABLE
12.2.2
owner:APPS, object_type:TYPE, object_name:JTF_NUMBER_TABLE, status:VALID,
-
PACKAGE: APPS.OKC_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_API, status:VALID,
-
PACKAGE: APPS.OKC_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_API, status:VALID,
-
APPS.OKL_OPTION_RULES_PVT_W dependencies on FND_API
12.1.1
-
APPS.OKL_OPTION_RULES_PVT_W dependencies on FND_API
12.2.2
-
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,
-
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: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,