Go2Clock: Importing Leave from PeopleHR
Book holidays and sickness in PeopleHR, then import them into Go2Clock so your timesheets and reports already account for time off. This guide covers linking employees, running the import, checking the leave patterns it creates and fixing common errors.
In this article
Before you start
Make sure the PeopleHR connection is set up, and that every employee is linked to their PeopleHR ID. Anyone brought across with the PeopleHR employee import is linked already.
Check employees are linked to PeopleHR
Leave is only imported for employees who have a PeopleHR ID in Go2Clock. If you added someone by hand, check their link:
- Go to the Employee Dashboard, click View, find the employee and click Edit.
- Open the PeopleHR tab and check the PeopleHR Employee ID field holds their ID from PeopleHR. If it is empty, enter the ID and update the employee.
Import leave from PeopleHR
- Go to Payroll and choose PeopleHR Import & Export.
- At the top of the page, select PeopleHR Import Leave.
- Choose the dates you want to bring leave across for. You can import up to one month at a time.
- Click Import PeopleHR Leave. A progress bar shows how the import is getting on.
When it finishes, Go2Clock shows you how many leave records were imported, along with a list of any leave that was skipped because it hasn't been approved in PeopleHR yet.
The first time a type of leave comes across, Go2Clock creates a new leave pattern for it. Check each new pattern using the next two sections.
Set up full-day leave
- Go to the Holiday & Sick tab and choose Setup | Leave, Holiday & Sick Patterns.
- Find the pattern the import created and click Update.
- On the Shift Times tab, check the times are right.
- On the Leave Type tab, choose whether the leave is Paid or Unpaid, and make sure it is set as Holiday or Sick.
- If you use Sage Payroll, open the Payroll Rate tab and pick the right Pay Rate Code under the normal rate.
Other Events you record in PeopleHR are brought across as leave patterns too, so check those in the same way.
Important: Don't rename a pattern the import created. Go2Clock uses the name to match future imports, so changing it can cause problems.
Set up half-day leave
Half days come across as shift patterns rather than leave patterns.
- Go to Shift Patterns and choose Setup Shift Patterns.
- Find the Holiday or Sick pattern the import created and click Update. As with full days, leave the name as it is.
- Open the Holiday & Sick rules tab. Enter the number of leave hours, choose Holiday or Sick, and set whether it is Paid or Unpaid.
- If you use Sage Payroll, open the Payroll Rates rules tab, select the half-day holiday or sick rate and choose the right Pay Rate Code.
Troubleshooting
“The EmployeeId does not exist”
Someone in PeopleHR isn't linked to anyone in Go2Clock. Either add their PeopleHR ID to the existing employee in Go2Clock (see above), or bring them across with the PeopleHR employee import.
“Invalid API Key”
Go2Clock can't use the API key. Either the key is missing some of the permissions it needs in PeopleHR, or the key or server address in Go2Clock is wrong. Our guide to setting up the PeopleHR connection lists the permissions and settings to check.