Search Results okc_classes_b




Overview

The OKC_CLASSES_B table is a core data structure within the Oracle E-Business Suite Contracts Core (OKC) module, specifically for releases 12.1.1 and 12.2.2. It serves as the master table for contract classes, which represent the highest level of categorization for a contract. This foundational classification is critical for organizing and managing the diverse types of agreements within the system, such as sales contracts, purchase agreements, or service contracts. As a base table, it stores the essential, non-transactional definitions that are referenced throughout the Contracts application to enforce business rules, drive processes, and enable reporting based on contract type.

Key Information Stored

While the provided metadata does not list specific columns, the structure is defined by its primary and foreign key relationships. The central column is CODE, which serves as the unique identifier (primary key) for a contract class. This code is a short, meaningful key used to identify classes like 'SALES' or 'PURCHASE'. The table typically contains additional descriptive columns common in Oracle EBS setups, such as NAME, DESCRIPTION, ENABLED_FLAG, and CREATION_DATE. These attributes define the class's display name, purpose, active status, and audit information. The integrity of the CODE value is paramount as it is propagated as a foreign key into numerous dependent transactional tables.

Common Use Cases and Queries

Primary use cases involve setup, maintenance, and reporting on the contract classification framework. Administrators use this table to define and enable new contract classes during implementation. A common reporting requirement is to list all active classes available for contract creation. Sample SQL to retrieve this basic information would be:

  • SELECT code, name, description FROM okc_classes_b WHERE enabled_flag = 'Y' ORDER BY code;

Another frequent query involves joining OKC_CLASSES_B with transactional tables like OKC_K_HEADERS_B (the contracts header table) to analyze contracts by class, though this typically occurs via the subclass relationship. The class code is also essential for debugging or tracing data issues within the contract hierarchy.

Related Objects

As indicated by the foreign key metadata, OKC_CLASSES_B has several important dependencies. The table OKC_SUBCLASSES_B directly references it via CLS_CODE, creating a hierarchical taxonomy where multiple subcategories belong to a single class. The OKC_CLASS_OPERATIONS table links classes to permissible business operations or actions. Furthermore, OKC_K_SEQ_LINES (which stores contract line sequencing rules) references the class via SCS_CODE, indicating that sequencing logic can be defined at the class level. These relationships underscore that OKC_CLASSES_B is a seed table for configuration, driving functionality in operational and rules-based tables throughout the Contracts Core module.