Search Results cn_role_plans_all
Overview
The CN_ROLE_PLANS_ALL table is a core data object within the Oracle E-Business Suite (EBS) Incentive Compensation (CN) module, specifically in versions 12.1.1 and 12.2.2. As defined in the ETRM metadata, its primary function is to manage the assignment of compensation plans to compensation roles. This table serves as a critical junction, linking the definition of a compensation role with the specific incentive plans that individuals holding that role are eligible for. Its existence is fundamental to the administration of sales compensation, ensuring that the correct plans are associated with the appropriate organizational roles, thereby governing commission calculations and payout eligibility.
Key Information Stored
The table's structure centers on the relationship between a role and a plan. The primary key, ROLE_PLAN_ID, uniquely identifies each assignment record. The most critical foreign key column is COMP_PLAN_ID, which references CN_COMP_PLANS_ALL. This link ties the assignment to the specific compensation plan's definition, rules, and formulas. While the provided metadata does not list all columns, a typical implementation would also include identifiers for the compensation role (likely a foreign key to a roles table), effective start and end dates for the assignment, and context columns for multi-organization (Multi-Org) architecture, as indicated by the "_ALL" suffix. The ROLE_PLAN_ID is also referenced as a foreign key by the CN_SRP_PLAN_ASSIGNS_ALL table, which manages individual salesperson plan assignments.
Common Use Cases and Queries
This table is central to configuration and reporting tasks. Administrators query it to audit which compensation plans are available to specific roles or to validate setup before a compensation cycle. A common reporting use case involves listing all active plan assignments for a set of roles to support compensation planning. A typical SQL pattern would join CN_ROLE_PLANS_ALL with CN_COMP_PLANS_ALL to get plan details.
- Sample Query: To find all compensation plans assigned to a specific role, one might use:
SELECT cp.name, rpa.* FROM cn_role_plans_all rpa, cn_comp_plans_all cp WHERE rpa.comp_plan_id = cp.comp_plan_id AND rpa.role_id = :role_id AND SYSDATE BETWEEN rpa.start_date_active AND NVL(rpa.end_date_active, SYSDATE); - Data in this table is typically maintained via the Oracle Incentive Compensation administrator forms or related APIs, not via direct SQL manipulation.
Related Objects
As per the documented foreign keys, CN_ROLE_PLANS_ALL has integral relationships with other key Incentive Compensation tables.
- CN_COMP_PLANS_ALL: This is the master table for compensation plan definitions. The COMP_PLAN_ID in CN_ROLE_PLANS_ALL derives its valid values from this table.
- CN_SRP_PLAN_ASSIGNS_ALL: This table manages the assignment of specific plans to individual salespeople (SRPs). It references ROLE_PLAN_ID from CN_ROLE_PLANS_ALL, establishing that an individual's plan assignment is based on a valid role-to-plan assignment.
- While not explicitly listed, CN_ROLE_PLANS_ALL would also relate to the table storing compensation role definitions (e.g., CN_ROLES or similar) via a ROLE_ID column.
-
Table: CN_ROLE_PLANS_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_ROLE_PLANS_ALL, object_name:CN_ROLE_PLANS_ALL, status:VALID, product: CN - Incentive Compensation , description: Comp Plan Assignment to a Comp Role , implementation_dba_data: CN.CN_ROLE_PLANS_ALL ,
-
Table: CN_ROLE_PLANS_ALL
12.1.1
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_ROLE_PLANS_ALL, object_name:CN_ROLE_PLANS_ALL, status:VALID, product: CN - Incentive Compensation , description: Comp Plan Assignment to a Comp Role , implementation_dba_data: CN.CN_ROLE_PLANS_ALL ,
-
APPS.CN_SRP_PAYGROUP_PVT dependencies on CN_ROLE_PLANS_ALL
12.1.1
-
APPS.CN_CALC_SUBLEDGER_PVT dependencies on CN_ROLE_PLANS_ALL
12.1.1
-
APPS.CN_CALC_SUBLEDGER_PVT dependencies on CN_ROLE_PLANS_ALL
12.2.2
-
APPS.CN_SRP_PAYGROUP_PVT dependencies on CN_ROLE_PLANS_ALL
12.2.2
-
APPS.CN_SRP_PAYGROUP_PVT dependencies on CN_ROLE_PLANS
12.1.1
-
APPS.CN_SRP_PAYGROUP_PVT dependencies on CN_ROLE_PLANS
12.2.2
-
SYNONYM: APPS.CN_ROLE_PLANS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CN_ROLE_PLANS_ALL, status:VALID,
-
SYNONYM: APPS.CN_ROLE_PLANS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CN_ROLE_PLANS_ALL, status:VALID,
-
VIEW: CN.CN_ROLE_PLANS_ALL#
12.2.2
owner:CN, object_type:VIEW, object_name:CN_ROLE_PLANS_ALL#, status:VALID,
-
VIEW: CN.CN_ROLE_PLANS_ALL#
12.2.2
-
Table: CN_COMP_PLANS_ALL
12.1.1
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_COMP_PLANS_ALL, object_name:CN_COMP_PLANS_ALL, status:VALID, product: CN - Incentive Compensation , description: Compensation Plans , implementation_dba_data: CN.CN_COMP_PLANS_ALL ,
-
Table: CN_SRP_PLAN_ASSIGNS_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_SRP_PLAN_ASSIGNS_ALL, object_name:CN_SRP_PLAN_ASSIGNS_ALL, status:VALID, product: CN - Incentive Compensation , description: Salesperson Plan Assignments , implementation_dba_data: CN.CN_SRP_PLAN_ASSIGNS_ALL ,
-
Table: CN_COMP_PLANS_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_COMP_PLANS_ALL, object_name:CN_COMP_PLANS_ALL, status:VALID, product: CN - Incentive Compensation , description: Compensation Plans , implementation_dba_data: CN.CN_COMP_PLANS_ALL ,
-
TRIGGER: APPS.CN_ROLE_PLANS_T
12.1.1
owner:APPS, object_type:TRIGGER, object_name:CN_ROLE_PLANS_T, status:VALID,
-
TRIGGER: APPS.CN_ROLE_PLANS_T
12.2.2
owner:APPS, object_type:TRIGGER, object_name:CN_ROLE_PLANS_T, status:VALID,
-
Table: CN_SRP_PLAN_ASSIGNS_ALL
12.1.1
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_SRP_PLAN_ASSIGNS_ALL, object_name:CN_SRP_PLAN_ASSIGNS_ALL, status:VALID, product: CN - Incentive Compensation , description: Salesperson Plan Assignments , implementation_dba_data: CN.CN_SRP_PLAN_ASSIGNS_ALL ,
-
APPS.CN_CALC_SUBLEDGER_PVT dependencies on CN_SRP_PLAN_ASSIGNS_ALL
12.2.2
-
APPS.CN_CALC_SUBLEDGER_PVT dependencies on CN_SRP_PLAN_ASSIGNS_ALL
12.1.1
-
APPS.CN_CALC_SUBLEDGER_PVT dependencies on CN_COMMISSION_HEADERS_ALL
12.2.2
-
APPS.CN_CALC_SUBLEDGER_PVT dependencies on CN_COMMISSION_HEADERS_ALL
12.1.1
-
SYNONYM: APPS.CN_ROLE_PLANS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CN_ROLE_PLANS, status:VALID,
-
PACKAGE BODY: APPS.CN_CALC_SUBLEDGER_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_CALC_SUBLEDGER_PVT, status:VALID,
-
TABLE: CN.CN_ROLE_PLANS_ALL
12.1.1
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_ROLE_PLANS_ALL, object_name:CN_ROLE_PLANS_ALL, status:VALID,
-
SYNONYM: APPS.CN_ROLE_PLANS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CN_ROLE_PLANS, status:VALID,
-
PACKAGE BODY: APPS.CN_CALC_SUBLEDGER_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_CALC_SUBLEDGER_PVT, status:VALID,
-
PACKAGE BODY: APPS.CN_SRP_PAYGROUP_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_SRP_PAYGROUP_PVT, status:VALID,
-
TABLE: CN.CN_ROLE_PLANS_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_ROLE_PLANS_ALL, object_name:CN_ROLE_PLANS_ALL, status:VALID,
-
PACKAGE BODY: APPS.CN_SRP_PAYGROUP_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_SRP_PAYGROUP_PVT, status:VALID,
-
APPS.CN_SRP_PAYGROUP_PVT dependencies on CN_ROLES
12.2.2
-
APPS.CN_SRP_PAYGROUP_PVT dependencies on CN_ROLES
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.CN_CALC_SUBLEDGER_PVT dependencies on CN_COMMISSION_LINES_ALL
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.CN_CALC_SUBLEDGER_PVT dependencies on CN_COMMISSION_LINES_ALL
12.2.2
-
TRIGGER: APPS.CN_ROLE_PLANS_T
12.2.2
-
TRIGGER: APPS.CN_ROLE_PLANS_T
12.1.1
-
APPS.CN_CALC_SUBLEDGER_PVT dependencies on CN_COMMISSION_LINES
12.2.2
-
APPS.CN_CALC_SUBLEDGER_PVT dependencies on CN_COMMISSION_LINES
12.1.1
-
APPS.CN_CALC_SUBLEDGER_PVT dependencies on CN_QUOTAS_ALL
12.2.2
-
APPS.CN_CALC_SUBLEDGER_PVT dependencies on CN_QUOTAS_ALL
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2