In this article in The Rules Series, we show how to configure the rules engine to use the Timehseet has locations condition.
How the Timesheet has locations condition works
The Timesheet has locations condition creates matches shifts or timesheets associated with one or more of the configured locations in the condition settings.
When a match is found, the whole timesheet is matched.
A list of locations to match for this condition. Any timesheet or shift containing any of the locations specified will match the whole timesheet once.
Locations are configured by system administrators in the settings menu.
In this example, an employee is paid a weekly allowance if they are required to travel to head office to work there in any shift during the week.
Navigate to edit the pay rule version, and expand the Rules
In the conditions section, select Timesheet has locations
Configure the Locations for this condition.
Configure the action you want to take for this condition.
Save your pay rule version.