Search Results object_code_datatype
Overview
The OKC_XPRT_RULE_CONDITIONS table is a core child entity within the Oracle E-Business Suite Contracts Core (OKC) module, specifically belonging to the Expert Rules (OKC_XPRT) subsystem. It stores the individual condition rows that, together with their parent rule header, define the conditional logic applied during contract authoring, generation, and validation. Where the rule header establishes the identity and overall purpose of a rule, this table captures the discrete tests that must be satisfied for the rule to fire. Each row therefore represents a single condition evaluated against an object attribute within the contract domain.
From a Data Vault modeling perspective, the heuristic classification mined from the foreign key structure is standalone. This suggests the table can be treated as an independent hub-like entity keyed by RULE_CONDITION_ID, rather than as a strict satellite hanging off the rule header. In practice, implementers building a warehouse layer may prefer to model it as a link connecting the rule header to condition values, but the documented schema supports a standalone interpretation. The table is owned by the OKC schema and is marked VALID in the ETRM repository.
Key Information Stored
The table is documented with fifteen physical columns. The most significant are summarized below.
- RULE_CONDITION_ID — The surrogate primary key, enforced by OKC_XPRT_RULE_CONDITIONS_PK and also covered by the unique index OKC_XPRT_RULE_CONDITIONS_U1. This is the sole documented business-key candidate.
- RULE_ID — Foreign key to OKC_XPRT_RULE_HDRS_ALL, tying each condition to its parent rule header. This is the primary linkage column for assembling a complete rule definition.
- OBJECT_TYPE — Identifies the category of object the condition operates against (for example, a contract, party, or line-level entity).
- OBJECT_CODE — The specific attribute or field being tested.
- OBJECT_CODE_DATATYPE — The datatype of the tested attribute, which governs how the operator and value are interpreted.
- OPERATOR — The comparison operator applied to the attribute (equality, range, inclusion, and so on).
- OBJECT_VALUE_SET_NAME — Names the value set used when the condition draws permitted values from a lookup.
- OBJECT_VALUE_TYPE and OBJECT_VALUE_CODE — Describe the value side of the condition, distinguishing literal values from referenced codes or sets.
- OBJECT_VERSION_NUMBER — Supports optimistic locking and concurrency control on the condition row.
- The standard WHO columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN) provide audit traceability across both 12.1.1 and 12.2.2 releases.
Common Use Cases and Queries
Typical scenarios include auditing rule configuration after an upgrade, reproducing why a rule failed to trigger, and migrating rule definitions between environments. A minimal query to list all conditions for a given rule:
SELECT rule_condition_id, object_type, object_code, operator, object_value_code FROM okc.okc_xprt_rule_conditions WHERE rule_id = :rule_id;- Join to the header for readable reporting:
SELECT h.rule_name, c.object_code, c.operator, c.object_value_code FROM okc.okc_xprt_rule_hdrs_all h, okc.okc_xprt_rule_conditions c WHERE h.rule_id = c.rule_id; - Obtain condition values through the child table:
SELECT c.rule_condition_id, v.* FROM okc.okc_xprt_rule_conditions c, okc.okc_xprt_rule_cond_vals v WHERE c.rule_condition_id = v.rule_condition_id;
These patterns are frequently used in reconciliation reports comparing seeded versus custom rules, and in diagnostic queries following contract generation errors.
Related Objects
The following objects are the most significant in relation to this table, based on the documented foreign key and primary key metadata.
- OKC_XPRT_RULE_HDRS_ALL — Parent rule header; joined on RULE_ID. Every condition belongs to exactly one header.
- OKC_XPRT_RULE_COND_VALS — Child table holding the discrete permitted values for a condition; joined on RULE_CONDITION_ID.
- OKC_XPRT_RULE_CONDITIONS_PK — Primary key constraint on RULE_CONDITION_ID.
- OKC_XPRT_RULE_CONDITIONS_U1 — Unique index on RULE_CONDITION_ID, the documented business-key candidate.
- OKC Expert Rules APIs and concurrent programs — The OKC_XPRT processing layer that evaluates rules reads these conditions and their values at runtime.
Together these objects form the complete expert-rule definition chain: header, condition, and condition value.
-
Table: OKC_XPRT_RULE_CONDITIONS
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_RULE_CONDITIONS, object_name:OKC_XPRT_RULE_CONDITIONS, status:VALID, product: OKC - Contracts Core , description: This table stores all the conditions of the rules. This is a child entity of rule header entity. , implementation_dba_data: OKC.OKC_XPRT_RULE_CONDITIONS ,
-
Table: OKC_XPRT_RULE_CONDITIONS
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_RULE_CONDITIONS, object_name:OKC_XPRT_RULE_CONDITIONS, status:VALID, product: OKC - Contracts Core , description: This table stores all the conditions of the rules. This is a child entity of rule header entity. , implementation_dba_data: OKC.OKC_XPRT_RULE_CONDITIONS ,
-
Table: OKC_XPRT_RULE_COND_ACTIVE
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_RULE_COND_ACTIVE, object_name:OKC_XPRT_RULE_COND_ACTIVE, status:VALID, product: OKC - Contracts Core , description: This table stores all the conditions of the rules. This is a child entity of rule header entity. , implementation_dba_data: OKC.OKC_XPRT_RULE_COND_ACTIVE ,
-
View: OKC_XPRT_RULE_COND_ACTIVE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_XPRT_RULE_COND_ACTIVE_V, object_name:OKC_XPRT_RULE_COND_ACTIVE_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_XPRT_RULE_COND_ACTIVE_V ,
-
VIEW: OKC.OKC_XPRT_RULE_CONDITIONS#
12.2.2
-
VIEW: OKC.OKC_XPRT_RULE_COND_ACTIVE#
12.2.2
-
VIEW: APPS.OKC_XPRT_RULE_COND_ACTIVE_V
12.2.2
-
VIEW: OKC.OKC_XPRT_RULE_CONDITIONS#
12.2.2
owner:OKC, object_type:VIEW, object_name:OKC_XPRT_RULE_CONDITIONS#, status:VALID,
-
VIEW: OKC.OKC_XPRT_RULE_COND_ACTIVE#
12.2.2
owner:OKC, object_type:VIEW, object_name:OKC_XPRT_RULE_COND_ACTIVE#, status:VALID,
-
VIEW: APPS.OKC_XPRT_RULE_COND_ACTIVE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_XPRT_RULE_COND_ACTIVE_V, object_name:OKC_XPRT_RULE_COND_ACTIVE_V, status:VALID,
-
TABLE: OKC.OKC_XPRT_RULE_CONDITIONS
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_RULE_CONDITIONS, object_name:OKC_XPRT_RULE_CONDITIONS, status:VALID,
-
TABLE: OKC.OKC_XPRT_RULE_CONDITIONS
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_RULE_CONDITIONS, object_name:OKC_XPRT_RULE_CONDITIONS, status:VALID,
-
TABLE: OKC.OKC_XPRT_RULE_COND_ACTIVE
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_RULE_COND_ACTIVE, object_name:OKC_XPRT_RULE_COND_ACTIVE, status:VALID,
-
PACKAGE: APPS.OKC_XPRT_RULE_PVT
12.2.2
-
APPS.OKC_XPRT_RULE_PVT SQL Statements
12.2.2
-
APPS.OKC_XPRT_RULE_PVT dependencies on OKC_XPRT_RULE_CONDITIONS
12.2.2
-
PACKAGE BODY: APPS.OKC_XPRT_RULE_PVT
12.2.2
-
APPS.OKC_XPRT_RULE_PVT dependencies on OKC_API
12.2.2
-
APPS.OKC_XPRT_RULE_PVT dependencies on FND_API
12.2.2
-
APPS.OKC_XPRT_RULE_PVT dependencies on OKC_API
12.2.2
-
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. ,