Search Results oks_ent_util_pvt
Overview
The APPS.OKS_ENT_UTIL_PVT package body is a private utility package within the Oracle E-Business Suite Service Contracts (OKS) and Enterprise Contracts (OKC) module family. Its designation as a PVT package indicates that it is intended for internal use by other API packages within the same product, rather than for direct invocation by external custom code or concurrent programs. The package serves as a central extraction and retrieval utility that resolves entitlement attributes, contract terms, pricing constructs, and party relationships from the underlying service contract data model. It abstracts the complexity of joining contract headers, lines, line styles, party roles, and governance records into a set of reusable accessor functions shared across the OKS entitlement engine.
Key Procedures and Functions
The package exposes twenty-seven documented procedures and functions, each designed to retrieve a specific entitlement or contract attribute. These can be grouped by functional domain:
- Contract and agreement accessors:
GET_AGREEMENT,GET_CONTRACT_AMOUNT,GET_TERMS, andGET_DURATION_PERIODresolve the governing service agreement, its financial value, its contractual terms, and the effective duration of coverage. - Party and address resolution:
GET_PARTY,GET_BILLTOSHIPTO, andGET_CLVL_PARTYreturn the customer party, bill-to and ship-to identifiers, and party values at the contract line level, supporting entitlement validation against customer records. - Pricing and discounting:
GET_PRICELIST,GET_DISCOUNT,GET_QTYRATE_RULE, andGET_CONVRULEretrieve the applicable price list, discount schedules, quantity-based rating rules, and conversion rules used in coverage pricing. - Billing and invoicing:
GET_ACC_RULE,GET_INV_RULE,GET_BILLINGPROFILE, andGET_BILLINGSCHEDULEresolve accounting rules, invoicing rules, billing profiles, and billing schedules associated with the entitlement. - Product and item resolution:
GET_PRODUCT,GET_SYSTEM, andGET_INVITEMmap coverage to the covered product, installed system, and inventory item respectively. - Tax and miscellaneous:
GET_TAXRULEandGET_RENTERNOTESretrieve tax determination rules and renter notes attached to the contract.
Tables Accessed
The package reads from the core Service Contracts and Enterprise Contracts base tables, primarily through APPS synonyms. The principal contract tables are OKC_K_HEADERS_B, OKC_K_LINES_B, and OKC_K_ITEMS, which store header, line, and item level contract data; OKC_K_PARTY_ROLES_B supplies party role assignments, and OKC_LINE_STYLES_B provides line style definitions that govern contract behavior. The OKS-specific tables OKS_K_HEADERS_B and OKS_K_LINES_B supply service contract extensions. OKC_GOVERNANCES holds governance records that bind contract structures. Installed base context is drawn from CSI_ITEM_INSTANCES. Lookup values are resolved through FND_LOOKUPS, and date arithmetic relies on OKC_TIME_UTIL_PUB. Several read-only views — including OKS_COV_TYPES_V, OKX_CUSTOMER_ACCOUNTS_V, OKX_CUSTOMER_PRODUCTS_V, OKX_CUST_SITE_USES_V, OKX_PARTIES_V, OKX_PARTY_SITES_V, OKX_SYSTEMS_V, and OKX_SYSTEM_ITEMS_V — supply customer, party, system, and customer product hierarchies.
Usage Notes
As a private package, OKS_ENT_UTIL_PVT is not intended for direct invocation by external interfaces, concurrent programs, or form personalizations. It is invoked indirectly through public entitlement and service contract APIs, and it is documented as being referenced by five other packages within the OKS module. The package itself is not referenced by any database object outside this internal dependency chain. Because its status is VALID and it does not appear as an entry point, developers extending entitlement logic should call the public OKS/OKC APIs rather than this utility directly. Custom code that bypasses the public layer and invokes these accessors directly risks breakage during patching or upgrade, since the private interface is not guaranteed to remain stable across releases such as 12.1.1 and 12.2.2.
-
PACKAGE BODY: APPS.OKS_ENT_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_ENT_UTIL_PVT, status:VALID,
-
PACKAGE: APPS.OKS_ENT_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_ENT_UTIL_PVT, status:VALID,
-
PACKAGE: APPS.OKS_ENT_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_ENT_UTIL_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_ENT_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_ENT_UTIL_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_ENTITLEMENTS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_ENTITLEMENTS_PVT, status:VALID,
-
PACKAGE: APPS.OKS_ENT_UTIL_PVT
12.2.2
-
PACKAGE BODY: APPS.OKS_ENTITLEMENTS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_ENTITLEMENTS_PVT, status:VALID,
-
SYNONYM: APPS.OKC_GOVERNANCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_GOVERNANCES, status:VALID,
-
PACKAGE: APPS.OKS_ENT_UTIL_PVT
12.1.1
-
SYNONYM: APPS.OKC_GOVERNANCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_GOVERNANCES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.OKS_ENT_BILL_RATES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_ENT_BILL_RATES_V, object_name:OKS_ENT_BILL_RATES_V, status:VALID,
-
PACKAGE: APPS.OKC_TIME_UTIL_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_TIME_UTIL_PUB, status:VALID,
-
SYNONYM: APPS.OKS_K_HEADERS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_K_HEADERS_B, status:VALID,
-
VIEW: APPS.OKS_ENT_BILL_RATES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_ENT_BILL_RATES_V, object_name:OKS_ENT_BILL_RATES_V, status:VALID,
-
PACKAGE: APPS.OKC_TIME_UTIL_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_TIME_UTIL_PUB, status:VALID,
-
SYNONYM: APPS.OKS_K_LINES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_K_LINES_B, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.OKS_K_HEADERS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_K_HEADERS_B, status:VALID,
-
SYNONYM: APPS.OKS_K_LINES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_K_LINES_B, status:VALID,
-
VIEW: APPS.OKX_SYSTEMS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_SYSTEMS_V, object_name:OKX_SYSTEMS_V, status:VALID,
-
VIEW: APPS.OKX_SYSTEMS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_SYSTEMS_V, object_name:OKX_SYSTEMS_V, status:VALID,
-
VIEW: APPS.OKX_PARTY_SITES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_PARTY_SITES_V, object_name:OKX_PARTY_SITES_V, status:VALID,
-
VIEW: APPS.CS_CONTRACT_COVERAGES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_CONTRACT_COVERAGES_V, object_name:CS_CONTRACT_COVERAGES_V, status:VALID,
-
VIEW: APPS.OKX_PARTY_SITES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_PARTY_SITES_V, object_name:OKX_PARTY_SITES_V, status:VALID,
-
VIEW: APPS.CS_CONTRACT_COVERAGES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_CONTRACT_COVERAGES_V, object_name:CS_CONTRACT_COVERAGES_V, status:VALID,
-
VIEW: APPS.OKX_CUSTOMER_ACCOUNTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_CUSTOMER_ACCOUNTS_V, object_name:OKX_CUSTOMER_ACCOUNTS_V, status:VALID,
-
VIEW: APPS.OKX_CUSTOMER_ACCOUNTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_CUSTOMER_ACCOUNTS_V, object_name:OKX_CUSTOMER_ACCOUNTS_V, status:VALID,
-
VIEW: APPS.OKS_COV_TYPES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_COV_TYPES_V, object_name:OKS_COV_TYPES_V, status:VALID,
-
VIEW: APPS.OKS_COV_TYPES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_COV_TYPES_V, object_name:OKS_COV_TYPES_V, status:VALID,
-
VIEW: APPS.OKS_ENT_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_ENT_HEADERS_V, object_name:OKS_ENT_HEADERS_V, status:VALID,
-
VIEW: APPS.OKX_PARTIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_PARTIES_V, object_name:OKX_PARTIES_V, status:VALID,
-
VIEW: APPS.OKX_CUST_SITE_USES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_CUST_SITE_USES_V, object_name:OKX_CUST_SITE_USES_V, status:VALID,
-
VIEW: APPS.OKS_ENT_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_ENT_HEADERS_V, object_name:OKS_ENT_HEADERS_V, status:VALID,
-
VIEW: APPS.OKX_CUST_SITE_USES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_CUST_SITE_USES_V, object_name:OKX_CUST_SITE_USES_V, status:VALID,
-
VIEW: APPS.OKX_PARTIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_PARTIES_V, object_name:OKX_PARTIES_V, status:VALID,
-
eTRM - OKX Tables and Views
12.1.1
-
SYNONYM: APPS.OKC_LINE_STYLES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_LINE_STYLES_B, status:VALID,
-
VIEW: APPS.OKX_SYSTEM_ITEMS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_SYSTEM_ITEMS_V, object_name:OKX_SYSTEM_ITEMS_V, status:VALID,
-
SYNONYM: APPS.OKC_K_ITEMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ITEMS, status:VALID,
-
VIEW: APPS.OKX_SYSTEM_ITEMS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_SYSTEM_ITEMS_V, object_name:OKX_SYSTEM_ITEMS_V, status:VALID,
-
SYNONYM: APPS.OKC_LINE_STYLES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_LINE_STYLES_B, status:VALID,
-
SYNONYM: APPS.OKC_K_ITEMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ITEMS, status:VALID,
-
SYNONYM: APPS.OKC_K_PARTY_ROLES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_PARTY_ROLES_B, status:VALID,
-
SYNONYM: APPS.OKC_K_PARTY_ROLES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_PARTY_ROLES_B, status:VALID,
-
APPS.OKS_ENT_BILL_RATES_V dependencies on OKS_ENT_UTIL_PVT
12.2.2
-
VIEW: APPS.OKX_CUSTOMER_PRODUCTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_CUSTOMER_PRODUCTS_V, object_name:OKX_CUSTOMER_PRODUCTS_V, status:VALID,
-
VIEW: APPS.OKX_CUSTOMER_PRODUCTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_CUSTOMER_PRODUCTS_V, object_name:OKX_CUSTOMER_PRODUCTS_V, status:VALID,