Search Results srp_pay_group_id
Overview
The CN_SRP_PAY_GROUPS_ALL table is a core data object within the Oracle E-Business Suite (EBS) Incentive Compensation module (CN). It serves as the central repository for managing the assignment of salespeople (Sales Resources or SRPs) to specific payment groups. A payment group is a logical construct used to define compensation rules, payment schedules, and processing parameters for a set of sales personnel. As per the documented description, a fundamental business rule enforced by this table is that a salesperson can be assigned to only one payment group at any given point in time. The table supports date-effective assignments, allowing for historical tracking and future-dated changes to a salesperson's pay group affiliation, which is critical for accurate commission calculations over time.
Key Information Stored
The table's primary function is to maintain the relationship between a salesperson and a payment group within a specific date range. While a full column list is not provided in the metadata, the documented primary and foreign keys reveal the essential data elements. The SRP_PAY_GROUP_ID column is the unique primary key identifier for each assignment record. The PAY_GROUP_ID column is a foreign key linking to the CN_PAY_GROUPS_ALL table, storing the identifier of the assigned payment group. Crucially, the table must contain columns to identify the salesperson (likely an SRP_ID or resource ID) and columns defining the effective start date (START_DATE) and end date (END_DATE) of the assignment, enabling the date-effective functionality described.
Common Use Cases and Queries
This table is primarily accessed for configuring compensation plans, running payroll processes, and generating audit reports. A common operational query is to determine the current active payment group for a specific salesperson, which is vital for applying the correct compensation rules during a calculation run. For example:
SELECT pay_group_id FROM cn_srp_pay_groups_all WHERE srp_id = :p_srp_id AND SYSDATE BETWEEN start_date AND NVL(end_date, SYSDATE);
Another frequent use case is reporting on pay group assignment history for audit purposes or to analyze changes in sales force structure. Administrators may also query this table to validate data integrity, ensuring no salesperson has overlapping or conflicting active assignments, which would violate the core business rule.
Related Objects
The table has defined relationships with other key Incentive Compensation tables, as indicated by the foreign key metadata. The primary documented relationship is:
- CN_PAY_GROUPS_ALL: This is the master table for payment group definitions. The
CN_SRP_PAY_GROUPS_ALL.PAY_GROUP_IDcolumn is a foreign key toCN_PAY_GROUPS_ALL. A typical join for a report would use this relationship to fetch the payment group name and details for a salesperson's assignment.
JTF_RS_SALESREPS or CN_SRP_QUOTA_ASSIGNS_ALL), though this specific foreign key is not listed in the provided excerpt. The table is also a likely parent to various transaction and payment tables within the CN schema that require knowledge of the pay group to process commissions correctly.
-
Table: CN_SRP_PAY_GROUPS_ALL
12.1.1
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_SRP_PAY_GROUPS_ALL, object_name:CN_SRP_PAY_GROUPS_ALL, status:VALID, product: CN - Incentive Compensation , description: CN_SRP_PAY_GROUPS contains information about the payment group each salesperson is assigned to. At any time a salesperson can have only one assigned payment group. Date effective range can be specified for each pay group assignment to a sa , implementation_dba_data: CN.CN_SRP_PAY_GROUPS_ALL ,
-
Table: CN_SRP_PAY_GROUPS_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_SRP_PAY_GROUPS_ALL, object_name:CN_SRP_PAY_GROUPS_ALL, status:VALID, product: CN - Incentive Compensation , description: CN_SRP_PAY_GROUPS contains information about the payment group each salesperson is assigned to. At any time a salesperson can have only one assigned payment group. Date effective range can be specified for each pay group assignment to a sa , implementation_dba_data: CN.CN_SRP_PAY_GROUPS_ALL ,