Skip to main content

Audit: Identify changes made to a Person Details record using the Audit Export function of the Admin Tool

Audit changes made to a person details record.

Written by Harry Ledger

Use the Admin Tool audit export to identify changes made to a person details record, including who made the change and when it occurred.

This can be used to review updates such as first name, surname, email address, date of birth, and bank details.

To run a data audit against a person record, follow these steps.

  1. In the Admin Tool, click Import/Export Data.

  2. Click Create an export definition.

  3. Click Select the data to export.

  4. Change the database to SELECTHR.

  5. Log in.

  6. Copy the below SQL:

    Select Person.Snapshot.[First Name],Person.Snapshot.Surname,       Person.Snapshot.[Person Number]From Person.Snapshot
  7. In the top left of the data export window, click Options, then click Paste SQL from clipboard.

  8. Change the First Name and Surname criteria to match the First Name and Surname of the impacted employee.

  9. Click Data.

  10. Make a note of the Person Number.

  11. Click Cancel.

  12. Click Select the data to export.

  13. Change the database to SELECTPERSIST.

  14. Log in.

  15. Copy the below SQL:

    Select AUDIT.[Object Schema],       AUDIT.[Object Name],       AUDIT.[Key Number],       AUDIT.[Audit Date],       AUDIT.Action,       [Audit Fields].[Field Name],       [Audit Fields].[Is Text],       [Audit Fields].[Was Text],       Security.Users.[User Name]From AUDIT    Inner Join [Audit Fields]        On AUDIT.[Audit Number] = [Audit Fields].[Audit Number]    Inner Join Security.Users        On AUDIT.[User Number] = Security.Users.[User Number]Where AUDIT.[Object Schema] = 'Person'      And AUDIT.[Object Name] = 'Details'      And AUDIT.[Key Number] = 'CHANGEME'
  16. In the top left of the data export window, click Options, then click Paste SQL from clipboard.

  17. Replace the CHANGEME criteria with the Person Number.

  18. Click Data.

Did this answer your question?