Search Results cn_process_audits_all
Overview
The CN_PROCESS_AUDITS_ALL table is a core data object within the Oracle E-Business Suite Incentive Compensation (CN) module. It functions as a comprehensive execution log and audit trail for key compensation processes. Its primary role is to record detailed metadata about the initiation, execution, and status of batch operations such as compensation plan calculations, payment processing, statement generation, and notification runs. This table is critical for troubleshooting, performance analysis, and maintaining a historical record of all automated and manual processing events within the Incentive Compensation engine, supporting both operational and compliance needs across organizations (as indicated by the '_ALL' suffix and ORG_ID column).
Key Information Stored
The table stores metadata that characterizes each process execution instance. 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, PROCESS_AUDIT_ID, uniquely identifies each process execution record. The table supports hierarchical process logging through the PARENT_PROCESS_AUDIT_ID foreign key, which points to the parent record in the same table, allowing for nested or multi-step processes. Key foreign key columns include OBJECT_ID (linking to CN_OBJECTS_ALL, likely identifying the compensation object being processed), MODULE_ID (linking to CN_MODULES_ALL_B, identifying the functional module), and ORG_ID (identifying the operating unit). Other typical columns in such audit tables, though not explicitly listed, would include timestamps for start and end times, process status (e.g., 'RUNNING', 'COMPLETE', 'ERROR'), the initiating user ID, request ID, and parameters used for the run.
Common Use Cases and Queries
This table is primarily queried for process monitoring, debugging, and historical reporting. Common scenarios include identifying failed processes, analyzing process duration for performance tuning, and tracing the lineage of a specific calculation. A typical query would join to related tables to get descriptive information. For example, to find long-running compensation calculation processes for a specific module, one might use a pattern like:
- SELECT cpa.PROCESS_AUDIT_ID, cpa.CREATION_DATE, cm.MODULE_NAME, cpa.STATUS FROM CN_PROCESS_AUDITS_ALL cpa JOIN CN_MODULES_ALL_B cm ON cpa.MODULE_ID = cm.MODULE_ID AND cpa.ORG_ID = cm.ORG_ID WHERE cm.MODULE_NAME LIKE '%CALCULATION%' AND cpa.CREATION_DATE > SYSDATE - 7 ORDER BY cpa.CREATION_DATE DESC;
Another critical use case is investigating a specific transaction batch or notification error by joining to the CN_TRX_BATCHES_ALL or CN_NOT_TRX_ALL tables via the PROCESS_AUDIT_ID.
Related Objects
Based on the documented foreign key relationships, CN_PROCESS_AUDITS_ALL has integral links to several key CN tables:
- CN_PROCESS_AUDITS_ALL (Self-Referential): Via PARENT_PROCESS_AUDIT_ID to PROCESS_AUDIT_ID. This creates a hierarchy for sub-processes.
- CN_OBJECTS_ALL: Via OBJECT_ID and ORG_ID. Links the process to the specific compensation object (e.g., a plan, formula, or rule).
- CN_MODULES_ALL_B: Via MODULE_ID and ORG_ID. Identifies the functional module (e.g., 'Compensation Calculation', 'Payment Processing') that executed the process.
- CN_PROCESS_AUDIT_LINES_ALL: Via PROCESS_AUDIT_ID. This child table holds detailed line-level log messages, errors, or results for the parent process audit record.
- CN_TRX_BATCHES_ALL: Via PROCESS_AUDIT_ID. Associates the audit record with a specific batch of compensation transactions.
- CN_NOT_TRX_ALL: Via NOTIFICATION_RUN_ID to PROCESS_AUDIT_ID. Links the process to a notification run.
-
Table: CN_PROCESS_AUDITS_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_PROCESS_AUDITS_ALL, object_name:CN_PROCESS_AUDITS_ALL, status:VALID, product: CN - Incentive Compensation , description: Process execution log details , implementation_dba_data: CN.CN_PROCESS_AUDITS_ALL ,
-
Table: CN_PROCESS_AUDITS_ALL
12.1.1
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_PROCESS_AUDITS_ALL, object_name:CN_PROCESS_AUDITS_ALL, status:VALID, product: CN - Incentive Compensation , description: Process execution log details , implementation_dba_data: CN.CN_PROCESS_AUDITS_ALL ,
-
APPS.CN_CALC_SUBMISSION_PVT dependencies on CN_PROCESS_AUDITS_ALL
12.1.1
-
APPS.CN_MESSAGE_PKG dependencies on CN_PROCESS_AUDITS_ALL
12.1.1
-
APPS.CN_MESSAGE_PKG dependencies on CN_PROCESS_AUDITS_ALL
12.2.2
-
APPS.CN_PURGE_TABLES_PVT dependencies on CN_PROCESS_AUDITS_ALL
12.2.2
-
APPS.CN_CALC_SUBMISSION_PVT dependencies on CN_PROCESS_AUDITS_ALL
12.2.2
-
APPS.CN_MESSAGE_PKG dependencies on CN_PROCESS_AUDITS
12.2.2
-
APPS.CN_MESSAGE_PKG dependencies on CN_PROCESS_AUDITS
12.1.1
-
SYNONYM: APPS.CN_PROCESS_AUDITS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CN_PROCESS_AUDITS_ALL, status:VALID,
-
APPS.CN_MESSAGE_PKG SQL Statements
12.2.2
-
SYNONYM: APPS.CN_PROCESS_AUDITS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CN_PROCESS_AUDITS_ALL, status:VALID,
-
VIEW: CN.CN_PROCESS_AUDITS_ALL#
12.2.2
owner:CN, object_type:VIEW, object_name:CN_PROCESS_AUDITS_ALL#, status:VALID,
-
VIEW: CN.CN_PROCESS_AUDITS_ALL#
12.2.2
-
APPS.CN_MESSAGE_PKG SQL Statements
12.1.1
-
APPS.CN_CALC_SUBMISSION_PVT dependencies on CN_PROCESS_AUDITS
12.2.2
-
APPS.CN_PURGE_TABLES_PVT dependencies on CN_PROCESS_AUDIT_LINES_ALL
12.2.2
-
APPS.CN_CALC_SUBMISSION_PVT dependencies on CN_PROCESS_AUDITS
12.1.1
-
APPS.CN_MESSAGE_PKG dependencies on CN_PROCESS_AUDIT_LINES
12.1.1
-
Table: CN_TRX_BATCHES_ALL
12.1.1
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_TRX_BATCHES_ALL, object_name:CN_TRX_BATCHES_ALL, status:VALID, product: CN - Incentive Compensation , description: Group for cn_commission_lines , implementation_dba_data: CN.CN_TRX_BATCHES_ALL ,
-
Table: CN_PROCESS_AUDIT_LINES_ALL
12.1.1
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_PROCESS_AUDIT_LINES_ALL, object_name:CN_PROCESS_AUDIT_LINES_ALL, status:VALID, product: CN - Incentive Compensation , description: Process execution log messages , implementation_dba_data: CN.CN_PROCESS_AUDIT_LINES_ALL ,
-
Table: CN_PROCESS_AUDIT_LINES_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_PROCESS_AUDIT_LINES_ALL, object_name:CN_PROCESS_AUDIT_LINES_ALL, status:VALID, product: CN - Incentive Compensation , description: Process execution log messages , implementation_dba_data: CN.CN_PROCESS_AUDIT_LINES_ALL ,
-
APPS.CN_MESSAGE_PKG dependencies on CN_PROCESS_AUDIT_LINES
12.2.2
-
Table: CN_NOT_TRX_ALL
12.1.1
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_NOT_TRX_ALL, object_name:CN_NOT_TRX_ALL, status:VALID, product: CN - Incentive Compensation , description: Determines which AR records will be used by the Collection process. , implementation_dba_data: CN.CN_NOT_TRX_ALL ,
-
Table: CN_NOT_TRX_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_NOT_TRX_ALL, object_name:CN_NOT_TRX_ALL, status:VALID, product: CN - Incentive Compensation , description: Determines which AR records will be used by the Collection process. , implementation_dba_data: CN.CN_NOT_TRX_ALL ,
-
Table: CN_TRX_BATCHES_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_TRX_BATCHES_ALL, object_name:CN_TRX_BATCHES_ALL, status:VALID, product: CN - Incentive Compensation , description: Group for cn_commission_lines , implementation_dba_data: CN.CN_TRX_BATCHES_ALL ,
-
APPS.CN_MESSAGE_PKG dependencies on DUAL
12.2.2
-
PACKAGE BODY: APPS.CN_MESSAGE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_MESSAGE_PKG, status:VALID,
-
APPS.CN_CALC_SUBMISSION_PVT dependencies on FND_CONCURRENT_REQUESTS
12.1.1
-
APPS.CN_CALC_SUBMISSION_PVT dependencies on FND_CONCURRENT_REQUESTS
12.2.2
-
APPS.CN_MESSAGE_PKG dependencies on CN_PROCESS_AUDIT_LINES_ALL
12.1.1
-
PACKAGE BODY: APPS.CN_MESSAGE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_MESSAGE_PKG, status:VALID,
-
TABLE: CN.CN_PROCESS_AUDITS_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_PROCESS_AUDITS_ALL, object_name:CN_PROCESS_AUDITS_ALL, status:VALID,
-
Table: CN_MODULES_ALL_B
12.1.1
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_MODULES_ALL_B, object_name:CN_MODULES_ALL_B, status:VALID, product: CN - Incentive Compensation , description: Source modules generated by the Classification and Collection code generators. , implementation_dba_data: CN.CN_MODULES_ALL_B ,
-
APPS.CN_MESSAGE_PKG dependencies on CN_PROCESS_AUDIT_LINES_ALL
12.2.2
-
APPS.CN_MESSAGE_PKG dependencies on DUAL
12.1.1
-
PACKAGE BODY: APPS.CN_CALC_SUBMISSION_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_CALC_SUBMISSION_PVT, status:VALID,
-
TABLE: CN.CN_PROCESS_AUDITS_ALL
12.1.1
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_PROCESS_AUDITS_ALL, object_name:CN_PROCESS_AUDITS_ALL, status:VALID,
-
Table: CN_MODULES_ALL_B
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_MODULES_ALL_B, object_name:CN_MODULES_ALL_B, status:VALID, product: CN - Incentive Compensation , description: Source modules generated by the Classification and Collection code generators. , implementation_dba_data: CN.CN_MODULES_ALL_B ,
-
SYNONYM: APPS.CN_PROCESS_AUDITS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CN_PROCESS_AUDITS, status:VALID,
-
SYNONYM: APPS.CN_PROCESS_AUDITS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CN_PROCESS_AUDITS, status:VALID,
-
PACKAGE BODY: APPS.CN_CALC_SUBMISSION_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_CALC_SUBMISSION_PVT, status:VALID,
-
PACKAGE BODY: APPS.CN_PURGE_TABLES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_PURGE_TABLES_PVT, status:VALID,
-
Table: CN_OBJECTS_ALL
12.2.2
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_OBJECTS_ALL, object_name:CN_OBJECTS_ALL, status:VALID, product: CN - Incentive Compensation , description: Collection of objects used by Sales Compensation. Tables, columns, sequences, packages, etc. , implementation_dba_data: CN.CN_OBJECTS_ALL ,
-
Table: CN_OBJECTS_ALL
12.1.1
owner:CN, object_type:TABLE, fnd_design_data:CN.CN_OBJECTS_ALL, object_name:CN_OBJECTS_ALL, status:VALID, product: CN - Incentive Compensation , description: Collection of objects used by Sales Compensation. Tables, columns, sequences, packages, etc. , implementation_dba_data: CN.CN_OBJECTS_ALL ,
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2