RKL eSolutions Blog Trends and Insights

How to Use Table Audit Tracking in Sage X3

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.

X3 Audit Activity code

Next, you will turn on the Audit Tracking for the desired table.

Go to Development, Data and Parameters, Tables.

X3 Audit Tracking

  • The Type of Audit option allows you to track who created, modified and/or deleted a record in the specified tale.
  • The Fields audited grid allows you to select the specific fields that were modified. This is optional.
  • The Workflow option under Functions can be used to automatically send notifications using the UPDFLD Workflow rule.

**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.

  • Set the UPDFLD Template Code to ‘Active’.Workflow

Go to Setup, Workflow, Workflow Rules.

  • Make sure ‘Active’ is checked for the UPDFLD Workflow.
  • Make sure ‘Trigger Mail’ and ‘Trigger action’ are checked.

X3 Trigger Mail

Define the Recipients on the ‘Recipients’ tab.

X3 Define Recipients

View the Audit History for the table

 Go to Usage, Audit, Tables

  • Each time a change is made to the table it will display here if the table is setup to be audited.X3 Audit History
  • To view the details of the modified field click the Action box and select ‘Details of Fields’.
  • X3 Details of Fields

Go to Usage, Audit, Fields

  • You can also view the previous value and new value of the tracked field from a table.

X3 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.

 

 

Tags: Sage X3
LeeAnn Segan

Written by LeeAnn Segan

LeeAnn Segan is an ERP Support Specialist with RKL eSolutions LLP. She supports Sage 500 ERP and Sage X3. LeeAnn specializes in the financial and distribution modules. Her background includes managing distribution and warehousing for ecommerce based companies. When not working, LeeAnn enjoys working out, volunteering with groups that support special needs, and spending time at the beach with family and friends.