Search Results oks_misc_util_web
Overview
OKS_MISC_UTIL_WEB is a PL/SQL package body owned by the APPS schema in Oracle E-Business Suite, classified under the Service Contracts (OKS) module. It provides a collection of utility functions used primarily by the Oracle Service Contracts web-based user interface (the "Web" suffix in its name) to support billing, coverage, and contract-line related computations. The package consolidates helper logic that would otherwise be duplicated across the service contracts HTML/Java-based flows, such as retrieving names and descriptions, calculating billed, unbilled, discount, surcharge, and terminated amounts, and resolving duration and coverage-level attributes.
In ETRM terms, the package is classified as OTHER and is not an exposed public API. It is a reusable internal utility referenced by three other packages and calls back into itself, indicating recursive or modular helper usage. It is marked VALID in the data dictionary. Its documented procedures and functions span 17 units, all oriented toward supporting the presentation layer of Service Contracts rather than transactional processing.
Key Procedures and Functions
The seventeen documented units fall into several functional groups:
- Amount and billing helpers: GET_TOTAL_AMOUNT, GET_LINE_BILLED_AMOUNT, GET_LINE_UNBILLED_AMOUNT, GET_HEADER_BILLED_AMOUNT, and GET_HEADER_UNBILLED_AMOUNT compute aggregate monetary values at the line and header level from billing sub-lines and transactions. ADJUSTED_DISCOUNT, ADJUSTED_SURCHARGE, and ADJUSTED_TOTAL derive net values after applying pricing adjustments. GET_TERMINATED_AMOUNT and GET_ADJUSTMENT_AMOUNT return amounts associated with terminations and adjustments respectively.
- Duration helpers: DURATION_PERIOD, DURATION_UNIT, and GET_DURATION_PERIOD resolve contract duration attributes, likely converting between periods and units of measure.
- Naming and display helpers: GET_NAME and GET_COVLVL_NAME retrieve customer/party names and coverage-level names respectively, supporting UI rendering.
- Contract identification: GET_COMMIMENT_NUMBER (note the documented spelling) returns a contract or commitment number for display or lookup.
- Validation: VALIDATE_COMPONENT_YN performs a yes/no validation of a component, typically to determine whether a service line is a valid component within a contract hierarchy.
Parameter lists are not modeled in the ETRM metadata; each unit is documented by name and purpose only. Callers should consult the package specification in the APPS schema for exact signatures.
Tables Accessed
The package reads and writes a broad set of Service Contracts, Order Management, Installed Base, and Receivables tables via APPS synonyms. Contract structure tables (OKC_K_ITEMS, OKC_K_LINES_B, OKC_K_REL_OBJS, OKS_K_HEADERS_B, OKS_K_LINES_B) supply header, line, and relationship data. Billing logic relies on OKS_BILL_CONT_LINES, OKS_BILL_SUB_LINES, OKS_BILL_TRANSACTIONS, and OKS_BILL_TXN_LINES. Installed Base data comes from CSI_ITEM_INSTANCES and CSI_SYSTEMS_TL. Order information is drawn from OE_ORDER_HEADERS_ALL and OE_ORDER_LINES_ALL. Customer and party data is obtained from HZ_CUST_ACCOUNTS, HZ_PARTIES, and HZ_PARTY_SITES. Item and unit-of-measure descriptions come from MTL_SYSTEM_ITEMS_B, MTL_SYSTEM_ITEMS_KFV, and MTL_UNITS_OF_MEASURE_TL. Receivables data is read from RA_CUSTOMER_TRX_ALL and RA_CUSTOMER_TRX_LINES_ALL to support billing amount calculations.
Usage Notes
OKS_MISC_UTIL_WEB is invoked predominantly by Service Contracts web UI components (JSP/HTML and Oracle Forms within the OKS module) and by other OKS packages that need consolidated billing, duration, or naming logic. As an internal utility rather than a public API, it should not be called directly by customizations. Because it depends on FND_PROFILE, FND_MSG_PUB, FND_LOG, FND_FLEX_SERVER, OKC_TIME_UTIL_PUB, OKS_BILL_REC_PUB, and OKS_QP_INT_PVT, any invocation occurs within an initialized Oracle Applications session. In 12.1.1 and 12.2.2, the package behavior is consistent; the 12.2.2 ETRM documentation confirms the same seventeen units and table dependencies. Custom code should instead use supported OKS public APIs such as OKS_BILL_REC_PUB and OKS_QP_INT_PVT, treating OKS_MISC_UTIL_WEB as a private implementation detail.
-
PACKAGE BODY: APPS.OKS_MISC_UTIL_WEB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_MISC_UTIL_WEB, status:VALID,
-
PACKAGE: APPS.OKS_MISC_UTIL_WEB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_MISC_UTIL_WEB, status:VALID,
-
PACKAGE: APPS.OKS_MISC_UTIL_WEB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_MISC_UTIL_WEB, status:VALID,
-
PACKAGE BODY: APPS.OKS_MISC_UTIL_WEB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_MISC_UTIL_WEB, status:VALID,
-
PACKAGE: APPS.FND_FLEX_SERVER
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_FLEX_SERVER, status:VALID,
-
PACKAGE: APPS.OKS_BILL_REC_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_BILL_REC_PUB, status:VALID,
-
SYNONYM: APPS.OKS_BILL_TRANSACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_BILL_TRANSACTIONS, status:VALID,
-
SYNONYM: APPS.CSI_SYSTEMS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CSI_SYSTEMS_TL, status:VALID,
-
SYNONYM: APPS.OKS_BILL_TRANSACTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_BILL_TRANSACTIONS, status:VALID,
-
PACKAGE: APPS.OKS_BILL_REC_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_BILL_REC_PUB, status:VALID,
-
SYNONYM: APPS.CSI_SYSTEMS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSI_SYSTEMS_TL, status:VALID,
-
SYNONYM: APPS.OKS_BILL_TXN_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_BILL_TXN_LINES, status:VALID,
-
SYNONYM: APPS.OKS_BILL_SUB_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_BILL_SUB_LINES, status:VALID,
-
PACKAGE: APPS.OKS_QP_INT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_QP_INT_PVT, status:VALID,
-
SYNONYM: APPS.OKS_BILL_SUB_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_BILL_SUB_LINES, status:VALID,
-
SYNONYM: APPS.OKS_BILL_CONT_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_BILL_CONT_LINES, status:VALID,
-
SYNONYM: APPS.OKS_BILL_TXN_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_BILL_TXN_LINES, status:VALID,
-
SYNONYM: APPS.OKS_BILL_CONT_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_BILL_CONT_LINES, status:VALID,
-
PACKAGE: APPS.OKS_QP_INT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_QP_INT_PVT, status:VALID,
-
PACKAGE: APPS.FND_FLEX_SERVER
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_FLEX_SERVER, status:VALID,
-
PACKAGE: APPS.OKS_MISC_UTIL_WEB
12.1.1
-
PACKAGE: APPS.OKS_MISC_UTIL_WEB
12.2.2
-
PACKAGE BODY: APPS.OKS_IB_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_IB_UTIL_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_IB_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_IB_UTIL_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.OKS_CONTRACT_UPD_DTLS_V
12.2.2
owner:APPS, object_type:VIEW, object_name:OKS_CONTRACT_UPD_DTLS_V, status:VALID,
-
VIEW: APPS.OKS_CONTRACT_UPD_DTLS_V
12.1.1
owner:APPS, object_type:VIEW, object_name:OKS_CONTRACT_UPD_DTLS_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.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_K_HEADERS_B, status:VALID,
-
SYNONYM: APPS.OKC_K_REL_OBJS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_REL_OBJS, status:VALID,
-
PACKAGE: APPS.OKC_TIME_UTIL_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_TIME_UTIL_PUB, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.OKC_K_REL_OBJS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_REL_OBJS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.OKS_K_LINES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_K_LINES_B, status:VALID,
-
PACKAGE BODY: APPS.OKS_MASS_UPDATE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_MASS_UPDATE_PVT, status:VALID,
-
SYNONYM: APPS.MTL_UNITS_OF_MEASURE_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_UNITS_OF_MEASURE_TL, status:VALID,
-
SYNONYM: APPS.OKS_K_HEADERS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_K_HEADERS_B, status:VALID,
-
SYNONYM: APPS.OKS_K_LINES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_K_LINES_B, status:VALID,
-
PACKAGE BODY: APPS.OKS_MASS_UPDATE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_MASS_UPDATE_PVT, status:VALID,
-
SYNONYM: APPS.MTL_UNITS_OF_MEASURE_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_UNITS_OF_MEASURE_TL, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_LINES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_LINES_ALL, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_LINES_ALL, status:VALID,
-
SYNONYM: APPS.OKC_K_ITEMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ITEMS, status:VALID,
-
SYNONYM: APPS.OKC_K_ITEMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ITEMS, status:VALID,
-
APPS.OKS_MISC_UTIL_WEB dependencies on OKS_MISC_UTIL_WEB
12.2.2
-
APPS.OKS_CONTRACT_UPD_DTLS_V dependencies on OKS_MISC_UTIL_WEB
12.1.1
-
SYNONYM: APPS.RA_CUSTOMER_TRX_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_ALL, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_ALL, status:VALID,