Search Results cn_quota_assigns_all
Overview
The CN_QUOTA_ASSIGNS_ALL table is a core data object within the Oracle E-Business Suite Incentive Compensation module (CN). It serves as the fundamental junction table that defines the assignment of quota elements to compensation plans. Its primary role is to establish the many-to-many relationship between compensation plan definitions (CN_COMP_PLANS_ALL) and quota definitions (CN_QUOTAS_ALL). This table is central to the configuration of incentive plans, as it determines which specific sales or performance targets (quotas) are applicable to and must be achieved under a given compensation plan. Being an "ALL" table, it is designed to store data for all operating units in a multi-org environment, with data partitioning typically managed via the ORG_ID column.
Key Information Stored
The table stores the essential linkage between two primary entities. The most critical columns are the foreign keys that create this relationship: COMP_PLAN_ID, which references the compensation plan from CN_COMP_PLANS_ALL, and QUOTA_ID, which references the specific quota metric from CN_QUOTAS_ALL. The table's primary key is QUOTA_ASSIGN_ID, a unique system-generated identifier. According to the provided metadata, a unique key constraint (CN_QUOTA_ASSIGNS_UK1) also exists on the combination of COMP_PLAN_ID and QUOTA_ID, enforcing business logic that prevents the same quota from being assigned to the same plan more than once. Other typical columns in such junction tables would include creation and last update dates, and the ORG_ID for multi-org support, though these are not explicitly listed in the provided excerpt.
Common Use Cases and Queries
This table is primarily accessed during compensation plan setup, administration, and reporting. A common operational use case is validating the quotas assigned to a plan before it is activated. For reporting, analysts frequently query this table to list all quotas associated with a specific compensation plan or to identify which plans utilize a particular quota metric. A typical SQL pattern involves joining to the related dimension tables:
- List Quotas for a Plan: SELECT q.NAME FROM cn_quota_assigns_all a, cn_quotas_all q WHERE a.quota_id = q.quota_id AND a.comp_plan_id = :p_plan_id;
- Find Plans Using a Quota: SELECT cp.NAME FROM cn_quota_assigns_all a, cn_comp_plans_all cp WHERE a.comp_plan_id = cp.comp_plan_id AND a.quota_id = :p_quota_id;
Data in this table is typically maintained via the Oracle Incentive Compensation administrator forms or APIs, not via direct SQL manipulation.
Related Objects
As documented in the provided foreign key metadata, CN_QUOTA_ASSIGNS_ALL has direct, critical dependencies on two other primary tables in the CN schema:
- CN_QUOTAS_ALL: Linked via the QUOTA_ID column. This table stores the definition of the quota metrics themselves, such as name, calculation formula, and measurement period.
- CN_COMP_PLANS_ALL: Linked via the COMP_PLAN_ID column. This table stores the master definition of the compensation plan, including its name, effective dates, and status.
The table is also a likely parent to other transactional or calculation tables in the module, as the plan-quota relationship it defines is essential for computing commissions and incentives. The primary key constraint CN_QUOTA_ASSIGNS_PK and unique key constraint CN_QUOTA_ASSIGNS_UK1 are integral to maintaining the integrity of these relationships.
-
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 ,
-
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 ,
-
APPS.CN_COMP_PLAN_PVT dependencies on CN_QUOTA_ASSIGNS_ALL
12.1.1
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_QUOTA_ASSIGNS_ALL
12.1.1
-
APPS.CN_API dependencies on CN_QUOTA_ASSIGNS_ALL
12.2.2
-
APPS.CN_FORMULA_COMMON_PKG dependencies on CN_QUOTA_ASSIGNS_ALL
12.2.2
-
APPS.CN_SRP_QUOTA_ASSIGNS_PKG dependencies on CN_QUOTA_ASSIGNS_ALL
12.2.2
-
APPS.CN_SRP_QUOTA_ASSIGNS_PKG dependencies on CN_QUOTA_ASSIGNS_ALL
12.1.1
-
APPS.CN_API dependencies on CN_QUOTA_ASSIGNS_ALL
12.1.1
-
APPS.CN_COMP_PLAN_PVT dependencies on CN_QUOTA_ASSIGNS_ALL
12.2.2
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_QUOTA_ASSIGNS_ALL
12.2.2
-
APPS.CN_FORMULA_COMMON_PKG dependencies on CN_QUOTA_ASSIGNS_ALL
12.1.1
-
APPS.CN_API dependencies on CN_QUOTA_ASSIGNS
12.1.1
-
VIEW: CN.CN_QUOTA_ASSIGNS_ALL#
12.2.2
owner:CN, object_type:VIEW, object_name:CN_QUOTA_ASSIGNS_ALL#, status:VALID,
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_QUOTAS_ALL
12.1.1
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_QUOTAS_ALL
12.2.2
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_QUOTAS
12.1.1
-
APPS.CN_API dependencies on CN_QUOTA_ASSIGNS
12.2.2
-
SYNONYM: APPS.CN_QUOTA_ASSIGNS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CN_QUOTA_ASSIGNS_ALL, status:VALID,
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_QUOTAS
12.2.2
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_QUOTA_ASSIGNS
12.2.2
-
VIEW: CN.CN_QUOTA_ASSIGNS_ALL#
12.2.2
-
SYNONYM: APPS.CN_QUOTA_ASSIGNS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CN_QUOTA_ASSIGNS_ALL, status:VALID,
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_QUOTA_ASSIGNS
12.1.1
-
APPS.CN_SRP_QUOTA_ASSIGNS_PKG dependencies on CN_SRP_PLAN_ASSIGNS_ALL
12.2.2
-
APPS.CN_SRP_QUOTA_ASSIGNS_PKG dependencies on CN_QUOTAS_ALL
12.1.1
-
APPS.CN_SRP_QUOTA_ASSIGNS_PKG dependencies on CN_SRP_PLAN_ASSIGNS_ALL
12.1.1
-
APPS.CN_SRP_QUOTA_ASSIGNS_PKG dependencies on CN_QUOTAS_ALL
12.2.2
-
APPS.CN_FORMULA_COMMON_PKG dependencies on CN_SRP_PLAN_ASSIGNS_ALL
12.2.2
-
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
-
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 ,
-
APPS.CN_FORMULA_COMMON_PKG dependencies on CN_SRP_PLAN_ASSIGNS_ALL
12.1.1
-
TABLE: CN.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,
-
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 ,
-
Table: CN_QUOTAS_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_QUOTAS_ALL, object_name:CN_QUOTAS_ALL, status:VALID, product: CN - Incentive Compensation , description: Plan Elements , implementation_dba_data: CN.CN_QUOTAS_ALL ,
-
TABLE: CN.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,
-
APPS.CN_COMP_PLAN_PVT dependencies on CN_QUOTA_ASSIGNS
12.2.2
-
APPS.CN_SRP_QUOTA_ASSIGNS_PKG dependencies on CN_QUOTAS
12.2.2
-
Table: CN_QUOTAS_ALL
12.1.1
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_QUOTAS_ALL, object_name:CN_QUOTAS_ALL, status:VALID, product: CN - Incentive Compensation , description: Plan Elements , implementation_dba_data: CN.CN_QUOTAS_ALL ,
-
PACKAGE BODY: APPS.CN_COMP_PLAN_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_COMP_PLAN_PVT, status:VALID,
-
PACKAGE BODY: APPS.CN_COMP_PLAN_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_COMP_PLAN_PVT, status:VALID,
-
PACKAGE BODY: APPS.CN_SRP_QUOTA_ASSIGNS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_SRP_QUOTA_ASSIGNS_PKG, status:VALID,
-
APPS.CN_COMP_PLAN_PVT dependencies on CN_QUOTA_ASSIGNS
12.1.1
-
APPS.CN_SRP_QUOTA_ASSIGNS_PKG dependencies on CN_QUOTAS
12.1.1
-
View: BIL_DIMV_PLAN_ELEMENTS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BIL.BIL_DIMV_PLAN_ELEMENTS, object_name:BIL_DIMV_PLAN_ELEMENTS, status:VALID, product: BIL - Sales Intelligence , description: Compensation plan elements view , implementation_dba_data: APPS.BIL_DIMV_PLAN_ELEMENTS ,
-
View: BIL_FCTV_COMP_REVENUE
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Quantitative measure related to revenue return on sales compensation , implementation_dba_data: Not implemented in this database ,
-
View: BIL_FCTV_COMP_REVENUE
12.1.1
product: BIL - Sales Intelligence , description: Quantitative measure related to revenue return on sales compensation , implementation_dba_data: Not implemented in this database ,
-
View: BIL_FCTV_COMP_AMOUNTS
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Quantitiatvie measures related to sales compensation , implementation_dba_data: Not implemented in this database ,
-
View: BIL_DIMV_PLAN_ELEMENTS
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Compensation plan elements view , implementation_dba_data: Not implemented in this database ,