Search Results okc_rg_role_defs
Overview
The OKC_RG_ROLE_DEFS table is a core data definition table within the Oracle E-Business Suite Contracts Core module (OKC). It functions as a configuration table that governs the application of business rule groups to specific contract parties. Its primary role is to define which predefined contract party roles are eligible to act as the subject or the object for a rule group within a specific contract subclass. This establishes a critical link between the abstract business rules defined for a contract type and the concrete parties involved in a contract, enabling role-based rule enforcement in agreements.
Key Information Stored
The table stores the associations that authorize specific roles for rule group participation. While the full column list is not detailed in the provided metadata, the foreign key relationships indicate the presence of several critical columns. The primary key column is ID. The SRD_ID column stores a foreign key to the OKC_SUBCLASS_RG_DEFS table, linking to a specific rule group definition for a subclass. The SRE_ID column stores a foreign key to the OKC_SUBCLASS_ROLES table, identifying the specific contract party role (e.g., Buyer, Supplier, Authorized Contact) that is permitted for this rule group. This combination effectively answers: "For this rule group, which party roles can this rule be applied to or evaluated against?"
Common Use Cases and Queries
This table is central to configuring and validating contract business rules. A common use case is during contract authoring or amendment, where the system validates if a party assigned to a given role on the contract header or line is a permissible participant for any active rule groups. Administrators may query this table to audit or report on role-based rule configurations. A typical diagnostic query would join to related definition tables to list all authorized roles for a rule group.
SELECT scrd.rule_group_code,
scr.role_code,
scr.name role_name
FROM okc_rg_role_defs rrd,
okc_subclass_rg_defs scrd,
okc_subclass_roles scr
WHERE rrd.srd_id = scrd.id
AND rrd.sre_id = scr.id
AND scrd.subclass_code = 'SERVICE'
ORDER BY scrd.rule_group_code, scr.role_code;
Related Objects
- OKC_SUBCLASS_RG_DEFS: Defines the rule groups available for a contract subclass. Joined via
OKC_RG_ROLE_DEFS.SRD_ID = OKC_SUBCLASS_RG_DEFS.ID. - OKC_SUBCLASS_ROLES: Defines the valid party roles for a contract subclass. Joined via
OKC_RG_ROLE_DEFS.SRE_ID = OKC_SUBCLASS_ROLES.ID. - OKC_RG_PARTY_ROLES: This table holds the actual instance-level assignments of contract parties to rule groups. It references OKC_RG_ROLE_DEFS via
OKC_RG_PARTY_ROLES.RRD_ID = OKC_RG_ROLE_DEFS.ID, enforcing that runtime assignments are valid against the predefined role definitions.
-
Table: OKC_RG_ROLE_DEFS
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_RG_ROLE_DEFS, object_name:OKC_RG_ROLE_DEFS, status:VALID, product: OKC - Contracts Core , description: Defines which roles can act as subject or object for a rule group for a contract subclass. , implementation_dba_data: OKC.OKC_RG_ROLE_DEFS ,
-
Table: OKC_RG_ROLE_DEFS
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_RG_ROLE_DEFS, object_name:OKC_RG_ROLE_DEFS, status:VALID, product: OKC - Contracts Core , description: Defines which roles can act as subject or object for a rule group for a contract subclass. , implementation_dba_data: OKC.OKC_RG_ROLE_DEFS ,
-
APPS.OKC_COPY_CONTRACT_PVT dependencies on OKC_RG_ROLE_DEFS
12.1.1
-
APPS.OKC_RRD_PVT dependencies on OKC_RG_ROLE_DEFS
12.1.1
-
APPS.OKC_QA_DATA_INTEGRITY dependencies on OKC_RG_ROLE_DEFS
12.1.1
-
APPS.OKL_DEAL_CREATE_PUB dependencies on OKC_RG_ROLE_DEFS
12.2.2
-
APPS.OKL_DEAL_CREAT_PVT dependencies on OKC_RG_ROLE_DEFS
12.2.2
-
APPS.OKC_RGP_PVT dependencies on OKC_RG_ROLE_DEFS
12.2.2
-
APPS.OKL_VENDOR_AGREEMENT_PUB dependencies on OKC_RG_ROLE_DEFS
12.2.2
-
APPS.OKL_DEAL_CREAT_PVT dependencies on OKC_RG_ROLE_DEFS
12.1.1
-
APPS.OKC_QA_DATA_INTEGRITY dependencies on OKC_RG_ROLE_DEFS
12.2.2
-
APPS.OKC_RRD_PVT dependencies on OKC_RG_ROLE_DEFS
12.2.2
-
APPS.OKC_RRD_PVT dependencies on OKC_RG_ROLE_DEFS
12.1.1
-
APPS.OKL_OPEN_INTERFACE_PVT dependencies on OKC_RG_ROLE_DEFS
12.1.1
-
APPS.OKL_QUOTE_TO_CONTRACT_PVT dependencies on OKC_RG_ROLE_DEFS
12.2.2
-
APPS.OKL_DEAL_PARTIES_PVT dependencies on OKC_RG_ROLE_DEFS
12.2.2
-
APPS.OKC_COPY_CONTRACT_PVT dependencies on OKC_RG_ROLE_DEFS
12.2.2
-
APPS.OKL_OPEN_INTERFACE_PVT dependencies on OKC_RG_ROLE_DEFS
12.2.2
-
APPS.OKL_VP_SYNC_CR_PVT dependencies on OKC_RG_ROLE_DEFS
12.2.2
-
APPS.OKC_RMP_PVT dependencies on OKC_RG_ROLE_DEFS
12.2.2
-
APPS.OKC_RMP_PVT dependencies on OKC_RG_ROLE_DEFS
12.1.1
-
APPS.OKL_VENDOR_AGREEMENT_PUB dependencies on OKC_RG_ROLE_DEFS
12.1.1
-
APPS.OKL_DEAL_CREATE_PUB dependencies on OKC_RG_ROLE_DEFS
12.1.1
-
APPS.OKL_DEAL_PARTIES_PVT dependencies on OKC_RG_ROLE_DEFS
12.1.1
-
APPS.OKC_RRD_PVT dependencies on OKC_RG_ROLE_DEFS
12.2.2
-
APPS.OKC_RGP_PVT dependencies on OKC_RG_ROLE_DEFS
12.1.1
-
APPS.OKL_VP_SYNC_CR_PVT dependencies on OKC_RG_ROLE_DEFS
12.1.1
-
APPS.OKL_DEAL_PARTIES_PVT dependencies on OKC_ROLE_SOURCES
12.1.1
-
VIEW: APPS.OKC_RG_ROLE_DEFS_DFV
12.2.2
-
APPS.OKL_DEAL_PARTIES_PVT dependencies on OKC_K_HEADERS_B
12.1.1
-
VIEW: OKC.OKC_RG_ROLE_DEFS#
12.2.2
owner:OKC, object_type:VIEW, object_name:OKC_RG_ROLE_DEFS#, status:VALID,
-
APPS.OKL_DEAL_PARTIES_PVT dependencies on OKC_SUBCLASS_RG_DEFS
12.2.2
-
APPS.OKL_DEAL_PARTIES_PVT dependencies on OKC_SUBCLASS_ROLES
12.2.2
-
APPS.OKL_DEAL_PARTIES_PVT dependencies on OKC_SUBCLASS_ROLES
12.1.1
-
VIEW: APPS.OKC_RG_ROLE_DEFS_DFV
12.1.1
-
APPS.OKL_DEAL_PARTIES_PVT dependencies on OKC_K_HEADERS_B
12.2.2
-
APPS.OKL_DEAL_PARTIES_PVT dependencies on OKC_ROLE_SOURCES
12.2.2
-
APPS.OKL_DEAL_PARTIES_PVT dependencies on OKC_SUBCLASS_RG_DEFS
12.1.1
-
TRIGGER: APPS.OKC_RG_ROLE_DEFS+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:OKC_RG_ROLE_DEFS+, status:VALID,
-
APPS.OKC_RMP_PVT dependencies on OKC_SUBCLASS_ROLES
12.2.2
-
APPS.OKC_COPY_CONTRACT_PVT dependencies on OKC_RG_PARTY_ROLES_V
12.2.2
-
SYNONYM: APPS.OKC_RG_ROLE_DEFS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_RG_ROLE_DEFS, status:VALID,
-
APPS.OKC_COPY_CONTRACT_PVT dependencies on OKC_RG_PARTY_ROLES_V
12.1.1
-
APPS.OKC_RMP_PVT dependencies on OKC_SUBCLASS_ROLES
12.1.1
-
TRIGGER: APPS.OKC_RG_ROLE_DEFS+
12.2.2
-
VIEW: OKC.OKC_RG_ROLE_DEFS#
12.2.2
-
SYNONYM: APPS.OKC_RG_ROLE_DEFS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_RG_ROLE_DEFS, status:VALID,
-
VIEW: APPS.OKC_RG_ROLE_DEFS_V
12.1.1
-
TABLE: OKC.OKC_RG_PARTY_ROLES
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_RG_PARTY_ROLES, object_name:OKC_RG_PARTY_ROLES, status:VALID,
-
TABLE: OKC.OKC_RG_ROLE_DEFS
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_RG_ROLE_DEFS, object_name:OKC_RG_ROLE_DEFS, status:VALID,