Search Results rule_outcome_id
Overview
The view APPS.OKC_XPRT_RULE_OUTCOMES_ACT_V is a reporting and integration object within the Oracle E-Business Suite Contracts (OKC) module, specifically part of the Contract Expert (XPRT) rule engine infrastructure. Contract Expert evaluates user-defined rules against contract terms and conditions during contract authoring, and each rule may produce one or more outcomes — the actions or values generated when a rule's conditions are satisfied. This view consolidates rule outcome data across two distinct storage locations so that consumers see a single, unified set of outcomes belonging to currently active rules.
Its principal role is to hide the internal bifurcation of outcome storage. Rather than requiring callers to know whether a given outcome resides in the standard OKC_XPRT_RULE_OUTCOMES table or in the denormalized OKC_XPRT_RULE_OUTCOMES_ACTIVE structure, the view presents both sources through a common projection. This makes it suitable for PL/SQL packages, concurrent programs, OAF pages, and external integrations that need to enumerate or query active rule outcomes without embedding that storage logic themselves.
Underlying Base Objects
The view is defined over three documented base objects, all exposed in the APPS schema as synonyms:
- OKC_XPRT_RULE_HDRS_ALL — the rule header (master) table, supplying
RULE_IDandSTATUS_CODE. Only headers whoseSTATUS_CODEequals'ACTIVE'qualify. - OKC_XPRT_RULE_OUTCOMES — the primary outcome table, whose rows are included only when their
RULE_IDbelongs to an active rule header. - OKC_XPRT_RULE_OUTCOMES_ACTIVE — an additional outcome store, unioned in full.
Structurally the view is the UNION ALL of two identical 12-column SELECT lists. The first branch filters OKC_XPRT_RULE_OUTCOMES through an IN subquery on OKC_XPRT_RULE_HDRS_ALL; the second selects the same columns from OKC_XPRT_RULE_OUTCOMES_ACTIVE without a header filter. Because the operator is UNION ALL, duplicate RULE_OUTCOME_ID values are not eliminated — a caveat for any consumer assuming uniqueness.
Key Columns
The view projects the following columns:
- RULE_OUTCOME_ID — primary identifier of the outcome row. Given the
UNION ALL, treat this as potentially non-unique across the combined result set. - RULE_ID — foreign key linking the outcome to its parent rule in
OKC_XPRT_RULE_HDRS_ALL; the central join key for rule-to-outcome navigation and the column most directly relevant to rule-level lookups. - OBJECT_TYPE / OBJECT_VALUE_ID — identify the target object of the outcome and the specific instance value it applies to.
- OBJECT_VERSION_NUMBER — optimistic locking / versioning column used by the framework when updating the underlying row.
- MANDATORY_YN — indicates whether the outcome is mandatory when the rule fires.
- MANDATORY_RWA — the "Real World Action" flag associated with mandatory enforcement.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — standard EBS WHO columns recording audit and concurrency information.
Common Use Cases and Queries
Typical usage centers on retrieving outcomes for a known rule or listing all outcomes of active rules. A direct lookup by the search term rule_id might appear as:
SELECT rule_outcome_id, rule_id, object_type, object_value_id, mandatory_yn FROM okc_xprt_rule_outcomes_act_v WHERE rule_id = :p_rule_id;SELECT rule_id, COUNT(*) FROM okc_xprt_rule_outcomes_act_v GROUP BY rule_id;— to profile outcome counts per active rule.- Joining the view to
OKC_XPRT_RULE_HDRS_ALLonRULE_IDto enrich outcomes with rule names and metadata for reporting.
Because the view already restricts OKC_XPRT_RULE_OUTCOMES to active headers, additional STATUS_CODE filtering is generally unnecessary. Analysts should nonetheless account for the unfiltered union of OKC_XPRT_RULE_OUTCOMES_ACTIVE and use DISTINCT or aggregate logic where outcome uniqueness is required.
-
VIEW: APPS.OKC_XPRT_RULE_OUTCOMES_ACT_V
12.2.2
-
VIEW: OKC.OKC_XPRT_RULE_OUTCOMES_ACTIVE#
12.2.2
-
View: OKC_XPRT_RULE_OUTCOMES_ACT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_XPRT_RULE_OUTCOMES_ACT_V, object_name:OKC_XPRT_RULE_OUTCOMES_ACT_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_XPRT_RULE_OUTCOMES_ACT_V ,
-
VIEW: OKC.OKC_XPRT_RULE_OUTCOMES#
12.2.2
-
VIEW: OKC.OKC_XPRT_RULE_OUTCOMES_ACTIVE#
12.2.2
owner:OKC, object_type:VIEW, object_name:OKC_XPRT_RULE_OUTCOMES_ACTIVE#, status:VALID,
-
TABLE: OKC.OKC_XPRT_RULE_OUTCOMES_ACTIVE
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_RULE_OUTCOMES_ACTIVE, object_name:OKC_XPRT_RULE_OUTCOMES_ACTIVE, status:VALID,
-
VIEW: OKC.OKC_XPRT_RULE_OUTCOMES#
12.2.2
owner:OKC, object_type:VIEW, object_name:OKC_XPRT_RULE_OUTCOMES#, status:VALID,
-
TABLE: OKC.OKC_XPRT_RULE_OUTCOMES
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_RULE_OUTCOMES, object_name:OKC_XPRT_RULE_OUTCOMES, status:VALID,
-
TABLE: OKC.OKC_XPRT_RULE_OUTCOMES
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_RULE_OUTCOMES, object_name:OKC_XPRT_RULE_OUTCOMES, status:VALID,
-
Table: OKC_XPRT_RULE_OUTCOMES
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_RULE_OUTCOMES, object_name:OKC_XPRT_RULE_OUTCOMES, status:VALID, product: OKC - Contracts Core , description: This table will store the results of the expert rules. This is a child entity of rules header entity. , implementation_dba_data: OKC.OKC_XPRT_RULE_OUTCOMES ,
-
Table: OKC_XPRT_RULE_OUTCOMES
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_RULE_OUTCOMES, object_name:OKC_XPRT_RULE_OUTCOMES, status:VALID, product: OKC - Contracts Core , description: This table will store the results defined in the expert rules. This is a child entity of rules header entity , implementation_dba_data: OKC.OKC_XPRT_RULE_OUTCOMES ,
-
VIEW: APPS.OKC_XPRT_RULE_OUTCOMES_ACT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_XPRT_RULE_OUTCOMES_ACT_V, object_name:OKC_XPRT_RULE_OUTCOMES_ACT_V, status:VALID,
-
APPS.OKC_XPRT_RULE_PVT SQL Statements
12.2.2
-
PACKAGE: APPS.OKC_XPRT_RULE_PVT
12.2.2
-
PACKAGE BODY: APPS.OKC_XPRT_RULE_PVT
12.2.2
-
APPS.OKC_XPRT_RULE_PVT dependencies on OKC_XPRT_RULE_OUTCOMES
12.2.2
-
APPS.OKC_XPRT_RULE_PVT dependencies on OKC_XPRT_RULE_OUTCOMES
12.2.2
-
APPS.OKC_XPRT_RULE_PVT dependencies on FND_GLOBAL
12.2.2
-
APPS.OKC_XPRT_RULE_PVT dependencies on OKC_API
12.2.2
-
APPS.OKC_XPRT_RULE_PVT dependencies on OKC_API
12.2.2
-
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.2.2
description: Intersection entity between rules and templates ,
-
eTRM - OKC Tables and Views
12.1.1
description: Intersection entity between templates and rules. ,