Search Results okc_oc_int_pub
Overview
OKC_OC_INT_PUB is a public PL/SQL package in the APPS schema that provides the integration layer between Oracle Contracts Core (OKC) and Oracle Order Capture / Quoting (OKX, formerly ASO). Its central purpose is to automate the creation and synchronization of contract documents from sales transactions, and conversely to generate quoting and order documents from existing contract headers. This "quote-to-contract" and "contract-to-order" round-tripping is central to order-to-cash flows in Oracle E-Business Suite 12.1.1 and 12.2.2.
The package carries an API classification of PUB, indicating it is a supported public interface that customers and integrators may call directly from custom code. It is registered as VALID in the ETRM repository and exposes 19 documented procedures and functions. It is referenced by five other packages (including OKC_OC_INT_KTO_PVT, OKS_EXTWARPRGM_PVT, OKS_OCINT_PUB, and the workflow approval packages OKC_WF_K_APPROVE and OKS_WF_K_APPROVE), which confirms its role as a shared service used by service contracts and workflow-driven approval processes as well as by quoting.
Key Procedures and Functions
The documented API surface covers several functional groupings:
- Contract-to-quote creation and maintenance: CREATE_QUOTE_FOR_RENEWAL, CREATE_QUOTE_FROM_K, and UPDATE_QUOTE_FROM_K create or refresh an Order Capture quote derived from a contract ("K") record. CREATE_QUOTE_FOR_RENEWAL is the renewal-specific entry point used to seed a new quote from a contract up for renewal.
- Reverse direction (quote/order to contract): CREATE_K_FROM_QUOTE and CREATE_ORDER_FROM_K create the corresponding record in the opposite direction — a contract from a quote, or an order from a contract — so that authorized quotes can be turned into binding agreements.
- Relationship and history handling: CREATE_K_RELATIONSHIPS establishes the contract-to-object relationships for the newly generated document, and CREATE_INTERACTION_HISTORY logs the interaction for audit and reporting.
- Notification and workflow: NOTIFY_K_ADM and NOTIFY_SALES_REP issue notifications using FND_NEW_MESSAGES; SUBMIT_REQUEST submits a concurrent request for downstream processing.
- Contract state validation: K_SIGNED, K_ERASE_APPROVED, and GET_K_NUMBER retrieve or confirm contract state (number assignment, signature, erasure of approval flag) so callers can verify the document is in a state suitable for integration.
- Content retrieval: GET_ARTICLES returns the article text for a contract, drawing on OKC_K_ARTICLES_TL.
Tables Accessed
The package reads and writes the core OKC base tables and the OKX quote/order views via APPS synonyms:
- OKC_K_HEADERS_B — the contract header; read to fetch contract attributes and written when contracts are created from quotes.
- OKC_K_ARTICLES_TL — contract article translations, read by GET_ARTICLES to return clause text.
- OKC_K_REL_OBJS — relationship objects linking a contract to its source quote or order; written by CREATE_K_RELATIONSHIPS.
- OKX_QUOTE_HEADERS_V / OKX_QUOTE_LINES_V and OKX_ORDER_HEADERS_V / OKX_ORDER_LINES_V — the Order Capture quote and order views used to build or read sales documents.
- FND_NEW_MESSAGES and FND_USER — used for notification delivery and recipient resolution.
Usage Notes
OKC_OC_INT_PUB is normally invoked indirectly from the Contracts and Quoting forms, from workflow activities (such as the contract approval workflows OKC_WF_K_APPROVE and OKS_WF_K_APPROVE), and from concurrent programs that process renewals or order-to-contract conversions. It is also called by OKS_EXTWARPRGM_PVT for service contract warranty integration. Custom code should call the package only through its public procedures, supplying the required contract or quote identifiers, and should expect message and error handling via the FND message stack. Because the package writes contract headers, relationships, and interaction history, calls should be wrapped in an explicit commit or rollback unit and should not be run concurrently against the same contract record.
-
PACKAGE: APPS.OKC_OC_INT_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_OC_INT_PUB, status:VALID,
-
PACKAGE: APPS.OKC_OC_INT_KTO_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_OC_INT_KTO_PVT, status:VALID,
-
PACKAGE: APPS.OKC_OC_INT_KTO_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_OC_INT_KTO_PVT, status:VALID,
-
PACKAGE: APPS.OKC_OC_INT_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_OC_INT_PUB, status:VALID,
-
SYNONYM: APPS.OKC_K_ARTICLES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ARTICLES_TL, status:VALID,
-
SYNONYM: APPS.OKC_K_ARTICLES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ARTICLES_TL, status:VALID,
-
PACKAGE BODY: APPS.OKC_OC_INT_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_OC_INT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKC_OC_INT_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_OC_INT_PUB, 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_OC_INT_KTQ_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_OC_INT_KTQ_PVT, status:VALID,
-
SYNONYM: APPS.OKC_K_REL_OBJS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_REL_OBJS, status:VALID,
-
PACKAGE: APPS.OKC_OC_INT_KTQ_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_OC_INT_KTQ_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_OC_INT_KTO_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_OC_INT_KTO_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_OC_INT_KTO_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_OC_INT_KTO_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CONTRACT_APPROVAL_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTRACT_APPROVAL_PUB, status:VALID,
-
PACKAGE: APPS.OKC_OC_INT_QTK_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_OC_INT_QTK_PVT, status:VALID,
-
PACKAGE: APPS.OKC_OC_INT_QTK_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_OC_INT_QTK_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CONTRACT_APPROVAL_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTRACT_APPROVAL_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKS_WF_K_APPROVE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_WF_K_APPROVE, status:VALID,
-
VIEW: APPS.OKX_QUOTE_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_QUOTE_HEADERS_V, object_name:OKX_QUOTE_HEADERS_V, status:VALID,
-
VIEW: APPS.OKX_QUOTE_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_QUOTE_HEADERS_V, object_name:OKX_QUOTE_HEADERS_V, status:VALID,
-
PACKAGE BODY: APPS.OKC_WF_K_APPROVE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_WF_K_APPROVE, status:VALID,
-
PACKAGE BODY: APPS.OKC_WF_K_APPROVE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_WF_K_APPROVE, status:VALID,
-
PACKAGE BODY: APPS.OKS_OCINT_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_OCINT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKS_WF_K_APPROVE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_WF_K_APPROVE, 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,
-
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,
-
PACKAGE BODY: APPS.OKS_OCINT_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_OCINT_PUB, status:VALID,
-
VIEW: APPS.OKX_QUOTE_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_QUOTE_LINES_V, object_name:OKX_QUOTE_LINES_V, status:VALID,
-
VIEW: APPS.OKX_QUOTE_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKX.OKX_QUOTE_LINES_V, object_name:OKX_QUOTE_LINES_V, status:VALID,
-
PACKAGE: APPS.OKC_DEBUG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_DEBUG, status:VALID,
-
PACKAGE BODY: APPS.OKS_EXTWARPRGM_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_EXTWARPRGM_PVT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.OKC_DEBUG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_DEBUG, status:VALID,
-
PACKAGE BODY: APPS.OKS_EXTWARPRGM_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_EXTWARPRGM_PVT, 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
-
eTRM - OKX Tables and Views
12.1.1
-
PACKAGE BODY: APPS.OKS_KTO_INSREL_PUB
12.2.2
-
SYNONYM: APPS.FND_NEW_MESSAGES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_NEW_MESSAGES, status:VALID,
-
PACKAGE BODY: APPS.OKS_KTO_INSREL_PUB
12.1.1
-
APPS.OKC_OC_INT_PUB dependencies on OKC_OC_INT_PUB
12.2.2
-
SYNONYM: APPS.OKC_K_HEADERS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_HEADERS_B, status:VALID,
-
SYNONYM: APPS.OKC_K_HEADERS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_HEADERS_B, status:VALID,
-
APPS.OKS_OCINT_PUB dependencies on OKC_OC_INT_PUB
12.2.2
-
APPS.OKS_WF_K_APPROVE dependencies on OKC_OC_INT_PUB
12.1.1
-
SYNONYM: APPS.FND_NEW_MESSAGES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_NEW_MESSAGES, status:VALID,
-
APPS.OKS_OCINT_PUB dependencies on OKC_OC_INT_PUB
12.1.1
-
APPS.OKC_OC_INT_KTO_PVT dependencies on OKC_OC_INT_PUB
12.2.2