Search Results okc_timevalues_b
Overview
The OKC_TIMEVALUES_B table is a core data object within the Oracle E-Business Suite Contracts Core (OKC) module, specifically for versions 12.1.1 and 12.2.2. Its primary function is to quantify the time component of a rule within the contract management system. This table serves as the central repository for storing time-based values that define, trigger, or constrain contractual events, obligations, and conditions. It is integral to modeling complex contract timelines, durations, and time-sensitive business rules, enabling the automation and enforcement of temporal logic across the contract lifecycle.
Key Information Stored
The table's structure is defined by its primary and foreign key relationships. The primary key is the ID column, uniquely identifying each time value record. The most critical foreign keys define the table's role in the data model. The CNH_ID column links a time value to a specific contract condition header in the OKC_CONDITION_HEADERS_B table, anchoring the time rule to a contractual clause. The SPN_ID column references the OKC_SPAN table, which defines the unit and magnitude of the time period (e.g., days, months). Furthermore, the table employs a recursive relationship with itself through several foreign key columns (TVE_ID_ENDED, TVE_ID_GENERATED_BY, TVE_ID_LIMITED, TVE_ID_OFFSET, TVE_ID_STARTED). This allows for the creation of sophisticated, linked time constructs where one time value can define the start, end, offset, or limitation of another, supporting complex temporal dependencies.
Common Use Cases and Queries
This table is pivotal for scenarios involving contract milestones, renewal windows, notice periods, and service level agreement (SLA) timelines. For instance, a query might retrieve all time values governing the automatic renewal notice period for contracts expiring within the next 30 days. A common reporting use case involves joining this table to condition headers and contract documents to analyze the distribution of contract durations or to identify contracts with pending time-based actions. A sample SQL pattern to find time values for a specific contract condition would be:
- SELECT tv.* FROM okc_timevalues_b tv, okc_condition_headers_b ch WHERE tv.cnh_id = ch.id AND ch.document_id = <CONTRACT_ID>;
Technical consultants often query this table to debug timeline calculations or to validate that time-based rules have been correctly instantiated for a contract.
Related Objects
The OKC_TIMEVALUES_B table has defined relationships with several key objects in the Contracts Core schema, as documented in the ETRM metadata.
- Primary Key: OKC_TIMEVALUES_B_PK on the ID column.
- Foreign Keys (This Table References):
OKC_TIMEVALUES_B.CNH_IDreferencesOKC_CONDITION_HEADERS_B(Condition Headers)OKC_TIMEVALUES_B.SPN_IDreferencesOKC_SPAN(Span definitions)OKC_TIMEVALUES_B.TVE_ID_ENDEDreferencesOKC_TIMEVALUES_B(Self-reference for ended-by relationship)OKC_TIMEVALUES_B.TVE_ID_GENERATED_BYreferencesOKC_TIMEVALUES_B(Self-reference for generation source)OKC_TIMEVALUES_B.TVE_ID_LIMITEDreferencesOKC_TIMEVALUES_B(Self-reference for limiting time value)OKC_TIMEVALUES_B.TVE_ID_OFFSETreferencesOKC_TIMEVALUES_B(Self-reference for offset time value)OKC_TIMEVALUES_B.TVE_ID_STARTEDreferencesOKC_TIMEVALUES_B(Self-reference for started-by relationship)
- Foreign Keys (Tables Referencing This Table): The table is referenced by its own columns listed above, forming a recursive network of time value relationships.
-
Table: OKC_TIMEVALUES_B
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_TIMEVALUES_B, object_name:OKC_TIMEVALUES_B, status:VALID, product: OKC - Contracts Core , description: Quantifies the time component of a rule. , implementation_dba_data: OKC.OKC_TIMEVALUES_B ,
-
Table: OKC_TIMEVALUES_B
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_TIMEVALUES_B, object_name:OKC_TIMEVALUES_B, status:VALID, product: OKC - Contracts Core , description: Quantifies the time component of a rule. , implementation_dba_data: OKC.OKC_TIMEVALUES_B ,
-
Table: OKC_TIMEVALUES_BH
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_TIMEVALUES_BH, object_name:OKC_TIMEVALUES_BH, status:VALID, product: OKC - Contracts Core , description: History table for OKC_TIMEVALUES_B. , implementation_dba_data: OKC.OKC_TIMEVALUES_BH ,
-
Table: OKC_TIMEVALUES_BH
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_TIMEVALUES_BH, object_name:OKC_TIMEVALUES_BH, status:VALID, product: OKC - Contracts Core , description: History table for OKC_TIMEVALUES_B. , implementation_dba_data: OKC.OKC_TIMEVALUES_BH ,
-
Table: OKC_CONDITION_HEADERS_B
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_CONDITION_HEADERS_B, object_name:OKC_CONDITION_HEADERS_B, status:VALID, product: OKC - Contracts Core , description: Stores Condition definition. , implementation_dba_data: OKC.OKC_CONDITION_HEADERS_B ,
-
Table: OKC_SPAN
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_SPAN, object_name:OKC_SPAN, status:VALID, product: OKC - Contracts Core , description: Defines the legs, stages or intervals which compose a cycle, including their duration in some designated time unit. , implementation_dba_data: OKC.OKC_SPAN ,
-
Table: OKC_SPAN
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_SPAN, object_name:OKC_SPAN, status:VALID, product: OKC - Contracts Core , description: Defines the legs, stages or intervals which compose a cycle, including their duration in some designated time unit. , implementation_dba_data: OKC.OKC_SPAN ,
-
Table: OKC_CONDITION_HEADERS_B
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_CONDITION_HEADERS_B, object_name:OKC_CONDITION_HEADERS_B, status:VALID, product: OKC - Contracts Core , description: Stores Condition definition , implementation_dba_data: OKC.OKC_CONDITION_HEADERS_B ,