Search Results okc_qa_check_pvt
Overview
OKC_QA_CHECK_PVT is a private (PVT) PL/SQL package body in the APPS schema of Oracle E-Business Suite, part of the Oracle Contracts (OKC) module and the broader Enterprise Contracts / ETRM (Enterprise Transaction and Reference Management) technology stack. In EBS 12.1.1 and 12.2.2 this package implements the internal programming logic that drives Quality Assurance (QA) check list processing against contract documents. Its role is to evaluate configurable QA check lists — question-and-answer validations, compliance rules, and prerequisite conditions — against a contract header or line before that contract may advance to the next stage of its lifecycle. Because the package is classified as a private API, it is not intended for direct customer invocation; the public contract APIs (notably OKC_API) call into it to enforce governance rules as contracts are authored, approved, and submitted. The body is registered as VALID in the data dictionary and depends heavily on shared EBS infrastructure packages, including FND_API, FND_MSG_PUB, FND_LOG, and FND_PROFILE, which supply the standard error-handling, message-stack, debug-logging, and profile-option conventions used throughout ETRM development.
Key Procedures and Functions
The documented interface exposes a single public entry point:
- EXECUTE_QA_CHECK_LIST — The core routine that evaluates a QA check list in the context of a specific contract. It reads the configured check list and its associated processes and parameters, dynamically assembles the required checks, executes them, and returns results to the calling contract operation. The routine relies on DBMS_SQL together with PLITBLM for dynamic SQL construction — a pattern used when the set of check expressions is data-driven and cannot be resolved at compile time.
Although only EXECUTE_QA_CHECK_LIST is documented as a formal entry point, ETRM metadata records the body as self-referential (OKC_QA_CHECK_PVT references OKC_QA_CHECK_PVT), indicating internal helper routines are declared and invoked within the same package. All error reporting is channelled through FND_API and FND_MSG_PUB; diagnostic output is emitted through FND_LOG when logging is enabled via FND_PROFILE.
Tables Accessed
The package operates against the following documented tables and views (accessed through APPS synonyms):
- OKC_QA_CHECK_LISTS_B — the base table holding the definition of each QA check list.
- OKC_QA_LIST_PROCESSES — maps check lists to the QA processes that must run against them.
- OKC_QA_PROCESS_PARMS_V, OKC_PROCESS_DEFS_V, OKC_PROCESS_DEF_PARAMETERS_V — views supplying process definitions and the parameter values passed into each check.
- OKC_K_HEADERS_B — the contract header, providing the subject contract for the check run.
- OKC_OPERATIONS_B, OKC_CLASS_OPERATIONS, OKC_SUBCLASSES_B — define the operations permitted for a contract class and subclass, which govern when a QA check must be enforced.
- OKC_ASSENTS_V — the assertion/grouping view used to bind contract attributes to the check list.
- OKC_CONTEXT — the runtime context (user, responsibility, session) used for security and profile resolution.
DBMS_SQL and PLITBLM are Oracle-supplied packages, not application tables, and are consumed for dynamic SQL parsing, binding, and execution.
Usage Notes
OKC_QA_CHECK_PVT is invoked indirectly. The standard path is through OKC_API during contract authoring, validation, or workflow-driven approval, where the QA result determines whether the contract may proceed. ETRM metadata records the package as referenced by eleven other database objects, confirming that it is a shared internal service rather than a standalone entry point. Debug tracing is governed by the FND profile options that enable FND_LOG output; because FND_MSG_PUB is used, all exceptions surface to the caller as standard EBS API messages. Custom code should never call OKC_QA_CHECK_PVT directly — the supported approach is to use the public OKC_API routines, which enforce the correct calling sequence, context initialisation, and commit handling. Because the package uses DBMS_SQL, care must be taken with respect to shared pool usage and cursor management in high-volume batch processing.
-
PACKAGE BODY: APPS.OKC_QA_CHECK_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_QA_CHECK_PVT, status:VALID,
-
PACKAGE: APPS.OKC_QA_CHECK_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_QA_CHECK_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_QA_CHECK_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_QA_CHECK_PVT, status:VALID,
-
PACKAGE: APPS.OKC_QA_CHECK_PVT
12.2.2
-
PACKAGE: APPS.OKC_QA_CHECK_PVT
12.1.1
-
PACKAGE: APPS.OKC_QA_CHECK_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_QA_CHECK_PVT, status:VALID,
-
SYNONYM: APPS.OKC_OPERATIONS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_OPERATIONS_B, status:VALID,
-
SYNONYM: APPS.OKC_QA_LIST_PROCESSES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_QA_LIST_PROCESSES, status:VALID,
-
SYNONYM: APPS.OKC_QA_LIST_PROCESSES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_QA_LIST_PROCESSES, status:VALID,
-
SYNONYM: APPS.OKC_OPERATIONS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_OPERATIONS_B, status:VALID,
-
PACKAGE BODY: APPS.OKC_QA_CHECK_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_QA_CHECK_PUB, status:VALID,
-
SYNONYM: APPS.OKC_QA_CHECK_LISTS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_QA_CHECK_LISTS_B, status:VALID,
-
PACKAGE BODY: APPS.OKL_QA_CHECK_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_QA_CHECK_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_QA_CHECK_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_QA_CHECK_PUB, status:VALID,
-
PACKAGE: APPS.OKC_QA_CHECK_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_QA_CHECK_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_OKC_MIGRATION_A_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_OKC_MIGRATION_A_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_TERMS_QA_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TERMS_QA_GRP, status:VALID,
-
PACKAGE: APPS.OKC_QA_CHECK_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_QA_CHECK_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKC_QA_CHECK_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_QA_CHECK_PUB, status:VALID,
-
SYNONYM: APPS.OKC_QA_CHECK_LISTS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_QA_CHECK_LISTS_B, status:VALID,
-
PACKAGE BODY: APPS.OKL_OKC_MIGRATION_A_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_OKC_MIGRATION_A_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_K_ACTIONS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_K_ACTIONS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_TERMS_QA_GRP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TERMS_QA_GRP, status:VALID,
-
PACKAGE BODY: APPS.OKS_K_ACTIONS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_K_ACTIONS_PVT, status:VALID,
-
SYNONYM: APPS.OKC_SUBCLASSES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_SUBCLASSES_B, status:VALID,
-
PACKAGE BODY: APPS.OKC_RENEW_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_RENEW_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_WF_K_PROCESS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_WF_K_PROCESS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_WF_K_PROCESS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_WF_K_PROCESS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_RENEW_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_RENEW_PVT, status:VALID,
-
PACKAGE: APPS.OKC_QA_PROCS
12.2.2
-
SYNONYM: APPS.OKC_CLASS_OPERATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_CLASS_OPERATIONS, status:VALID,
-
SYNONYM: APPS.OKC_SUBCLASSES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_SUBCLASSES_B, status:VALID,
-
PACKAGE: APPS.OKC_QA_PROCS
12.1.1
-
SYNONYM: APPS.OKC_CLASS_OPERATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_CLASS_OPERATIONS, status:VALID,
-
VIEW: APPS.OKC_PROCESS_DEFS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_PROCESS_DEFS_V, object_name:OKC_PROCESS_DEFS_V, status:VALID,
-
VIEW: APPS.OKC_PROCESS_DEFS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_PROCESS_DEFS_V, object_name:OKC_PROCESS_DEFS_V, status:VALID,
-
PACKAGE: APPS.OKC_CONTEXT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTEXT, status:VALID,
-
PACKAGE BODY: APPS.OKL_CONTRACT_BOOK_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CONTRACT_BOOK_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_CONTRACT_BOOK_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CONTRACT_BOOK_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CONTEXT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTEXT, status:VALID,
-
VIEW: APPS.OKC_ASSENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_ASSENTS_V, object_name:OKC_ASSENTS_V, 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,
-
PACKAGE BODY: APPS.OKS_MASSCHANGE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_MASSCHANGE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_MASSCHANGE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_MASSCHANGE_PVT, status:VALID,
-
VIEW: APPS.OKC_ASSENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_ASSENTS_V, object_name:OKC_ASSENTS_V, status:VALID,
-
VIEW: APPS.OKC_QA_LIST_PROCESSES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_QA_LIST_PROCESSES_V, object_name:OKC_QA_LIST_PROCESSES_V, status:VALID,
-
VIEW: APPS.OKC_QA_LIST_PROCESSES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_QA_LIST_PROCESSES_V, object_name:OKC_QA_LIST_PROCESSES_V, status:VALID,
-
VIEW: APPS.OKC_QA_PROCESS_PARMS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_QA_PROCESS_PARMS_V, object_name:OKC_QA_PROCESS_PARMS_V, status:VALID,
-
VIEW: APPS.OKC_QA_PROCESS_PARMS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_QA_PROCESS_PARMS_V, object_name:OKC_QA_PROCESS_PARMS_V, 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,