Follow the steps below to run an audit on changes made to an employee's bank details.
Log in to the SelectHR Administrator Tool.
Click Import/Export Data.
Click Create an export definition.
Click Select the data to export.
Change the database to SELECTHR.
Log in.
Copy the below SQL:
SELECT Person.Snapshot.[First Name], Person.Snapshot.[Known As], Person.Snapshot.Surname, Person.Snapshot.[Payroll Number], Person.Snapshot.[Person Number]FROM Person.SnapshotWHERE Person.Snapshot.[First Name] = 'CHANGEME' OR Person.Snapshot.Surname = 'CHANGEME' OR Person.Snapshot.[Payroll Number] = 'CHANGEME'
In the top left of the data export window, click Options, Paste SQL from clipboard.
In the bottom half of the Query window, change any of the CHANGEME values to reflect the First Name, Surname, or Payroll Number of the employee whose details were changed.
Click Data.
Make a note of the Person Number.
Click Cancel.
Click Select the data to export.
Change the database to SELECTPERSIST.
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' AND [Audit Fields].[Field Name] LIKE '%bank%'
In the top left of the data export window, click Options, Paste SQL from clipboard.
Click on the Query tab, replace the CHANGEME value with the Person Number noted in step 11 into the criteria section of the field named AUDIT.[Key Number].
Click the Data tab. The Data tab will now display a list of all changes made to any field with the word Bank in it on the employee's record. The data is usually sorted by Audit Date (the date in which the change was made), with the oldest change appearing at the top of the list.
It is possible to see all changes made, who made them and when using this data, which can be exported if necessary.