Search Results okc_rules_v
Overview
OKC_RULES_V is a view owned by the APPS schema in Oracle E-Business Suite, belonging to the OKC — Contracts Core product module. It exposes contracting rule definitions and serves as the primary read interface over the rules base table. In EBS 12.1.1 and 12.2.2 the object carries a VALID status, confirming it is a supported, non-obsolete component of the Contracts Core data model. Although the underlying storage object is a "_B" (base) table, OKC_RULES_V is not a translation view in the conventional _B/_TL sense; it is a projection view that flattens the base table into a reporting-friendly form, including a constant SFWT_FLAG column set to 'N' and a NULL TEXT placeholder column.
Because Contracts Core rules drive validation, behavior, and attribute derivation at runtime, this view is the standard entry point for extracting rule metadata for reporting, integration, and troubleshooting. Oracle's ETRM documentation identifies it as the reporting surrogate for the base table, which means most custom SQL should target the view rather than the table directly.
Underlying Base Objects
Per the ETRM 12.2.2 metadata, OKC_RULES_V is defined over a single base object: OKC_RULES_B, referenced through a SYNONYM. The view text confirms a one-to-one projection — every column is sourced from the alias RULB, which is OKC_RULES_B, with no joins to other tables. The only computed elements are the literal 'N' for SFWT_FLAG and a hard-coded NULL for TEXT. Because the view is a straight projection, row counts match the base table exactly, and no aggregation or filtering is applied.
Key Columns
- ID / ROW_ID — Surrogate and ROWID identifiers for each rule row; ROW_ID supports direct row addressing.
- OBJECT_VERSION_NUMBER — Optimistic locking column used by the Contracts Core framework.
- OBJECT1_ID1, OBJECT2_ID1, OBJECT3_ID1 (and the parallel _ID2 columns) — Foreign-key references identifying the rule's subject and target entities.
- JTOT_OBJECT1_CODE, JTOT_OBJECT2_CODE, JTOT_OBJECT3_CODE — Object type codes that classify the objects referenced by the ID columns.
- DNZ_CHR_ID — Contract (header) identifier to which the rule belongs.
- RGP_ID — Reference to the rule group, positioning the rule within its logical set.
- PRIORITY — Execution precedence for rule evaluation.
- STD_TEMPLATE_YN, WARN_YN — Flags indicating whether the rule is a standard template and whether it raises only a warning.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–15 — DFF (descriptive flexfield) columns for customer-defined rule attributes.
- RULE_INFORMATION_CATEGORY and RULE_INFORMATION1–13 — Additional rule-parameter flexfield values.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — Standard WHO audit columns.
Common Use Cases and Queries
Typical usage includes listing all rules for a contract, auditing template rules by priority, and reporting DFF attribute assignments. Because the view is unfiltered, always constrain by DNZ_CHR_ID or RGP_ID to avoid full scans.
The following query lists rule identifiers, priority, and source object types for a given contract:
SELECT ID, DNZ_CHR_ID, RGP_ID, PRIORITY,
JTOT_OBJECT1_CODE, OBJECT1_ID1,
STD_TEMPLATE_YN, WARN_YN
FROM OKC_RULES_V
WHERE DNZ_CHR_ID = :contract_id
ORDER BY PRIORITY;
To audit warning-only template rules:
SELECT ID, RGP_ID, PRIORITY, COMMENTS FROM OKC_RULES_V WHERE STD_TEMPLATE_YN = 'Y' AND WARN_YN = 'Y';
-
View: OKC_RULES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_RULES_V, object_name:OKC_RULES_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_RULES_B , implementation_dba_data: APPS.OKC_RULES_V ,
-
View: OKC_RULES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_RULES_V, object_name:OKC_RULES_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_RULES_B , implementation_dba_data: APPS.OKC_RULES_V ,
-
VIEW: APPS.OKC_K_SALES_AGRMNTS_V
12.2.2
-
VIEW: APPS.OKL_SO_PAYMENT_SCEN_UV
12.2.2
-
VIEW: APPS.OKL_SO_PAYMENT_SCEN_UV
12.1.1
-
VIEW: APPS.OKC_K_SALES_AGRMNTS_V
12.1.1
-
View: OKC_K_SALES_AGRMNTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_SALES_AGRMNTS_V, object_name:OKC_K_SALES_AGRMNTS_V, status:VALID, product: OKC - Contracts Core , description: View for the contracts of category Sales Agreement , implementation_dba_data: APPS.OKC_K_SALES_AGRMNTS_V ,
-
View: OKC_K_SALES_AGRMNTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_K_SALES_AGRMNTS_V, object_name:OKC_K_SALES_AGRMNTS_V, status:VALID, product: OKC - Contracts Core , description: View for the contracts of category Sales Agreement , implementation_dba_data: APPS.OKC_K_SALES_AGRMNTS_V ,
-
VIEW: APPS.OKL_RULES_V
12.1.1
-
VIEW: APPS.OKL_RULES_V
12.2.2
-
VIEW: APPS.OKS_RULES_V
12.2.2
-
VIEW: APPS.OKS_RULES_V
12.1.1
-
VIEW: APPS.OKCAUDET_RULE_GROUPS_V
12.2.2
-
APPS.OKL_PAYMENT_APPLICATION_PVT SQL Statements
12.1.1
-
APPS.OKL_LA_PROPERTY_TAX_PVT SQL Statements
12.2.2
-
VIEW: APPS.OKCAUDET_RULE_GROUPS_V
12.1.1
-
APPS.OKL_LA_PROPERTY_TAX_PVT SQL Statements
12.1.1
-
VIEW: APPS.OKL_CURE_VENDOR_SUMRY_UV
12.2.2
-
APPS.OKL_PAYMENT_APPLICATION_PVT SQL Statements
12.2.2
-
VIEW: APPS.OKL_CURE_VENDOR_SUMRY_UV
12.1.1
-
VIEW: APPS.OKL_LA_PAYMENTS_UV
12.1.1
-
VIEW: APPS.OKL_LA_PAYMENTS_UV
12.2.2
-
View: OKS_RULES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_RULES_V, object_name:OKS_RULES_V, status:VALID, product: OKS - Service Contracts , description: This View is used to define an Object meta data in Jtf. , implementation_dba_data: APPS.OKS_RULES_V ,
-
View: OKL_RULES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_RULES_V, object_name:OKL_RULES_V, status:VALID, product: OKL - Leasing and Finance Management , description: OKL_RULES_V is the source view for JTF_OBJECT 'OKL_STRMHDR'. This is used to stream level header to stream level lines. , implementation_dba_data: APPS.OKL_RULES_V ,
-
PACKAGE: APPS.OKL_PAYMENT_APPLICATION_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_PAYMENT_APPLICATION_PUB, status:VALID,
-
View: OKL_RULES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_RULES_V, object_name:OKL_RULES_V, status:VALID, product: OKL - Lease and Finance Management , description: OKL_RULES_V is the source view for JTF_OBJECT 'OKL_STRMHDR'. This is used to stream level header to stream level lines. , implementation_dba_data: APPS.OKL_RULES_V ,
-
PACKAGE: APPS.OKL_PAYMENT_APPLICATION_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_PAYMENT_APPLICATION_PVT, status:VALID,
-
View: OKS_RULES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_RULES_V, object_name:OKS_RULES_V, status:VALID, product: OKS - Service Contracts , description: This View is used to define an Object meta data in Jtf. , implementation_dba_data: APPS.OKS_RULES_V ,
-
APPS.OKL_CONTRACT_INFO SQL Statements
12.2.2
-
APPS.OKL_CONTRACT_INFO SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OKL_PAYMENT_APPLICATION_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_PAYMENT_APPLICATION_PUB, status:VALID,
-
PACKAGE: APPS.OKL_DEAL_CREAT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_DEAL_CREAT_PVT, status:VALID,
-
PACKAGE: APPS.OKL_CREDIT_CHECKLIST_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_CREDIT_CHECKLIST_PVT, status:VALID,
-
PACKAGE: APPS.OKL_DEAL_CREATE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_DEAL_CREATE_PUB, status:VALID,
-
PACKAGE: APPS.OKL_PAYMENT_APPLICATION_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_PAYMENT_APPLICATION_PUB, status:VALID,
-
PACKAGE: APPS.OKL_FUNDING_CHECKLIST_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_FUNDING_CHECKLIST_PVT, status:VALID,
-
PACKAGE: APPS.OKL_PAYMENT_APPLICATION_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_PAYMENT_APPLICATION_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_RENEW_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_RENEW_PUB, status:VALID,
-
View: OKL_CURE_VENDOR_SUMRY_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CURE_VENDOR_SUMRY_UV, object_name:OKL_CURE_VENDOR_SUMRY_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_CURE_VENDOR_SUMRY_UV ,
-
PACKAGE BODY: APPS.OKL_LA_PROPERTY_TAX_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_LA_PROPERTY_TAX_PVT, status:VALID,
-
PACKAGE: APPS.OKL_DEAL_CREAT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_DEAL_CREAT_PVT, status:VALID,
-
View: OKCAUDET_RULE_GROUPS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKCAUDET_RULE_GROUPS_V, object_name:OKCAUDET_RULE_GROUPS_V, status:VALID, product: OKC - Contracts Core , description: View for detailed information on rule groups and rules for a contract , implementation_dba_data: APPS.OKCAUDET_RULE_GROUPS_V ,
-
PACKAGE: APPS.OKL_MLA_CREATE_UPDATE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_MLA_CREATE_UPDATE_PUB, status:VALID,
-
PACKAGE: APPS.OKL_MLA_CREATE_UPDATE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_MLA_CREATE_UPDATE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_PAYMENT_APPLICATION_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_PAYMENT_APPLICATION_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKC_TIME_RES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TIME_RES_PVT, status:VALID,
-
VIEW: APPS.OKS_RULES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKS.OKS_RULES_V, object_name:OKS_RULES_V, status:VALID,
-
PACKAGE: APPS.OKL_VENDOR_AGREEMENT_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_VENDOR_AGREEMENT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_CONTRACT_INFO
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CONTRACT_INFO, status:VALID,
-
PACKAGE: APPS.OKL_FUNDING_CHECKLIST_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_FUNDING_CHECKLIST_PVT, status:VALID,