Search Results okc_rule_groups_v
Overview
OKC_RULE_GROUPS_V is a seeded, APPS-owned database view in the Oracle E-Business Suite Contracts Core (OKC) module. It is the translation-enabled (MLS) interface for contract rule groups, exposing both the base language-independent attributes and the language-specific descriptive columns in a single read-only projection. The view is defined over the base table OKC_RULE_GROUPS_B and its translation table OKC_RULE_GROUPS_TL, joined on the shared primary key ID and filtered by the session language. In ETRM 12.1.1 and 12.2.2 the object is registered with status VALID, and it serves as the canonical access point for rule group data referenced by contracts, contract terms, and rule evaluation logic.
Because rule groups govern how clauses, standards, and deviations are resolved during contract authoring, this view is frequently touched by reporting, integration, and customization layers that must read rule group definitions without depending directly on the underlying _B/_TL pair.
Underlying Base Objects
The view is constructed from two documented base objects:
- OKC_RULE_GROUPS_B (referenced through a synonym) — the base table holding the language-independent rule group definition: identity, type, source code, contract identifiers, hierarchy, and the standard WHO columns plus the 15 developer attribute columns.
- OKC_RULE_GROUPS_TL (referenced through a synonym) — the translation table supplying language-specific content such as COMMENTS and the SFWT_FLAG value.
The defining query joins RGPB.ID = RGPT.ID and restricts the translation row to RGPT.LANGUAGE = USERENV('LANG'), so the projected translation columns always reflect the language of the calling session. The view exposes no DML of its own; all maintenance occurs against the underlying tables through the standard OKC APIs.
Key Columns
- ROW_ID — the ROWID of the base table row, useful for direct-row addressing in EBS forms and existing customizations.
- ID — primary key of the rule group and the join key between the base and translation tables.
- OBJECT_VERSION_NUMBER — optimistic locking column used by the Contracts APIs to detect concurrent updates.
- RGP_TYPE — classifies the rule group, distinguishing the functional role of the group in rule processing.
- SFWT_FLAG — flag sourced from the translation table (OKC_RULE_GROUPS_TL).
- RGD_CODE and SAT_CODE — rule group definition code and associated rule/standard code driving rule resolution.
- CLE_ID, CHR_ID, DNZ_CHR_ID — identifiers of the contract, contract line, and "don't change" contract relationships the group is attached to.
- PARENT_RGP_ID — self-referencing parent pointer establishing the rule group hierarchy.
- COMMENTS — translated descriptive text from OKC_RULE_GROUPS_TL.
- ATTRIBUTE_CATEGORY through ATTRIBUTE15 — the standard DFF (descriptive flexfield) columns available for customer extension.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — the standard WHO audit columns.
Common Use Cases and Queries
Typical scenarios include diagnosing how a contract's rule groups are wired, exporting rule group definitions for reconciliation, and joining rule groups to their associated contract identifiers for reporting. A representative query retrieves all rule groups for a specific contract:
SELECT id, rgp_type, rgd_code, sat_code, comments FROM okc_rule_groups_v WHERE chr_id = :p_chr_id;SELECT id, rgp_type, rgd_code, parent_rgp_id FROM okc_rule_groups_v WHERE cle_id = :p_cle_id ORDER BY parent_rgp_id;SELECT COUNT(*) FROM okc_rule_groups_v WHERE dnz_chr_id = :p_chr_id;
Because the view filters on USERENV('LANG'), results depend on the language of the connected session; customers querying outside a form session should set the environment consistently. For multi-language reporting that must show all translations rather than one language, the base tables OKC_RULE_GROUPS_B and OKC_RULE_GROUPS_TL should be queried directly. As with all seeded Contracts objects, the view definition should be treated as Oracle-owned and not modified; extensions belong in the DFF attribute columns.
-
View: OKC_RULE_GROUPS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_RULE_GROUPS_V, object_name:OKC_RULE_GROUPS_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_RULE_GROUPS_B , implementation_dba_data: APPS.OKC_RULE_GROUPS_V ,
-
View: OKC_RULE_GROUPS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_RULE_GROUPS_V, object_name:OKC_RULE_GROUPS_V, status:VALID, product: OKC - Contracts Core , description: View for table OKC_RULE_GROUPS_B , implementation_dba_data: APPS.OKC_RULE_GROUPS_V ,
-
VIEW: APPS.OKCAUDET_RULE_GROUPS_V
12.2.2
-
VIEW: APPS.OKC_RG_BLK_V
12.1.1
-
VIEW: APPS.OKC_RG_BLK_V
12.2.2
-
VIEW: APPS.OKCAUDET_RULE_GROUPS_V
12.1.1
-
APPS.OKL_LA_PROPERTY_TAX_PVT SQL Statements
12.2.2
-
APPS.OKL_LA_PROPERTY_TAX_PVT SQL Statements
12.1.1
-
VIEW: APPS.OKL_CURE_VENDOR_PROGRAM_UV
12.2.2
-
VIEW: APPS.OKL_CURE_VENDOR_PROGRAM_UV
12.1.1
-
APPS.OKL_PAYMENT_APPLICATION_PVT SQL Statements
12.1.1
-
APPS.OKL_PAYMENT_APPLICATION_PVT SQL Statements
12.2.2
-
APPS.OKS_EXTWARPRGM_OSO_PVT SQL Statements
12.2.2
-
PACKAGE: APPS.OKL_PAYMENT_APPLICATION_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_PAYMENT_APPLICATION_PUB, status:VALID,
-
View: OKC_RG_BLK_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_RG_BLK_V, object_name:OKC_RG_BLK_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_RG_BLK_V ,
-
PACKAGE: APPS.OKL_PAYMENT_APPLICATION_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_PAYMENT_APPLICATION_PVT, status:VALID,
-
View: OKL_CURE_VENDOR_PROGRAM_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CURE_VENDOR_PROGRAM_UV, object_name:OKL_CURE_VENDOR_PROGRAM_UV, status:VALID, product: OKL - Leasing and Finance Management , implementation_dba_data: APPS.OKL_CURE_VENDOR_PROGRAM_UV ,
-
View: OKC_RG_BLK_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_RG_BLK_V, object_name:OKC_RG_BLK_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_RG_BLK_V ,
-
SYNONYM: APPS.OKC_RULE_GROUPS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_RULE_GROUPS_TL, status:VALID,
-
APPS.OKS_EXTWARPRGM_OSO_PVT SQL Statements
12.1.1
-
View: OKL_CURE_VENDOR_PROGRAM_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_CURE_VENDOR_PROGRAM_UV, object_name:OKL_CURE_VENDOR_PROGRAM_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_CURE_VENDOR_PROGRAM_UV ,
-
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.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_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: APPS.OKL_PAYMENT_APPLICATION_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_PAYMENT_APPLICATION_PUB, status:VALID,
-
View: OKCAUDET_RULE_GROUPS_V
12.2.2
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_DEAL_CREATE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_DEAL_CREATE_PUB, status:VALID,
-
SYNONYM: APPS.OKC_RULE_GROUPS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_RULE_GROUPS_TL, status:VALID,
-
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_CREATE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_DEAL_CREATE_PUB, status:VALID,
-
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 BODY: APPS.OKL_LA_PROPERTY_TAX_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_LA_PROPERTY_TAX_PVT, 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: APPS.OKL_MASTER_LEASE_AGREEMENT_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_MASTER_LEASE_AGREEMENT_PUB, 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_DEAL_CREAT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_DEAL_CREAT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_RGP_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_RGP_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_RGP_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_RGP_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_PROCESS_PPD_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_PROCESS_PPD_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_PROCESS_PPD_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_PROCESS_PPD_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_RULE_APIS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_RULE_APIS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_RGRP_RULES_PROCESS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_RGRP_RULES_PROCESS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_RULE_APIS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_RULE_APIS_PVT, status:VALID,
-
PACKAGE: APPS.OKL_MASTER_LEASE_AGREEMENT_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_MASTER_LEASE_AGREEMENT_PUB, status:VALID,
-
PACKAGE: APPS.OKL_VENDOR_AGREEMENT_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_VENDOR_AGREEMENT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_PAYMENT_APPLICATION_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_PAYMENT_APPLICATION_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_RGRP_RULES_PROCESS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_RGRP_RULES_PROCESS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_PAYMENT_APPLICATION_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_PAYMENT_APPLICATION_PVT, status:VALID,