Search Results oks_oc_int_kto_pvt
Overview
OKS_OC_INT_KTO_PVT is a private PL/SQL package in the Oracle EBS Service Contracts (OKS) module. Its name reflects its role: an integration (INT) package that supports the K-to-O ("K to Order") flow, where a contract (OKC "K" header, i.e., the Service Contract) is used to generate a sales order (OE/ASO "O"). The package provides the programmatic bridge that transforms contract header and line data into quote input records, which are then handed to Oracle Order Management's order-creation interface. In practice, this supports business scenarios where a service contract or subscription entitlement must trigger creation of an associated order — for example, service renewal or subscription-based order generation.
The package is classified as a private (PVT) API, meaning it is intended for internal use by other OKS/OC components rather than as a public integration point for customer extensions. Its source header (OKSRKTOS.pls) and the documented metadata confirm it is part of the seeded APPS schema, compiled under Oracle EBS 12.1.1 and 12.2.2.
Key Procedures and Functions
The metadata documents a single procedure:
- CREATE_ORDER_FROM_K — Creates an order from a contract by populating quote input records derived from the contract as the initial stage. It accepts a contract identifier and associated context (customer, group, operating unit, contract header/line ranges, and default date), and returns the identifier of the created order. Internally it calls ASO_ORDER_INT.CREATE_ORDER to perform the actual order creation. Output parameters report API return status, message count, and message data, consistent with the standard Oracle EBS API error-handling convention. A documented bug fix (Bug 4915691) is reflected in the inclusion of contract line ID low/high range parameters, indicating support for processing contract lines in bounded batches.
No other procedures or functions are documented in the available metadata.
Tables Accessed
The package references the following tables (via APPS synonyms), reflecting its contract-to-order transformation role:
- OKC_K_HEADERS_B, OKC_K_LINES_B, OKC_K_ITEMS, OKC_K_GRPINGS, OKC_K_PARTY_ROLES_B — Core Service Contracts structures providing contract header, line, item, grouping, and party-role data used as the source of order content.
- OKC_LINE_STYLES_B, OKC_ROLE_SOURCES, OKC_STATUSES_B — Contract configuration and status reference data needed to interpret lines, roles, and lifecycle state.
- OKS_SUBSCR_ELEMENTS — Subscription elements used in subscription-oriented contract-to-order scenarios.
- OE_ORDER_HEADERS_ALL — The Order Management order header target/validation structure for the generated order.
- HZ_LOCATIONS, JTF_OBJECTS_B — Party location and JTF object references supporting customer/site and object context.
- PLITBLM — The standard PL/SQL message table used by the API's messaging framework.
Usage Notes
Because OKS_OC_INT_KTO_PVT is a private API, it is not intended for direct invocation by external or custom code. It is referenced by one other package, indicating it sits within an internal OKS call chain. It is typically invoked indirectly — for example, from Service Contracts UI flows, concurrent/order-generation processes, or other internal packages that need to programmatically derive a sales order from a contract. Developers extending the K-to-Order process should call the supported parent API rather than this PVT package, and must respect the documented API conventions (API version, message list initialization, and return-status checking). The presence of contract header and line range parameters further suggests its use in batch or bounded processing contexts.
-
PACKAGE: APPS.OKS_OC_INT_KTO_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_OC_INT_KTO_PVT, status:VALID,
-
PACKAGE: APPS.OKS_OC_INT_KTO_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_OC_INT_KTO_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_OC_INT_KTO_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_OC_INT_KTO_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_OC_INT_KTO_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_OC_INT_KTO_PVT, status:VALID,
-
PACKAGE: APPS.OKS_OC_INT_KTO_PVT
12.1.1
-
PACKAGE: APPS.OKS_OC_INT_KTO_PVT
12.2.2
-
PACKAGE: APPS.OKC_OC_INT_CONFIG_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_OC_INT_CONFIG_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_KTO_INT_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_KTO_INT_PUB, status:VALID,
-
SYNONYM: APPS.OKS_SUBSCR_ELEMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKS_SUBSCR_ELEMENTS, status:VALID,
-
PACKAGE: APPS.OE_ORDER_BOOK_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_BOOK_UTIL, status:VALID,
-
PACKAGE: APPS.OE_ORDER_BOOK_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_BOOK_UTIL, status:VALID,
-
SYNONYM: APPS.OKC_K_GRPINGS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_GRPINGS, status:VALID,
-
PACKAGE BODY: APPS.OKS_KTO_INT_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_KTO_INT_PUB, status:VALID,
-
SYNONYM: APPS.OKS_SUBSCR_ELEMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKS_SUBSCR_ELEMENTS, status:VALID,
-
SYNONYM: APPS.OKC_K_GRPINGS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_GRPINGS, 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_ROLE_SOURCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_ROLE_SOURCES, status:VALID,
-
PACKAGE: APPS.OKC_OC_INT_CONFIG_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_OC_INT_CONFIG_PVT, status:VALID,
-
VIEW: APPS.OKX_ORDER_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_ORDER_HEADERS_V, object_name:OKX_ORDER_HEADERS_V, status:VALID,
-
PACKAGE: APPS.ASO_ORDER_INT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ASO_ORDER_INT, status:VALID,
-
VIEW: APPS.OKX_ORDER_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_ORDER_HEADERS_V, object_name:OKX_ORDER_HEADERS_V, status:VALID,
-
VIEW: APPS.OKC_CONVERSION_ATTRIBS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_CONVERSION_ATTRIBS_V, object_name:OKC_CONVERSION_ATTRIBS_V, status:VALID,
-
VIEW: APPS.OKC_CONVERSION_ATTRIBS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_CONVERSION_ATTRIBS_V, object_name:OKC_CONVERSION_ATTRIBS_V, status:VALID,
-
PACKAGE: APPS.ASO_ORDER_INT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ASO_ORDER_INT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.OKC_CLE_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CLE_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CONTEXT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTEXT, status:VALID,
-
PACKAGE: APPS.OKC_CONTEXT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTEXT, status:VALID,
-
PACKAGE: APPS.OKC_CHR_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CHR_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CHR_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CHR_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CLE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CLE_PVT, status:VALID,
-
SYNONYM: APPS.JTF_OBJECTS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_OBJECTS_B, status:VALID,
-
SYNONYM: APPS.JTF_OBJECTS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_OBJECTS_B, status:VALID,
-
PACKAGE: APPS.OKC_CONTRACT_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTRACT_PUB, status:VALID,
-
PACKAGE: APPS.OKC_CONTRACT_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTRACT_PUB, status:VALID,
-
VIEW: APPS.OKC_SUBCLASSES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_SUBCLASSES_V, object_name:OKC_SUBCLASSES_V, status:VALID,
-
VIEW: APPS.OKC_SUBCLASSES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_SUBCLASSES_V, object_name:OKC_SUBCLASSES_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,
-
SYNONYM: APPS.OKC_STATUSES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_STATUSES_B, 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,
-
SYNONYM: APPS.OKC_STATUSES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_STATUSES_B, status:VALID,
-
PACKAGE: APPS.ASO_QUOTE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ASO_QUOTE_PUB, status:VALID,
-
SYNONYM: APPS.OKC_LINE_STYLES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_LINE_STYLES_B, status:VALID,
-
PACKAGE: APPS.ASO_QUOTE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ASO_QUOTE_PUB, status:VALID,
-
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,