When setting up a new system, people tend to spend lots of time setting up the various modules and creating user account. But what is often forgotten is to create employee records and link them to the users.
Below is a quick job that will create employee records for each user account, and link them. This script works on the basis that the user accounts have been allocated to the correct company as their default, and the name is the first and last name of the person. It also can filter out pre-defined users, and users allocated to company DAT, to hopefully get a clean employee set.