Search Results cn_comp_plans_all
Overview
The CN_COMP_PLANS_ALL table is a core data object within the Oracle E-Business Suite (EBS) Incentive Compensation (CN) module. It serves as the master repository for all compensation plan definitions within the application. A compensation plan is a formalized set of rules, formulas, and parameters that govern how incentive earnings are calculated for sales representatives or other compensated roles. The existence of this table is fundamental to the module's operation, as every incentive transaction and calculation ultimately references a specific plan stored here. Its "ALL" suffix indicates it is a multi-organization table, storing data across all operating units configured within the instance, which is essential for enterprise-wide deployments.
Key Information Stored
The table's primary purpose is to store the unique identity and descriptive attributes of each compensation plan. The key columns, as indicated by the provided metadata, include the system-generated primary key COMP_PLAN_ID, which uniquely identifies each plan record. The table also enforces a unique constraint (CN_COMP_PLANS_UK1) on the combination of NAME and VERSION columns. This design allows for multiple versions of a plan with the same name to coexist, supporting plan evolution over time (e.g., "Q2 Sales Plan - 2023" version 1.0 and 2.0). While the excerpt does not list all columns, typical attributes stored would include plan status (e.g., Active, Inactive), effective start and end dates, plan type classification, and various flags controlling plan behavior and processing rules.
Common Use Cases and Queries
This table is central to administrative, operational, and reporting activities. Common use cases include generating a list of all active compensation plans for a given operating unit, identifying the specific plan version assigned to a salesperson, or auditing plan changes over time. A typical reporting query would join CN_COMP_PLANS_ALL to assignment tables to analyze plan coverage. For example:
- To list all active plans:
SELECT name, version, comp_plan_id FROM cn_comp_plans_all WHERE sysdate BETWEEN start_date AND NVL(end_date, sysdate+1); - To find plans assigned to a specific salesperson (SRP), a query would join through CN_SRP_PLAN_ASSIGNS_ALL:
SELECT cp.name, cp.version FROM cn_comp_plans_all cp, cn_srp_plan_assigns_all spa WHERE cp.comp_plan_id = spa.comp_plan_id AND spa.salesrep_id = :rep_id;
Related Objects
As the central reference table for plans, CN_COMP_PLANS_ALL has defined relationships with several other critical tables in the CN schema, as shown in the foreign key metadata. Key related objects include:
- CN_SRP_PLAN_ASSIGNS_ALL: Links compensation plans to individual sales representatives (SRPs).
- CN_ROLE_PLANS_ALL: Associates compensation plans with defined roles within the hierarchy.
- CN_QUOTA_ASSIGNS_ALL: Connects quota definitions to specific compensation plans, which is essential for quota-based incentive calculations.
These relationships ensure data integrity and form the backbone of the plan assignment and calculation architecture in Oracle Incentive Compensation.
-
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_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 ,
-
APPS.CN_CALC_SUBMISSION_PVT dependencies on CN_COMP_PLANS_ALL
12.2.2
-
APPS.CN_PLANCOPY_UTIL_PVT dependencies on CN_COMP_PLANS_ALL
12.1.1
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_COMP_PLANS_ALL
12.2.2
-
APPS.CN_COMP_PLAN_PVT dependencies on CN_COMP_PLANS_ALL
12.2.2
-
APPS.CN_CALC_SUBMISSION_PVT dependencies on CN_COMP_PLANS_ALL
12.1.1
-
APPS.CN_API dependencies on CN_COMP_PLANS_ALL
12.2.2
-
APPS.CN_SRP_PERIODS_PVT dependencies on CN_COMP_PLANS_ALL
12.1.1
-
APPS.CN_COMP_PLAN_PVT dependencies on CN_COMP_PLANS_ALL
12.1.1
-
APPS.CN_CALC_POPULATE_PVT dependencies on CN_COMP_PLANS_ALL
12.1.1
-
APPS.CN_SRP_PERIODS_PVT dependencies on CN_COMP_PLANS_ALL
12.2.2
-
APPS.CN_SRP_PLAN_ASSIGNS_PKG dependencies on CN_COMP_PLANS_ALL
12.2.2
-
APPS.CN_CALC_POPULATE_PVT dependencies on CN_COMP_PLANS_ALL
12.2.2
-
APPS.CN_API dependencies on CN_COMP_PLANS_ALL
12.1.1
-
APPS.CN_SRP_PLAN_ASSIGNS_PKG dependencies on CN_COMP_PLANS_ALL
12.1.1
-
APPS.CN_PLANCOPY_UTIL_PVT dependencies on CN_COMP_PLANS_ALL
12.2.2
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_COMP_PLANS_ALL
12.1.1
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_COMP_PLANS
12.2.2
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_COMP_PLANS
12.1.1
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_SRP_ROLE_DTLS_ALL
12.1.1
-
VIEW: APPS.CN_COMP_PLANS_ALL_DFV
12.1.1
-
APPS.CN_API dependencies on CN_COMP_PLANS
12.1.1
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_SRP_PLAN_ASSIGNS_ALL
12.2.2
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_SRP_PLAN_ASSIGNS_ALL
12.1.1
-
VIEW: APPS.CN_COMP_PLANS_ALL_DFV
12.2.2
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_SRP_ROLE_DTLS_ALL
12.2.2
-
APPS.CN_API dependencies on CN_COMP_PLANS
12.2.2
-
SYNONYM: APPS.CN_COMP_PLANS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CN_COMP_PLANS_ALL, status:VALID,
-
VIEW: CN.CN_COMP_PLANS_ALL#
12.2.2
owner:CN, object_type:VIEW, object_name:CN_COMP_PLANS_ALL#, status:VALID,
-
SYNONYM: APPS.CN_COMP_PLANS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CN_COMP_PLANS_ALL, status:VALID,
-
VIEW: APPS.BIL_DIMV_COMP_PLANS
12.1.1
-
VIEW: CN.CN_COMP_PLANS_ALL#
12.2.2
-
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_COMP_PLANS_T1 dependencies on CN_MARK_EVENTS_PKG
12.2.2
-
APPS.CN_CALC_SUBMISSION_PVT dependencies on CN_SRP_PLAN_ASSIGNS_ALL
12.1.1
-
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 ,
-
VIEW: APPS.CN_COMP_PLANS_ALL_DFV
12.2.2
owner:APPS, object_type:VIEW, object_name:CN_COMP_PLANS_ALL_DFV, status:VALID,
-
TRIGGER: APPS.CN_COMP_PLANS_T1
12.1.1
-
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 ,
-
TRIGGER: APPS.CN_COMP_PLANS_T1
12.2.2
owner:APPS, object_type:TRIGGER, object_name:CN_COMP_PLANS_T1, status:VALID,
-
Table: CN_QUOTA_ASSIGNS_ALL
12.1.1
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_QUOTA_ASSIGNS_ALL, object_name:CN_QUOTA_ASSIGNS_ALL, status:VALID, product: CN - Incentive Compensation , description: Elements assigned to a compensation plan , implementation_dba_data: CN.CN_QUOTA_ASSIGNS_ALL ,
-
Table: CN_QUOTA_ASSIGNS_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_QUOTA_ASSIGNS_ALL, object_name:CN_QUOTA_ASSIGNS_ALL, status:VALID, product: CN - Incentive Compensation , description: Elements assigned to a compensation plan , implementation_dba_data: CN.CN_QUOTA_ASSIGNS_ALL ,
-
TRIGGER: APPS.CN_COMP_PLANS_T1
12.2.2
-
View: BIL_DIMV_COMP_PLANS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BIL.BIL_DIMV_COMP_PLANS, object_name:BIL_DIMV_COMP_PLANS, status:VALID, product: BIL - Sales Intelligence , description: Compensation plans view , implementation_dba_data: APPS.BIL_DIMV_COMP_PLANS ,
-
View: BIL_DIMV_COMP_PLANS
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Compensation plans view , implementation_dba_data: Not implemented in this database ,
-
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 ,
-
APPS.CN_CALC_SUBMISSION_PVT dependencies on CN_SRP_PLAN_ASSIGNS_ALL
12.2.2
-
VIEW: APPS.CN_COMP_PLANS_ALL_DFV
12.1.1
owner:APPS, object_type:VIEW, object_name:CN_COMP_PLANS_ALL_DFV, status:VALID,
-
TRIGGER: APPS.CN_COMP_PLANS_T1
12.1.1
owner:APPS, object_type:TRIGGER, object_name:CN_COMP_PLANS_T1, status:VALID,