Search Results cs_system_audit
Overview
The CS_SYSTEM_AUDIT table is a core audit trail object within the Oracle E-Business Suite (EBS) Service (CS) module, specifically for releases 12.1.1 and 12.2.2. Its primary function is to record historical changes to critical attributes of a service system, as defined in the CS_SYSTEMS_ALL_B table. This table is essential for maintaining a complete, auditable history of system configuration, enabling compliance reporting, troubleshooting data integrity issues, and understanding the evolution of a customer's installed base over time. It operates by capturing both the old (previous) and current (new) values for a changed attribute at the moment of an update.
Key Information Stored
The table's structure is designed to store comparative audit snapshots. Its primary key is CS_SYSTEM_AUDIT_ID, which uniquely identifies each audit record. The central foreign key, SYSTEM_ID, links the audit entry to the specific system in CS_SYSTEMS_ALL_B. The table predominantly consists of paired columns that store the previous and updated values for key system relationships. As per the documented metadata, these critical attribute pairs include:
- Customer Account (OLD_CUSTOMER_ID, CURRENT_CUSTOMER_ID)
- Parent System (OLD_PARENT_SYSTEM_ID, CURR_PARENT_SYSTEM_ID)
- Bill-to, Ship-to, and Install Site Uses (e.g., OLD_BILL_TO_SITE_USE_ID, CURR_BILL_TO_SITE_USE_ID)
- Technical, Service Admin, Bill-to, and Ship-to Contacts (e.g., OLD_TECHNICAL_CONTACT_ID, CURR_TECHNICAL_CONTACT_ID)
Additional columns, such as creation date and created by, are typically present to record who made the change and when, though they are not explicitly listed in the provided excerpt.
Common Use Cases and Queries
The primary use case is auditing and historical reporting on system master data changes. Support and system administrators query this table to trace when a system was reassigned to a different customer, had its parent-child hierarchy modified, or had its service contacts updated. A typical query retrieves the audit trail for a specific system, joining to related TCA (Trading Community Architecture) tables to resolve IDs into meaningful names.
Sample Query: Audit History for a System
SELECT sa.creation_date, sa.created_by,
hz_old_acct.account_number old_customer,
hz_curr_acct.account_number current_customer
FROM cs_system_audit sa,
hz_cust_accounts hz_old_acct,
hz_cust_accounts hz_curr_acct
WHERE sa.system_id = :p_system_id
AND hz_old_acct.cust_account_id (+) = sa.old_customer_id
AND hz_curr_acct.cust_account_id (+) = sa.current_customer_id
AND (sa.old_customer_id IS NOT NULL OR sa.current_customer_id IS NOT NULL)
ORDER BY sa.creation_date DESC;
Related Objects
CS_SYSTEM_AUDIT has extensive foreign key relationships, as documented, making it a central hub for audit data. Its primary relationship is with the master system table, CS_SYSTEMS_ALL_B, referenced multiple times. It is deeply integrated with the TCA schema to audit party and site information, with key dependencies on:
- HZ_CUST_ACCOUNTS (for customer account changes)
- HZ_PARTIES (for contact person changes)
- HZ_CUST_ACCT_SITES_ALL and HZ_PARTY_SITES (for site use changes)
This network of relationships ensures that the audit trail maintains referential integrity and can be fully decoded by joining to these master data tables.
-
Table: CS_SYSTEM_AUDIT
12.1.1
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_SYSTEM_AUDIT, object_name:CS_SYSTEM_AUDIT, status:VALID, product: CS - Service , description: Audit information for system attributes , implementation_dba_data: CS.CS_SYSTEM_AUDIT ,
-
Table: CS_SYSTEM_AUDIT
12.2.2
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_SYSTEM_AUDIT, object_name:CS_SYSTEM_AUDIT, status:VALID, product: CS - Service , description: Audit information for system attributes , implementation_dba_data: CS.CS_SYSTEM_AUDIT ,
-
Table: CS_SYSTEMS_ALL_B
12.1.1
product: CS - Service , description: Systems , implementation_dba_data: Not implemented in this database ,
-
Table: CS_SYSTEMS_ALL_B
12.2.2
product: CS - Service , description: Systems , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.CS_SYSTEM_AUDIT_DFV
12.1.1
-
VIEW: APPS.CS_SYSTEM_AUDIT_DFV
12.2.2
-
SYNONYM: APPS.CS_SYSTEM_AUDIT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_SYSTEM_AUDIT, status:VALID,
-
SYNONYM: APPS.CS_SYSTEM_AUDIT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CS_SYSTEM_AUDIT, status:VALID,
-
VIEW: CS.CS_SYSTEM_AUDIT#
12.2.2
owner:CS, object_type:VIEW, object_name:CS_SYSTEM_AUDIT#, status:VALID,
-
Table: HZ_PARTY_SITES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_PARTY_SITES, object_name:HZ_PARTY_SITES, status:VALID, product: AR - Receivables , description: Links party to physical locations , implementation_dba_data: AR.HZ_PARTY_SITES ,
-
Table: HZ_PARTY_SITES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_PARTY_SITES, object_name:HZ_PARTY_SITES, status:VALID, product: AR - Receivables , description: Links party to physical locations , implementation_dba_data: AR.HZ_PARTY_SITES ,
-
Table: HZ_CUST_ACCT_SITES_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCT_SITES_ALL, object_name:HZ_CUST_ACCT_SITES_ALL, status:VALID, product: AR - Receivables , description: Stores all customer account sites across all operating units , implementation_dba_data: AR.HZ_CUST_ACCT_SITES_ALL ,
-
Table: HZ_CUST_ACCT_SITES_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCT_SITES_ALL, object_name:HZ_CUST_ACCT_SITES_ALL, status:VALID, product: AR - Receivables , description: Stores all customer account sites across all operating units , implementation_dba_data: AR.HZ_CUST_ACCT_SITES_ALL ,
-
VIEW: CS.CS_SYSTEM_AUDIT#
12.2.2
-
VIEW: APPS.CS_SYSTEM_AUDIT_DFV
12.1.1
owner:APPS, object_type:VIEW, object_name:CS_SYSTEM_AUDIT_DFV, status:VALID,
-
VIEW: APPS.CS_SYSTEM_AUDIT_DFV
12.2.2
owner:APPS, object_type:VIEW, object_name:CS_SYSTEM_AUDIT_DFV, status:VALID,
-
Table: HZ_PARTIES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_PARTIES, object_name:HZ_PARTIES, status:VALID, product: AR - Receivables , description: Information about parties such as organizations, people, and groups , implementation_dba_data: AR.HZ_PARTIES ,
-
Table: HZ_PARTIES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_PARTIES, object_name:HZ_PARTIES, status:VALID, product: AR - Receivables , description: Information about parties such as organizations, people, and groups , implementation_dba_data: AR.HZ_PARTIES ,
-
Table: HZ_CUST_ACCOUNTS
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCOUNTS, object_name:HZ_CUST_ACCOUNTS, status:VALID, product: AR - Receivables , description: Stores information about customer accounts. , implementation_dba_data: AR.HZ_CUST_ACCOUNTS ,
-
Table: HZ_CUST_ACCOUNTS
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCOUNTS, object_name:HZ_CUST_ACCOUNTS, status:VALID, product: AR - Receivables , description: Stores information about customer accounts. , implementation_dba_data: AR.HZ_CUST_ACCOUNTS ,
-
TABLE: CS.CS_SYSTEM_AUDIT
12.2.2
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_SYSTEM_AUDIT, object_name:CS_SYSTEM_AUDIT, status:VALID,
-
TABLE: CS.CS_SYSTEM_AUDIT
12.1.1
owner:CS, object_type:TABLE, fnd_design_data:CS.CS_SYSTEM_AUDIT, object_name:CS_SYSTEM_AUDIT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - CS Tables and Views
12.1.1
description: Table to store web conference details for an SR. ,
-
eTRM - CS Tables and Views
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - CS Tables and Views
12.2.2
-
eTRM - CS Tables and Views
12.1.1
description: Table to store web conference details for an SR. ,