Results for “okc_xprt_rule_outcomes”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The OKC_XPRT_RULE_OUTCOMES table is a core Contracts Core (OKC) repository object within Oracle E-Business Suite 12.1.1 and 12.2.2. It stores the evaluated results, or outcomes, produced when the Contracts Expert Rules engine executes against a contract or related business object. Expert rules in Oracle Contracts provide extensible validation, defaulting, and derivation logic applied during contract authoring, approval, and amendment. Each time such a rule fires, its resulting determinations are captured as rows in this table, forming a persistent audit of what the rule engine decided and why.

The table is documented as a child entity of the rules header entity, meaning it holds a dependent, multi-row relationship to a parent rule definition. Under Oracle's heuristic Data Vault classification it is characterized as standalone, indicating it is not modelled as a strict hub, link, or satellite within the mined foreign-key structure. For modelling purposes it may nonetheless be treated as a satellite or detail record clustered beneath the rule header, keyed by its own surrogate identifier.

Key Information Stored

The table contains twelve documented columns. The most significant are:

A second unique index, OKC_XPRT_RULE_OUTCOMES_U2, spans (RULE_ID, OBJECT_TYPE, OBJECT_VALUE_ID), making this composite a business-key candidate that guarantees a single outcome per rule per business object instance.

Common Use Cases and Queries

Typical reporting retrieves all outcomes generated for a given contract by filtering on the object identity columns:

  • Trace which rules fired on a contract: SELECT rule_id, mandatory_yn FROM okc_xprt_rule_outcomes WHERE object_type = :p_type AND object_value_id = :p_id;
  • Audit rule behaviour over time using CREATION_DATE and the WHO columns.
  • Validate mandatory outcomes prior to contract approval by checking MANDATORY_YN = 'Y'.
  • Reconcile outcomes against the parent rule definition joined on RULE_ID.

Because the table is an accumulation of engine output, trend and exception reporting across rules and object types is a frequent requirement.

Related Objects

Joins are consistently made on RULE_ID to reach rule headers and on OBJECT_VALUE_ID plus OBJECT_TYPE to reach the affected contract entity.