Search Results okc_rule_def_sources_v
Overview
OKC_RULE_DEF_SOURCES_V is a reporting and integration view owned by the APPS schema in Oracle E-Business Suite, residing in the OKC (Contracts Core) product family. Its documented purpose is to expose the contents of the OKC_RULE_DEF_SOURCES base table in a query-friendly format for use by Oracle Contracts and dependent application modules. In both EBS 12.1.1 and 12.2.2 the view is registered as VALID, and its definition is a straightforward, unfiltered projection of the underlying table rather than a join or aggregation. As a result, it carries no transformation logic beyond column aliasing and the substitution of the physical ROWID with a logical ROW_ID column. The name "RULE_DEF_SOURCES" identifies the view as a source definition repository for Contracts rule hierarchies, which govern how contract terms, rule groups, and rule definitions are resolved at runtime for a given business context (buy or sell side, object type, and effective date range).
Underlying Base Objects
The view is defined exclusively over OKC_RULE_DEF_SOURCES, itself a synonym resolved within the APPS schema to the underlying OKC physical table. The view text selects every column of that table:
- SELECT RDSB.ROWID ROW_ID, RDSB.JTOT_OBJECT_CODE JTOT_OBJECT_CODE, RDSB.RGR_RGD_CODE RGR_RGD_CODE, RDSB.RGR_RDF_CODE RGR_RDF_CODE, RDSB.BUY_OR_SELL BUY_OR_SELL, RDSB.START_DATE START_DATE, RDSB.END_DATE END_DATE, RDSB.OBJECT_VERSION_NUMBER OBJECT_VERSION_NUMBER, RDSB.OBJECT_ID_NUMBER OBJECT_ID_NUMBER, RDSB.CREATED_BY CREATED_BY, RDSB.CREATION_DATE CREATION_DATE, RDSB.LAST_UPDATED_BY LAST_UPDATED_BY, RDSB.LAST_UPDATE_DATE LAST_UPDATE_DATE, RDSB.LAST_UPDATE_LOGIN LAST_UPDATE_LOGIN, RDSB.ACCESS_LEVEL ACCESS_LEVEL FROM OKC_RULE_DEF_SOURCES RDSB
Because the view is a single-table projection, its rows are one-to-one with the base table. The inclusion of OBJECT_VERSION_NUMBER confirms that the base table participates in Oracle's object versioning (OAF/BC4J) model, an important consideration when the view is used for insert or update operations through an ADO-enabled entity.
Key Columns
- ROW_ID — Surrogates the database ROWID of the base row; used for row identification in forms and integration payloads.
- JTOT_OBJECT_CODE — The rule object type code (the value the user searched for). It identifies which Contracts object the rule definition source applies to, discriminating between contract templates, terms, and other rule-bearing entities recorded in JTOT.
- RGR_RGD_CODE — Rule group definition code linking the source to a specific rule group.
- RGR_RDF_CODE — Rule definition code identifying the individual rule within the group.
- BUY_OR_SELL — Side flag determining whether the source applies to purchasing or sales contract scenarios.
- START_DATE / END_DATE — Effective dating boundary; rules resolve only within this window.
- OBJECT_VERSION_NUMBER / OBJECT_ID_NUMBER — Versioning and internal identifier columns supporting concurrent-safe DML.
- ACCESS_LEVEL and the standard WHO columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN) carry security and audit information.
Common Use Cases and Queries
The view is typically queried to diagnose rule resolution failures, audit rule source configuration, and feed integrations that synchronize contract rules. A representative query filtering on the searched object code is:
- SELECT jtot_object_code, rgr_rgd_code, rgr_rdf_code, buy_or_sell, start_date, end_date FROM okc_rule_def_sources_v WHERE jtot_object_code = :object_code AND SYSDATE BETWEEN start_date AND NVL(end_date, SYSDATE + 1) AND access_level = 1;
A secondary pattern joins the view to rule group and rule definition views to reconstruct the full resolution chain, while audit queries select creation and update metadata. Because the view is unfiltered, DBAs should apply BUY_OR_SELL, ACCESS_LEVEL, and effective-date predicates in the calling query to restrict result sets, particularly in high-volume contract environments.
-
View: OKC_RULE_DEF_SOURCES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_RULE_DEF_SOURCES_V, object_name:OKC_RULE_DEF_SOURCES_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_RULE_DEF_SOURCES , implementation_dba_data: APPS.OKC_RULE_DEF_SOURCES_V ,
-
View: OKC_RULE_DEF_SOURCES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_RULE_DEF_SOURCES_V, object_name:OKC_RULE_DEF_SOURCES_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_RULE_DEF_SOURCES , implementation_dba_data: APPS.OKC_RULE_DEF_SOURCES_V ,
-
SYNONYM: APPS.OKC_RULE_DEF_SOURCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_RULE_DEF_SOURCES, status:VALID,
-
SYNONYM: APPS.OKC_RULE_DEF_SOURCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_RULE_DEF_SOURCES, status:VALID,
-
PACKAGE: APPS.OKC_RDS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_RDS_PVT, status:VALID,
-
PACKAGE: APPS.OKC_RDS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_RDS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_SETUPOVDTEMPLATES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_SETUPOVDTEMPLATES_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_RDS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_RDS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_RULE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_RULE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_RULE_EXTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_RULE_EXTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_SETUPOVDTEMPLATES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_SETUPOVDTEMPLATES_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_SETUPOPTVALUES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_SETUPOPTVALUES_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_SETUPOPTVALUES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_SETUPOPTVALUES_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_RDS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_RDS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_RULE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_RULE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_RULE_EXTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_RULE_EXTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_RULE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_RULE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKC_RULE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_RULE_PUB, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
APPS.OKL_SETUPOVDTEMPLATES_PVT SQL Statements
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
APPS.OKL_SETUPOVDTEMPLATES_PVT SQL Statements
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
VIEW: APPS.OKC_RULE_DEF_SOURCES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_RULE_DEF_SOURCES_V, object_name:OKC_RULE_DEF_SOURCES_V, status:VALID,
-
VIEW: APPS.OKC_RULE_DEF_SOURCES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_RULE_DEF_SOURCES_V, object_name:OKC_RULE_DEF_SOURCES_V, status:VALID,
-
APPS.OKL_RULE_EXTRACT_PVT SQL Statements
12.2.2
-
APPS.OKL_RULE_EXTRACT_PVT SQL Statements
12.1.1
-
APPS.OKL_SETUPOPTVALUES_PVT SQL Statements
12.1.1
-
APPS.OKL_SETUPOPTVALUES_PVT SQL Statements
12.2.2
-
APPS.OKC_RDS_PVT SQL Statements
12.2.2
-
APPS.OKC_RDS_PVT SQL Statements
12.1.1
-
APPS.OKL_SETUPOVDTEMPLATES_PVT dependencies on OKC_RULE_DEF_SOURCES_V
12.2.2
-
APPS.OKL_RULE_EXTRACT_PVT dependencies on OKC_RULE_DEF_SOURCES_V
12.2.2
-
APPS.OKL_RULE_EXTRACT_PVT dependencies on OKC_RULE_DEF_SOURCES_V
12.1.1
-
APPS.OKC_RDS_PVT dependencies on OKC_RULE_DEF_SOURCES_V
12.2.2
-
PACKAGE BODY: APPS.OKL_SETUPOVDTEMPLATES_PVT
12.1.1
-
PACKAGE BODY: APPS.OKL_SETUPOVDTEMPLATES_PVT
12.2.2
-
APPS.OKC_RDS_PVT dependencies on OKC_RULE_DEF_SOURCES_V
12.1.1
-
APPS.OKC_RULE_PUB dependencies on OKC_RULE_DEF_SOURCES_V
12.1.1
-
APPS.OKL_SETUPOVDTEMPLATES_PVT dependencies on OKC_RULE_DEF_SOURCES_V
12.1.1
-
APPS.OKL_RULE_PUB dependencies on OKC_RULE_DEF_SOURCES_V
12.1.1
-
APPS.OKC_RDS_PVT dependencies on OKC_RULE_DEF_SOURCES_V
12.1.1
-
APPS.OKL_SETUPOPTVALUES_PVT dependencies on OKC_RULE_DEF_SOURCES_V
12.2.2
-
APPS.OKC_RDS_PVT dependencies on OKC_RULE_DEF_SOURCES_V
12.2.2
-
APPS.OKL_SETUPOPTVALUES_PVT dependencies on OKC_RULE_DEF_SOURCES_V
12.1.1
-
APPS.OKL_RULE_PUB dependencies on OKC_RULE_DEF_SOURCES_V
12.2.2
-
APPS.OKC_RULE_PUB dependencies on OKC_RULE_DEF_SOURCES_V
12.2.2
-
PACKAGE BODY: APPS.OKC_RDS_PVT
12.2.2
-
PACKAGE BODY: APPS.OKC_RDS_PVT
12.1.1