The Audit function tracks the insertions, deletions and modifications carried out on any table, with optional storing of the before and after values in any field you specify.
The example below will trigger audit records for any user who changes Accounting Code for a Product record.
You first need to activate the AUDIT activity code if not already activated.
Go to Development, Data and parameters, Development setup, Activity Codes.
Next, you will turn on the Audit Tracking for the desired table.
Go to Development, Data and Parameters, Tables.
**The AUDITH (Header info – table change) and AUDITL (field values before and after) tables will record the activity based on the options selected. **
Click on ‘Validation’ when you have finished defining the auditing characteristics for the table.
Setup the Workflow (optional)
Expand Development, Data and Parameters, Development setup, Data models.
Go to Setup, Workflow, Workflow Rules.
Define the Recipients on the ‘Recipients’ tab.
View the Audit History for the table
Go to Usage, Audit, Tables
Go to Usage, Audit, Fields
Now you have the tools to implement the audit tracking function in Sage X3. You can read more of Leann's blogs on our blog page.