Search Results oks_con_coverage_pub
Overview
The APPS.OKS_CON_COVERAGE_PUB package body is a public API belonging to the Oracle E-Business Suite Service Contracts (OKS) module. Its principal business function is to apply contract coverage — including entitlement and discount logic — to service and estimate amounts. In an EBS environment, this package supports the pricing and coverage determination that occurs when a service contract is applied to a repair, order, or estimate line, allowing the system to compute the effectively discounted amount a customer pays once the terms of an active service contract are taken into account.
As a _PUB (public) API, the package serves as the externally supported entry point. It follows Oracle's standard API architecture: the public wrapper validates and routes the call to the corresponding private implementation (OKS_CON_COVERAGE_PVT), while the private package performs the actual business logic against the underlying tables. The header comment ($Header: OKSPACCB.pls 120.0 ...) indicates the API is an established, low-versioned component within the OKS data model.
Key Procedures and Functions
The package exposes three documented procedures, all classified as public API:
- apply_contract_coverage — The primary procedure and the object of the user's search. It accepts an input table of estimated amounts and returns a corresponding table of estimated discounted amounts after applying contract coverage. It is the only procedure whose full signature appears in the source excerpt. The input table is of type
ser_tbl_typeand the output table is of typecov_tbl_type. - get_bp_pricelist — Retrieves a business partner price list associated with contract coverage evaluation, used to resolve price-list-based pricing in the coverage computation.
- get_bill_rates — Returns billing rate information used in coverage and entitlement calculations, supporting the rate determination needed to derive discounted amounts.
All three follow the EBS API conventions of version and initialization parameters, returning status, message count, and message data to the caller. The specific parameter lists for get_bp_pricelist and get_bill_rates are not reproduced in the metadata and are not restated here.
Tables Accessed
The provided ETRM metadata does not enumerate the tables referenced by this package via APPS synonyms, so a definitive documented table list is unavailable. By design, OKS_CON_COVERAGE_PUB delegates all data access to its private counterpart OKS_CON_COVERAGE_PVT, which reads service contract coverage definitions, entitlement rules, and pricing/rate data to compute the discounted amounts. The public body itself contains no direct SQL; it manages the API activity lifecycle through OKC_API.START_ACTIVITY and OKC_API.END_ACTIVITY.
Usage Notes
OKS_CON_COVERAGE_PUB.apply_contract_coverage is typically invoked during service pricing and coverage determination flows — from Service Contracts forms, from estimate and service request processing, or from custom extensions that require contract-based discounting of amounts. The metadata records that the package is referenced by seven other packages, indicating its role as a shared pricing utility within OKS.
Callers should observe standard EBS API protocol: pass the API version and initialization flag, inspect x_return_status for G_RET_STS_ERROR or G_RET_STS_UNEXP_ERROR, and retrieve messages via the message count and message data outputs. Because the public layer traps and standardizes exceptions through OKC_API.HANDLE_EXCEPTIONS, callers should always check the return status rather than relying on unhandled exceptions.
-
PACKAGE BODY: APPS.OKS_CON_COVERAGE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_CON_COVERAGE_PUB, status:VALID,
-
PACKAGE: APPS.OKS_CON_COVERAGE_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_CON_COVERAGE_PVT, status:VALID,
-
PACKAGE: APPS.OKS_CON_COVERAGE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_CON_COVERAGE_PUB, status:VALID,
-
PACKAGE: APPS.OKS_CON_COVERAGE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_CON_COVERAGE_PVT, status:VALID,
-
PACKAGE: APPS.OKS_CON_COVERAGE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_CON_COVERAGE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKS_CON_COVERAGE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_CON_COVERAGE_PUB, status:VALID,
-
PACKAGE BODY: APPS.CS_EST_APPLY_CONTRACT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CS_EST_APPLY_CONTRACT_PKG, status:VALID,
-
PACKAGE BODY: APPS.CS_EST_APPLY_CONTRACT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_EST_APPLY_CONTRACT_PKG, status:VALID,
-
PACKAGE BODY: APPS.CSD_CHARGE_LINE_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CSD_CHARGE_LINE_UTIL, status:VALID,
-
PACKAGE BODY: APPS.CS_CHARGE_CONTRACT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_CHARGE_CONTRACT_PKG, status:VALID,
-
PACKAGE BODY: APPS.CS_SERVICE_BILLING_ENGINE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CS_SERVICE_BILLING_ENGINE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_CON_COVERAGE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_CON_COVERAGE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_CON_COVERAGE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_CON_COVERAGE_PVT, status:VALID,
-
PACKAGE BODY: APPS.CSD_CHARGE_LINE_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSD_CHARGE_LINE_UTIL, status:VALID,
-
PACKAGE BODY: APPS.CS_SERVICE_BILLING_ENGINE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_SERVICE_BILLING_ENGINE_PVT, status:VALID,
-
PACKAGE BODY: APPS.CSD_PROCESS_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CSD_PROCESS_UTIL, status:VALID,
-
PACKAGE: APPS.OKS_CON_COVERAGE_PUB
12.1.1
-
PACKAGE BODY: APPS.OKS_CON_COVERAGE_PUB
12.2.2
-
PACKAGE: APPS.OKS_CON_COVERAGE_PUB
12.2.2
-
PACKAGE BODY: APPS.CS_CHARGE_DETAILS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_CHARGE_DETAILS_PVT, status:VALID,
-
PACKAGE BODY: APPS.CS_CHARGE_DETAILS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CS_CHARGE_DETAILS_PVT, status:VALID,
-
PACKAGE BODY: APPS.CSD_PROCESS_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSD_PROCESS_UTIL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.OKS_CON_COVERAGE_PUB
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.CS_CHARGE_DETAILS_PVT dependencies on OKS_CON_COVERAGE_PUB
12.2.2
-
APPS.CSD_PROCESS_UTIL dependencies on OKS_CON_COVERAGE_PUB
12.1.1
-
APPS.CSD_CHARGE_LINE_UTIL dependencies on OKS_CON_COVERAGE_PUB
12.1.1
-
APPS.CS_SERVICE_BILLING_ENGINE_PVT dependencies on OKS_CON_COVERAGE_PUB
12.2.2
-
APPS.OKS_CON_COVERAGE_PVT dependencies on OKS_CON_COVERAGE_PUB
12.1.1
-
APPS.CSD_PROCESS_UTIL dependencies on OKS_CON_COVERAGE_PUB
12.2.2
-
APPS.CS_EST_APPLY_CONTRACT_PKG dependencies on OKS_CON_COVERAGE_PUB
12.1.1
-
APPS.OKS_CON_COVERAGE_PUB dependencies on OKS_CON_COVERAGE_PUB
12.2.2
-
APPS.OKS_CON_COVERAGE_PVT dependencies on OKS_CON_COVERAGE_PUB
12.2.2
-
APPS.OKS_CON_COVERAGE_PUB dependencies on OKS_CON_COVERAGE_PUB
12.1.1
-
APPS.OKS_CON_COVERAGE_PVT dependencies on OKS_CON_COVERAGE_PUB
12.2.2
-
APPS.CS_CHARGE_DETAILS_PVT dependencies on OKS_CON_COVERAGE_PUB
12.1.1
-
APPS.OKS_CON_COVERAGE_PVT dependencies on OKS_CON_COVERAGE_PUB
12.1.1
-
APPS.CS_SERVICE_BILLING_ENGINE_PVT dependencies on OKS_CON_COVERAGE_PUB
12.1.1
-
APPS.CS_EST_APPLY_CONTRACT_PKG dependencies on OKS_CON_COVERAGE_PUB
12.2.2
-
APPS.CS_CHARGE_CONTRACT_PKG dependencies on OKS_CON_COVERAGE_PUB
12.2.2
-
APPS.CSD_CHARGE_LINE_UTIL dependencies on OKS_CON_COVERAGE_PUB
12.2.2
-
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,
-
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