Search Results okc_statuses_b_pk
Overview
The OKC_STATUSES_B table is a core reference table within the Oracle E-Business Suite Contracts Core (OKC) module. It serves as the master repository for user-defined status codes that define the lifecycle state of contracts and their associated components. As a foundational data object, it provides a centralized, validated list of statuses that ensure data integrity and consistent workflow management across the entire contracts ecosystem. Its role is critical for tracking the progression of contract headers, lines, and amendments, as well as for historical auditing of status changes.
Key Information Stored
The primary data stored in OKC_STATUSES_B is the status code and its associated attributes. The table's structure is centered on the CODE column, which serves as the unique identifier and primary key (OKC_STATUSES_B_PK). While the provided ETRM metadata does not list all columns, typical columns in such a status table would include a NAME or DESCRIPTION for the status, an ACTIVE_FLAG to control its availability, and potentially a TYPE or CATEGORY to classify statuses (e.g., for headers versus lines). The data is defined during implementation to reflect the organization's specific contract management processes.
Common Use Cases and Queries
The primary use case is to query and validate the status of contract entities. Common reporting and operational queries involve joining this table to major transaction tables to translate status codes into meaningful descriptions. For instance, to generate a list of all contracts with their current status, one would join OKC_K_HEADERS_B to OKC_STATUSES_B. A sample query pattern is:
SELECT kh.contract_number, s.code, s.name FROM okc_k_headers_b kh, okc_statuses_b s WHERE kh.sts_code = s.code;
Another critical use is auditing status history, which involves joining the OKC_K_HISTORY_B table twice to OKC_STATUSES_B to resolve both the "from" and "to" status codes into readable values for change tracking reports.
Related Objects
As indicated by the foreign key relationships in the metadata, OKC_STATUSES_B is a key reference table for several major transaction tables in the Contracts module. The primary related objects are:
- OKC_K_HEADERS_B: Stores contract headers, referencing a status code via
STS_CODE. - OKC_K_LINES_B: Stores contract lines, referencing a status code via
STS_CODE. - OKC_K_HISTORY_B: Logs status change history, referencing status codes in both the
STS_CODE_FROMandSTS_CODE_TOcolumns. - OKC_ASSENTS: Stores contract assent records, referencing a status code via
STS_CODE.
These relationships enforce referential integrity, ensuring that any status code used in a contract transaction exists in the OKC_STATUSES_B master table.
-
Table: OKC_STATUSES_B
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_STATUSES_B, object_name:OKC_STATUSES_B, status:VALID, product: OKC - Contracts Core , description: User defined values that define a contract's status. , implementation_dba_data: OKC.OKC_STATUSES_B ,
-
Table: OKC_STATUSES_B
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_STATUSES_B, object_name:OKC_STATUSES_B, status:VALID, product: OKC - Contracts Core , description: User defined values that define a contract's status. , implementation_dba_data: OKC.OKC_STATUSES_B ,
-
eTRM - OKC Tables and Views
12.1.1
description: Intersection entity between templates and rules. ,
-
eTRM - OKC Tables and Views
12.2.2
description: Intersection entity between rules and templates ,
-
eTRM - OKC Tables and Views
12.1.1
description: Intersection entity between templates and rules. ,
-
eTRM - OKC Tables and Views
12.2.2
description: Intersection entity between rules and templates ,