Search Results okl_setupoptrules_pub_w
Overview
OKL_SETUPOPTRULES_PUB_W is a public PL/SQL package in the APPS schema that belongs to the Oracle Lease and Finance Management (OKL) module of Oracle E-Business Suite. The "_PUB_W" suffix indicates that this is a published wrapper package, a standard Oracle development pattern in which a thin public shell exposes a stable interface to underlying private logic. In the case of OKL_SETUPOPTRULES_PUB_W, the package supports the setup and maintenance of option rules that govern how lease and finance contracts treat end-of-term options, purchase options, and related contractual terms within the OKL setup framework.
The package operates under the ETRM (Enterprise Transaction and Reference Model) layer of Oracle EBS, and its classification is listed as "OTHER" in the 12.2.2 metadata, meaning it is neither a pure validation API nor a workflow API in the conventional sense, but rather a utility package dedicated to manipulating option rule setup data. Its dependencies confirm the standard EBS API infrastructure: FND_API for error handling and message propagation, and the JTF_* collection types (JTF_VARCHAR2_TABLE_100, JTF_VARCHAR2_TABLE_2000, JTF_NUMBER_TABLE, and JTF_DATE_TABLE) for passing structured, multi-row parameter sets between caller and package.
Key Procedures and Functions
The package documents three procedures:
- GET_REC — Retrieves a single option rule setup record, typically returning the populated fields of an option rule definition to the calling program. It is the primary read interface of the package.
- INSERT_OPTRULES — Creates one or more option rule setup records. It accepts the rule attributes and persists them into the underlying OKL option rule tables.
- DELETE_OPTRULES — Removes existing option rule setup records, allowing administrators or calling processes to purge obsolete or invalid rule configurations.
Notably, the documented procedure set does not include an UPDATE operation, which suggests that modifications to option rules are handled either by delete-and-reinsert semantics or by a separate update path not exposed at this metadata level. Parameter lists are intentionally not enumerated here; callers should inspect the package specification in the database for exact signatures.
Tables Accessed
The ETRM metadata does not publish a definitive table list for this package. Based on the OKL schema and the functional purpose of option rule setup, the package is expected to operate against the option rules setup tables (the OKL_*_OPTRULES family of tables) through APPS synonyms. Because these are setup, not transactional, tables, the volume of DML is normally low, and the operations are typically administrative in nature rather than high-throughput. Any custom integration that calls this package should confirm the exact base tables by querying ALL_DEPENDENCIES for the package body, since the wrapper itself declares dependencies only on FND_API and the JTF collection types.
Usage Notes
OKL_SETUPOPTRULES_PUB_W is referenced by zero other packages in the documented metadata, which reinforces its role as an entry-point API rather than an internal building block. In practice it is invoked from three typical contexts: the Oracle Lease and Finance Management setup forms, where administrators maintain option rules through the application UI; concurrent programs or setup migration utilities that load option rules in bulk; and custom PL/SQL code that needs to programmatically create, query, or delete option rule configurations as part of an implementation or data conversion.
Because the "_PUB_W" wrapper delegates to private implementation logic, developers should always call the public package rather than the underlying private package, ensuring compatibility across EBS releases such as 12.1.1 and 12.2.2. Standard API conventions apply: initialize the FND_API global variables, inspect the returned success/failure flag, and call the appropriate error-handling routine to retrieve messages. Direct DML against the base option rule tables should be avoided in favor of these documented procedures to preserve data integrity and upgrade safety.
-
PACKAGE: APPS.OKL_SETUPOPTRULES_PUB_W
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_SETUPOPTRULES_PUB_W, status:VALID,
-
PACKAGE: APPS.OKL_SETUPOPTRULES_PUB_W
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_SETUPOPTRULES_PUB_W, status:VALID,
-
PACKAGE BODY: APPS.OKL_SETUPOPTRULES_PUB_W
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_SETUPOPTRULES_PUB_W, status:VALID,
-
PACKAGE BODY: APPS.OKL_SETUPOPTRULES_PUB_W
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_SETUPOPTRULES_PUB_W, status:VALID,
-
PACKAGE: APPS.OKL_SETUPOPTRULES_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_SETUPOPTRULES_PUB, status:VALID,
-
PACKAGE: APPS.OKL_SETUPOPTRULES_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_SETUPOPTRULES_PUB, 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_ORL_PVT_W
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_ORL_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_OPT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_OPT_PVT, status:VALID,
-
PACKAGE: APPS.OKL_SETUPOPTRULES_PUB_W
12.2.2
-
PACKAGE: APPS.OKL_OPT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_OPT_PVT, status:VALID,
-
PACKAGE: APPS.OKL_SETUPOPTRULES_PUB_W
12.1.1
-
PACKAGE BODY: APPS.OKL_SETUPOPTRULES_PUB_W
12.1.1
-
PACKAGE BODY: APPS.OKL_SETUPOPTRULES_PUB_W
12.2.2
-
APPS.OKL_SETUPOPTRULES_PUB_W dependencies on OKL_SETUPOPTRULES_PUB_W
12.2.2
-
APPS.OKL_SETUPOPTRULES_PUB_W dependencies on OKL_SETUPOPTRULES_PUB_W
12.1.1
-
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.2.2 DBA Data
12.2.2
-
TYPE: APPS.JTF_VARCHAR2_TABLE_2000
12.1.1
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
-
APPS.OKL_SETUPOPTRULES_PUB_W dependencies on OKL_SETUPOPTRULES_PUB
12.1.1
-
APPS.OKL_SETUPOPTRULES_PUB_W dependencies on OKL_SETUPOPTRULES_PUB
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.1.1
owner:APPS, object_type:TYPE, object_name:JTF_VARCHAR2_TABLE_100, 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_NUMBER_TABLE
12.2.2
owner:APPS, object_type:TYPE, object_name:JTF_NUMBER_TABLE, status:VALID,
-
TYPE: APPS.JTF_NUMBER_TABLE
12.1.1
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_SETUPOPTRULES_PUB_W dependencies on FND_API
12.1.1
-
APPS.OKL_SETUPOPTRULES_PUB_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,