Search Results delete_service_line
Overview
The APPS.OKL_SERVICE_LINE_PROCESS_PVT package body is a private (PVT-classified) API within the Oracle E-Business Suite Lease Management (OKL) module, part of the Enterprise Contract and Lease Management (ETRM) application family. Its central purpose is to manage the creation, maintenance, and removal of service lines on lease and contract instruments. Service lines represent the ongoing service components attached to a lease, such as maintenance, insurance, and other recurring charges that accompany the financed asset.
Because the package is classified as PVT, it is not intended for direct invocation by external or customer-written code. Rather, it serves as the internal implementation layer behind the public OKL service line APIs, encapsulating validation, record transformation, and persistence logic for the service line entities in the Lease Management data model. The package was last modified in the 12.1.1-era source base (header revision 120.3) and remains documented in ETRM 12.2.2, indicating continuity of behavior across both releases.
Key Procedures and Functions
The package exposes four documented procedures:
CREATE_SERVICE_LINE— The primary entry point invoked to establish a new service line on an existing contract or lease header. As seen in the source extract, it accepts API versioning and message-list initialization parameters, along with four record-type inputs (the clev, klev, cimv, and cplv record structures) carrying the service line attributes, and returns corresponding output record structures together with the standardx_return_status,x_msg_count, andx_msg_datadiagnostic parameters. It derives the contract header identifier from the incoming clev record and validates the underlying header state before persisting the new line.CREATE_SERVICE_ASSET— Creates the asset association linked to a service line, binding the service component to the leased asset so that the service obligation is properly attributed within the contract structure.UPDATE_SERVICE_LINE— Modifies the attributes of an existing service line, allowing changes to term, pricing, or related service details without recreating the line.DELETE_SERVICE_LINE— Removes a service line from the contract, typically subject to validation of downstream dependencies before the record is retired or logically deleted.
Tables Accessed
OKC_K_HEADERS_B— The core contract/lease header table, accessed via thec_hdrcursor inCREATE_SERVICE_LINEto retrieve the header'ssts_code(status) andcurrency_code. These values drive status validation and default currency derivation for the new service line.OKC_LINE_STYLES_B— The line style definition table, consulted to resolve the valid service line style and its associated behavior when creating or updating lines.
The package relies on APPS synonyms for these tables, consistent with OKL's layered architecture over the OKC contract foundation.
Usage Notes
As a PVT package, OKL_SERVICE_LINE_PROCESS_PVT is normally invoked indirectly through the corresponding public OKL API wrappers rather than being called directly. Standard invocation paths include Lease Management forms (such as the contract and service line maintenance screens) and concurrent programs that generate or refresh service lines. Custom integrations should call the public API layer, which in turn delegates to this private package, preserving the standard OKL_API.START_ACTIVITY / END_ACTIVITY message-handling and error-propagation conventions. The package is referenced by one other package, reflecting its role as a shared internal service-line processing utility.
-
APPS.OKL_SERVICE_LINE_PROCESS_PVT SQL Statements
12.1.1
-
APPS.OKL_SERVICE_LINE_PROCESS_PVT SQL Statements
12.2.2
-
APPS.OKL_SERVICE_INTEGRATION_PUB SQL Statements
12.2.2
-
APPS.OKL_SERVICE_INTEGRATION_PUB SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OKL_SERVICE_LINE_PROCESS_PVT
12.2.2
-
PACKAGE BODY: APPS.OKL_SERVICE_LINE_PROCESS_PVT
12.1.1
-
PACKAGE: APPS.OKL_SERVICE_LINE_PROCESS_PVT
12.2.2
-
PACKAGE: APPS.OKL_SERVICE_LINE_PROCESS_PVT
12.1.1
-
PACKAGE: APPS.OKL_SERVICE_INTEGRATION_PUB
12.2.2
-
PACKAGE: APPS.OKL_SERVICE_INTEGRATION_PUB
12.1.1
-
APPS.OKL_SERVICE_INTEGRATION_PVT SQL Statements
12.2.2
-
APPS.OKL_SERVICE_INTEGRATION_PVT SQL Statements
12.1.1
-
PACKAGE: APPS.OKL_SERVICE_INTEGRATION_PVT
12.2.2
-
PACKAGE: APPS.OKL_SERVICE_INTEGRATION_PVT
12.1.1
-
PACKAGE BODY: APPS.OKL_SERVICE_INTEGRATION_PUB
12.2.2
-
PACKAGE BODY: APPS.OKL_SERVICE_INTEGRATION_PUB
12.1.1
-
APPS.OKL_SERVICE_INTEGRATION_PVT_W SQL Statements
12.2.2
-
APPS.OKL_SERVICE_INTEGRATION_PVT_W SQL Statements
12.1.1
-
APPS.OKL_SERVICE_INTEGRATION_PUB_W SQL Statements
12.1.1
-
APPS.OKL_SERVICE_INTEGRATION_PUB_W SQL Statements
12.2.2
-
APPS.OKL_SERVICE_LINE_PROCESS_PVT dependencies on OKL_SERVICE_LINE_PROCESS_PVT
12.2.2
-
APPS.OKL_SERVICE_LINE_PROCESS_PVT dependencies on OKL_SERVICE_LINE_PROCESS_PVT
12.1.1
-
APPS.OKL_SERVICE_INTEGRATION_PUB dependencies on OKC_K_LINES_V
12.1.1
-
APPS.OKL_SERVICE_INTEGRATION_PUB dependencies on OKC_K_LINES_V
12.2.2
-
APPS.OKL_SERVICE_INTEGRATION_PVT_W dependencies on OKL_SERVICE_INTEGRATION_PVT
12.2.2
-
APPS.OKL_SERVICE_INTEGRATION_PVT dependencies on OKC_K_LINES_V
12.2.2
-
APPS.OKL_SERVICE_INTEGRATION_PVT dependencies on OKC_K_LINES_V
12.1.1
-
APPS.OKL_SERVICE_INTEGRATION_PVT_W dependencies on OKL_SERVICE_INTEGRATION_PVT
12.1.1
-
PACKAGE: APPS.OKL_SERVICE_INTEGRATION_PUB_W
12.1.1
-
PACKAGE: APPS.OKL_SERVICE_INTEGRATION_PVT_W
12.2.2
-
PACKAGE: APPS.OKL_SERVICE_INTEGRATION_PUB_W
12.2.2
-
PACKAGE BODY: APPS.OKL_SERVICE_INTEGRATION_PVT
12.1.1
-
PACKAGE: APPS.OKL_SERVICE_INTEGRATION_PVT_W
12.1.1
-
PACKAGE BODY: APPS.OKL_SERVICE_INTEGRATION_PVT
12.2.2
-
PACKAGE BODY: APPS.OKL_SERVICE_INTEGRATION_PUB_W
12.1.1
-
PACKAGE BODY: APPS.OKL_SERVICE_INTEGRATION_PUB_W
12.2.2
-
PACKAGE BODY: APPS.OKL_SERVICE_INTEGRATION_PVT_W
12.2.2
-
PACKAGE BODY: APPS.OKL_SERVICE_INTEGRATION_PVT_W
12.1.1
-
APPS.OKL_SERVICE_INTEGRATION_PVT_W dependencies on JTF_NUMBER_TABLE
12.2.2
-
APPS.OKL_SERVICE_INTEGRATION_PVT_W dependencies on JTF_NUMBER_TABLE
12.1.1