Search Results okl_deal_create_pub
Overview
OKL_DEAL_CREATE_PUB is a public PL/SQL API package in the APPS schema that serves as the primary programmatic entry point for creating and maintaining lease and deal records within the Oracle E-Business Suite Lease Management (OKL) module. Lease Management is delivered as part of Oracle Enterprise Contracts and is tightly integrated with the OKC (Contracts Core) schema, which owns the underlying contract header, line, party-role, and rule structures. The package abstracts the complexity of these multi-table contract constructs so that callers can create a complete deal—header, parties, rules, and associated governance data—through a small number of well-defined entry points rather than writing directly against the OKC base tables.
The package is classified as PUB (public), indicating that Oracle supports its use as a documented extension and integration interface. It is validated in both EBS 12.1.1 and 12.2.2. Internally it depends on OKC_API and OKL_API, the core contract and lease APIs, and on several OKC views and base tables, so it encapsulates rather than duplicates the underlying business logic.
Key Procedures and Functions
Eleven documented procedures and functions are exposed. The most significant are:
- CREATE_DEAL — Creates a new lease or deal contract, establishing the OKC contract header and the associated OKL lease attributes.
- UPDATE_DEAL — Modifies an existing deal, applying changes to header-level attributes and related contract data.
- LOAD_DEAL — Populates a deal from an existing source, typically supporting bulk or interface-driven creation.
- COPY_RULES — Copies rule groups and rules from a source contract to the target deal, preserving rule configuration across similar agreements.
- CONFIRM_CANCEL_CONTRACT — Confirms or cancels a contract, transitioning its lifecycle status.
- CREATE_PARTY — Adds a party role (for example, lessee or lessor) to the deal, creating the associated OKC party-role and contact records.
- UPDATE_PARTY — Modifies an existing party role association on the deal.
The remaining documented routines support ancillary setup and validation activities. Parameter lists are intentionally not reproduced here; callers should consult the package specification in the database for exact signatures.
Tables Accessed
The package reads and writes contract structures primarily through APPS synonyms, including OKC_K_HEADERS_B and OKC_K_HEADERS_ALL_B (contract headers), OKC_K_LINES_B and OKC_LINE_STYLES_B (contract lines), OKC_K_PARTY_ROLES_B (party role assignments), OKC_K_ARTICLES_B, OKC_CONTACTS, and OKC_GOVERNANCES (contract text, contacts, and governance data). Lease-specific data is accessed through OKL_K_PARTY_ROLES and the OKL_K_HEADERS_FULL_V view. Setup and validation lookups draw on FND_LOOKUP_VALUES, FND_FLEX_VALUE_SETS, FND_DESCR_FLEX_COLUMN_USAGES, AK_REGIONS, AK_REGION_ITEMS, and OKC_QA_CHECK_LISTS_B, which supply descriptive flexfield definitions, region metadata, and quality-assurance checklist configuration used during deal creation and validation.
Usage Notes
OKL_DEAL_CREATE_PUB is referenced by several other components, including OKL_CS_LC_CONTRACT_PVT, OKL_DEAL_CREATE_PUB_W (a wrapper package), and OKL_OPEN_INTERFACE_PVT, indicating that it is invoked both from the Lease Management forms layer and from open-interface processing. Custom integrations and concurrent programs that must deliver or migrate lease deals should call this package rather than the OKC base tables, since the API enforces the required validations and cross-table insert sequencing. Because it is a PUB-classified API, it is the supported surface for extension development, but callers must still respect the OKC/OKL transaction model and commit strategy expected by the standard Lease Management flows.
-
PACKAGE: APPS.OKL_DEAL_CREATE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_DEAL_CREATE_PUB, status:VALID,
-
PACKAGE: APPS.OKL_DEAL_CREATE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_DEAL_CREATE_PUB, status:VALID,
-
SYNONYM: APPS.OKL_LEASE_QUOTES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKL_LEASE_QUOTES_TL, status:VALID,
-
PACKAGE BODY: APPS.OKL_DEAL_CREATE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_DEAL_CREATE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_DEAL_CREATE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_DEAL_CREATE_PUB, status:VALID,
-
PACKAGE: APPS.OKL_DEAL_CREATE_PUB_W
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_DEAL_CREATE_PUB_W, status:VALID,
-
SYNONYM: APPS.OKC_QA_CHECK_LISTS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_QA_CHECK_LISTS_TL, status:VALID,
-
SYNONYM: APPS.OKL_LEASE_APPS_ALL_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKL_LEASE_APPS_ALL_B, status:VALID,
-
PACKAGE: APPS.OKL_MAINTAIN_CONTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_MAINTAIN_CONTRACT_PVT, status:VALID,
-
PACKAGE: APPS.OKL_CS_LC_CONTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_CS_LC_CONTRACT_PVT, status:VALID,
-
PACKAGE: APPS.OKL_MAINTAIN_CONTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_MAINTAIN_CONTRACT_PVT, status:VALID,
-
SYNONYM: APPS.OKL_LEASE_QUOTES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKL_LEASE_QUOTES_TL, status:VALID,
-
PACKAGE: APPS.OKL_LA_PROPERTY_TAX_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_LA_PROPERTY_TAX_PVT, status:VALID,
-
SYNONYM: APPS.OKL_LEASE_APPS_ALL_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKL_LEASE_APPS_ALL_B, status:VALID,
-
SYNONYM: APPS.OKL_K_PARTY_ROLES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKL_K_PARTY_ROLES, status:VALID,
-
PACKAGE: APPS.OKL_QUOTE_TO_CONTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_QUOTE_TO_CONTRACT_PVT, status:VALID,
-
SYNONYM: APPS.OKL_LEASE_APPLICATIONS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKL_LEASE_APPLICATIONS_TL, status:VALID,
-
SYNONYM: APPS.OKL_LEASE_APPLICATIONS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKL_LEASE_APPLICATIONS_TL, status:VALID,
-
PACKAGE BODY: APPS.OKL_DEAL_CREATE_PUB_W
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_DEAL_CREATE_PUB_W, status:VALID,
-
PACKAGE: APPS.OKL_DEAL_CREATE_PUB_W
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_DEAL_CREATE_PUB_W, status:VALID,
-
SYNONYM: APPS.OKC_QA_CHECK_LISTS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_QA_CHECK_LISTS_TL, status:VALID,
-
PACKAGE: APPS.OKL_COPY_ASSET_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_COPY_ASSET_PUB, status:VALID,
-
SYNONYM: APPS.OKC_RULE_DEFS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_RULE_DEFS_B, status:VALID,
-
PACKAGE: APPS.OKL_LA_PROPERTY_TAX_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_LA_PROPERTY_TAX_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_DEAL_CREATE_PUB_W
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_DEAL_CREATE_PUB_W, status:VALID,
-
SYNONYM: APPS.OKC_QA_CHECK_LISTS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_QA_CHECK_LISTS_B, status:VALID,
-
SYNONYM: APPS.OKL_K_PARTY_ROLES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKL_K_PARTY_ROLES, status:VALID,
-
PACKAGE: APPS.OKL_QUOTE_TO_CONTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_QUOTE_TO_CONTRACT_PVT, status:VALID,
-
PACKAGE: APPS.OKL_CS_LC_CONTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_CS_LC_CONTRACT_PVT, status:VALID,
-
SYNONYM: APPS.OKC_RG_ROLE_DEFS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_RG_ROLE_DEFS, status:VALID,
-
VIEW: APPS.OKC_GOVERNANCES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_GOVERNANCES_V, object_name:OKC_GOVERNANCES_V, status:VALID,
-
VIEW: APPS.OKC_GOVERNANCES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_GOVERNANCES_V, object_name:OKC_GOVERNANCES_V, status:VALID,
-
SYNONYM: APPS.OKC_RG_DEF_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_RG_DEF_RULES, status:VALID,
-
SYNONYM: APPS.OKC_RULE_DEFS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_RULE_DEFS_B, status:VALID,
-
SYNONYM: APPS.OKC_QA_CHECK_LISTS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_QA_CHECK_LISTS_B, status:VALID,
-
PACKAGE: APPS.OKL_COPY_ASSET_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_COPY_ASSET_PUB, status:VALID,
-
SYNONYM: APPS.OKL_VP_ASSOCIATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKL_VP_ASSOCIATIONS, status:VALID,
-
SYNONYM: APPS.OKC_RG_ROLE_DEFS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_RG_ROLE_DEFS, status:VALID,
-
SYNONYM: APPS.OKL_VP_ASSOCIATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKL_VP_ASSOCIATIONS, status:VALID,
-
SYNONYM: APPS.OKL_LEASE_OPPORTUNITIES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKL_LEASE_OPPORTUNITIES_B, status:VALID,
-
SYNONYM: APPS.OKC_SUBCLASS_TOP_LINE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_SUBCLASS_TOP_LINE, status:VALID,
-
SYNONYM: APPS.OKC_RG_DEF_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_RG_DEF_RULES, status:VALID,
-
PACKAGE: APPS.OKL_COPY_CONTRACT_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_COPY_CONTRACT_PUB, status:VALID,
-
SYNONYM: APPS.OKC_ROLE_SOURCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_ROLE_SOURCES, status:VALID,
-
PACKAGE: APPS.OKL_LA_VALIDATION_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_LA_VALIDATION_UTIL_PVT, status:VALID,
-
SYNONYM: APPS.OKC_ROLE_SOURCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_ROLE_SOURCES, status:VALID,
-
SYNONYM: APPS.OKC_SUBCLASS_RG_DEFS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_SUBCLASS_RG_DEFS, status:VALID,
-
PACKAGE: APPS.OKL_K_PARTY_ROLES_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_K_PARTY_ROLES_PVT, status:VALID,
-
SYNONYM: APPS.OKC_SUBCLASS_RG_DEFS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_SUBCLASS_RG_DEFS, status:VALID,
-
PACKAGE: APPS.OKL_LA_VALIDATION_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_LA_VALIDATION_UTIL_PVT, status:VALID,