Skip to main content

Data Export: Employee addresses

Data export of all employee addresses.

H
Written by Harry Ledger
Updated over 3 weeks ago

To create a data export for current employee addresses, follow the steps below.

  1. In the Admin Tool, click Import/export data.

  2. Click Create an export definition.

  3. Click Select the data to export.

  4. From the Database drop-down menu, select Select HR.

  5. Click the SQL tab, then delete Select*.

  6. Copy the following SQL data into the blank space:
    ​

    Select Person.Snapshot.[Person Number], Person.Snapshot.[First Name], Person.Snapshot.Surname, Person.Snapshot.[Effective Status], Person.Snapshot.[Key Unit Name 1], Person.Snapshot.[Key Unit Name 2], Person.Snapshot.[Key Unit Name 3], Person.[Current Address].Type, Person.[Current Address].[Address Line 1], Person.[Current Address].[Address Line 2], Person.[Current Address].[Address Line 3], Person.[Current Address].[Address Line 4], Person.[Current Address].[Address Line 5], Person.[Current Address].[Post Code] From Person.Snapshot Left Join Person.[Current Address] On Person.Snapshot.[Person Number] = Person.[Current Address].[Person Number] Where Person.Snapshot.[Effective Status] = 'Current'

  7. Select the relevant filter criteria then click the Data tab.

  8. Click Key Field at the top-left then select the relevant option.

  9. Click OK then review the data.

  10. Once you're happy with the data, in the Definition field, enter a name for the export.

  11. Next to Export to file location, click Browse then choose where to save the export.

  12. From the File Format drop-down menu, select the relevant option.

  13. If required, select the Export column headers check box.

  14. Click Next then select the relevant options.

  15. Click Next then click Finish.

Did this answer your question?