Search Results okc_operations_b




Overview

The OKC_OPERATIONS_B table is a core reference data table within the Oracle E-Business Suite Contracts Core (OKC) module. It serves as the master repository for all defined operations, which represent the set of automated processes or actions that the application can perform on, or as a result of, a contract. These operations are fundamental to the contract lifecycle, enabling automation for tasks such as validation, approval, notification, and execution of business logic. The table's role is to provide a centralized, standardized list of operations that can be associated with contract types, classes, and specific contract lines to define and control system behavior.

Key Information Stored

The primary data stored in OKC_OPERATIONS_B is the operation code and its associated descriptive attributes. The central column is the CODE field, which serves as the unique identifier (Primary Key) for each operation. While the provided ETRM excerpt does not list all columns, a typical structure for such a reference table would include fields such as NAME or DESCRIPTION for the operation's display name, START_DATE and END_DATE for controlling active status, and standard WHO columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN). The data is seeded by Oracle and may be extended by implementations.

Common Use Cases and Queries

A primary use case is querying the list of available operations for configuration purposes, such as assigning them to a contract class or type. System administrators or functional consultants use this data to understand which automated processes can be triggered. Common reporting needs include listing all active operations or identifying which operations are assigned to specific contract templates. A typical query pattern is:

  • SELECT code, name FROM okc_operations_b WHERE SYSDATE BETWEEN start_date_active AND NVL(end_date_active, SYSDATE) ORDER BY code;
  • Joining with OKC_CLASS_OPERATIONS to find operations linked to a specific contract class: SELECT cop.*, op.name FROM okc_class_operations cop, okc_operations_b op WHERE cop.opn_code = op.code AND cop.cls_code = 'SERVICE_CONTRACT';

Related Objects

The OKC_OPERATIONS_B table is referenced by several key transactional and setup tables via foreign key relationships, as documented in the ETRM. These relationships define how operations are applied within the Contracts module:

  • OKC_CLASS_OPERATIONS: Links operations to contract classes via the OKC_CLASS_OPERATIONS.OPN_CODE column. This defines which operations are applicable to contracts of a given class.
  • OKC_K_HISTORY_B: References the operation code in OKC_K_HISTORY_B.OPN_CODE, logging which operations have been performed on a specific contract (K) header as part of its history.
  • OKC_INCLUDED_OPERATIONS: Associates operations with contract templates or documents via OKC_INCLUDED_OPERATIONS.OPN_CODE, specifying operations to be included by default.
  • OKC_VAL_LINE_OPERATIONS: Links operations to contract line-level validation rules through OKC_VAL_LINE_OPERATIONS.OPN_CODE.