Search Results cn_comm_lines_api_all
Overview
The CN_COMM_LINES_API_ALL table is a critical staging and interface table within the Oracle E-Business Suite (EBS) Incentive Compensation (CN) module. It functions as an Application Programming Interface (API) table designed specifically for the bulk import of commission line data into the core transaction table, CN_COMMISSION_LINES. This table serves as a temporary holding area where external data, such as transactions from an order management system, can be loaded and validated before being processed by the Incentive Compensation engine to calculate and generate final commission payments for sales representatives. Its role is to ensure data integrity and provide a controlled, programmatic pathway for integrating commission-related transactions into the EBS system.
Key Information Stored
The table stores the raw data necessary to create commission lines. While the full column list is not detailed in the provided metadata, the primary and foreign key relationships reveal its core structure. The primary key, COMM_LINES_API_ID, uniquely identifies each record staged for import. Crucially, the table holds foreign key references to several fundamental Incentive Compensation entities. These include the SALESREP_ID linking to the salesperson, the PROCESSED_PERIOD_ID linking to the accounting period, and identifiers for the source transaction (TRX_ID, TRX_LINE_ID, TRX_SALES_LINE_ID). This structure indicates the table holds transaction amounts, dates, product information, and the associated sales representative and period context required for commission calculation.
Common Use Cases and Queries
The primary use case is the batch import of commissionable transactions via custom interfaces or data conversion programs. A typical process involves inserting records into CN_COMM_LINES_API_ALL and then calling standard Oracle Incentive Compensation APIs or concurrent programs to validate and process this data into final commission lines. Common queries against this table are diagnostic, focusing on the import queue's status. For example, identifying records that failed processing or summarizing imported volumes by period would be standard operational reports. A sample query to find staged lines for a specific sales representative might be:
- SELECT COMM_LINES_API_ID, TRX_ID FROM CN_COMM_LINES_API_ALL WHERE SALESREP_ID = <rep_id> AND PROCESSED_PERIOD_ID = <period_id>;
Related Objects
As documented by its foreign keys, CN_COMM_LINES_API_ALL has direct dependencies on several key CN tables. These relationships are essential for data validation during the import process.
- CN_COMMISSION_LINES: The ultimate target table where validated data from this API table is posted.
- CN_SALESREPS_API_ALL: Validates the SALESREP_ID to ensure the representative is valid and active.
- CN_PERIOD_STATUSES_ALL: Validates the PROCESSED_PERIOD_ID to ensure the transaction period is open for processing.
- CN_TRX_ALL, CN_TRX_LINES_ALL, CN_TRX_SALES_LINES_ALL: These foreign keys (TRX_ID, TRX_LINE_ID, TRX_SALES_LINE_ID) link the staged commission line back to its source transaction details within the CN schema, ensuring referential integrity.
-
Table: CN_COMM_LINES_API_ALL
12.1.1
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_COMM_LINES_API_ALL, object_name:CN_COMM_LINES_API_ALL, status:VALID, product: CN - Incentive Compensation , description: API for importing values into CN_COMMISSION_LINES , implementation_dba_data: CN.CN_COMM_LINES_API_ALL ,
-
Table: CN_COMM_LINES_API_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_COMM_LINES_API_ALL, object_name:CN_COMM_LINES_API_ALL, status:VALID, product: CN - Incentive Compensation , description: API for importing values into CN_COMMISSION_LINES , implementation_dba_data: CN.CN_COMM_LINES_API_ALL ,
-
APPS.CN_TRANSACTION_LOAD_PUB dependencies on CN_COMM_LINES_API_ALL
12.2.2
-
APPS.CN_NOTIFY_AIA_OM dependencies on CN_COMM_LINES_API_ALL
12.2.2
-
APPS.CN_UPGRADE_UTL_PKG dependencies on CN_COMM_LINES_API_ALL
12.2.2
-
APPS.CN_SCA_CREDITS_BATCH_PUB dependencies on CN_COMM_LINES_API_ALL
12.2.2
-
APPS.CN_TRANSACTION_LOAD_PUB dependencies on CN_COMM_LINES_API_ALL
12.1.1
-
APPS.CN_TRANSACTION_LOAD_PKG dependencies on CN_COMM_LINES_API_ALL
12.1.1
-
APPS.CN_CUST_MERGE_PVT dependencies on CN_COMM_LINES_API_ALL
12.1.1
-
APPS.CN_CUST_MERGE_PVT dependencies on CN_COMM_LINES_API_ALL
12.2.2
-
APPS.CN_INVOICE_CHANGES_PVT dependencies on CN_COMM_LINES_API_ALL
12.2.2
-
APPS.CN_GET_TX_DATA_PUB dependencies on CN_COMM_LINES_API_ALL
12.1.1
-
APPS.CN_INVOICE_CHANGES_PVT dependencies on CN_COMM_LINES_API_ALL
12.1.1
-
APPS.CN_SCA_CREDITS_BATCH_PUB dependencies on CN_COMM_LINES_API_ALL
12.1.1
-
APPS.CN_COMM_LINES_API_PKG dependencies on CN_COMM_LINES_API_ALL
12.1.1
-
APPS.CN_TRANSACTION_LOAD_PKG dependencies on CN_COMM_LINES_API_ALL
12.2.2
-
APPS.CN_GET_TX_DATA_PUB dependencies on CN_COMM_LINES_API_ALL
12.2.2
-
APPS.CN_COLLECTION_AIA_PUB dependencies on CN_COMM_LINES_API_ALL
12.2.2
-
APPS.CN_PURGE_TABLES_PVT dependencies on CN_COMM_LINES_API_ALL
12.2.2
-
APPS.CN_COMM_LINES_API_PKG dependencies on CN_COMM_LINES_API_ALL
12.2.2
-
APPS.CN_TRANSACTION_LOAD_PUB dependencies on CN_COMM_LINES_API
12.1.1
-
APPS.CN_SCA_CREDITS_BATCH_PUB dependencies on CN_COMM_LINES_API
12.2.2
-
APPS.CN_SCA_CREDITS_BATCH_PUB dependencies on CN_COMM_LINES_API
12.1.1
-
APPS.CN_TRANSACTION_LOAD_PKG dependencies on CN_COMM_LINES_API
12.2.2
-
APPS.CN_TRANSACTION_LOAD_PKG dependencies on CN_COMM_LINES_API
12.1.1
-
APPS.CN_TRANSACTION_LOAD_PUB dependencies on CN_COMM_LINES_API
12.2.2
-
APPS.CN_SCA_CREDITS_BATCH_PUB dependencies on JTF_TAE_1001_SC_WINNERS
12.1.1
-
APPS.CN_GET_TX_DATA_PUB dependencies on CN_COMM_LINES_API
12.1.1
-
APPS.CN_GET_TX_DATA_PUB dependencies on CN_COMM_LINES_API
12.2.2
-
APPS.CN_CUST_MERGE_PVT dependencies on CN_COMM_LINES_API
12.1.1
-
APPS.CN_TRANSACTION_LOAD_PKG dependencies on CN_REVENUE_CLASSES
12.2.2
-
APPS.CN_TRANSACTION_LOAD_PKG dependencies on CN_SALESREPS
12.1.1
-
APPS.CN_TRANSACTION_LOAD_PKG dependencies on CN_SALESREPS
12.2.2
-
APPS.CN_TRANSACTION_LOAD_PKG SQL Statements
12.1.1
-
APPS.CN_TRANSACTION_LOAD_PKG dependencies on CN_REVENUE_CLASSES
12.1.1
-
APPS.CN_PURGE_TABLES_PVT dependencies on CN_INVOICE_CHANGES_ALL
12.2.2
-
APPS.CN_CUST_MERGE_PVT dependencies on CN_COMM_LINES_API
12.2.2
-
SYNONYM: APPS.CN_COMM_LINES_API_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CN_COMM_LINES_API_ALL, status:VALID,
-
APPS.CN_IMP_TRXAPI_PVT dependencies on CN_COMM_LINES_API
12.1.1
-
APPS.CN_TRANSACTION_LOAD_PKG SQL Statements
12.2.2
-
SYNONYM: APPS.CN_COMM_LINES_API_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CN_COMM_LINES_API_ALL, status:VALID,
-
APPS.CN_SCA_CREDITS_BATCH_PUB dependencies on JTF_TAE_1001_SC_WINNERS
12.2.2
-
APPS.CN_IMP_TRXAPI_PVT dependencies on CN_COMM_LINES_API
12.2.2
-
APPS.CN_SCA_CREDITS_BATCH_PUB SQL Statements
12.2.2
-
APPS.CN_SCA_CREDITS_BATCH_PUB SQL Statements
12.1.1
-
Table: CN_TRX_LINES_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_TRX_LINES_ALL, object_name:CN_TRX_LINES_ALL, status:VALID, product: CN - Incentive Compensation , description: Contains CN transactions picked up in the AR data collection process. , implementation_dba_data: CN.CN_TRX_LINES_ALL ,
-
Table: CN_SALESREPS_API_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_SALESREPS_API_ALL, object_name:CN_SALESREPS_API_ALL, status:VALID, product: CN - Incentive Compensation , description: Not currently used , implementation_dba_data: CN.CN_SALESREPS_API_ALL ,
-
APPS.CN_CUST_MERGE_PVT dependencies on RA_CUSTOMER_MERGES
12.2.2
-
APPS.CN_CUST_MERGE_PVT dependencies on RA_CUSTOMER_MERGES
12.1.1
-
Table: CN_TRX_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_TRX_ALL, object_name:CN_TRX_ALL, status:VALID, product: CN - Incentive Compensation , description: Contains CN transactions picked up in the AR data collection process. , implementation_dba_data: CN.CN_TRX_ALL ,