Automatic award rule processing applies your award (pay) rules to timesheets in the background, every 5 minutes, so you don't need to run them yourself before exporting to payroll.
Without it, award rules are applied when you click Process on the Export timesheets screen, and you wait while every timesheet in the batch is calculated. With it turned on, each timesheet is calculated soon after it changes. By the time you export, the overtime, penalties and allowances are already worked out and you can check them first.
How it works
Timesite keeps a queue of timesheets that need their award rules applied. A timesheet is added to the queue whenever its hours change, and the automatic process works through the queue.
What adds a timesheet to the queue
- A time record is added, changed or deleted (on the web, in the app, at a kiosk or through an integration).
- A time record is moved from one timesheet to another. Both timesheets are queued.
- You first turn on automatic award processing. Every timesheet not yet processed is queued, so nothing is missed.
When a timesheet is queued, its earlier award results are cleared. Until it has been processed again, its overtime, penalty and allowance lines will not show.
What happens when a timesheet is processed
The process applies all of your active pay rules to the timesheet, in the same order as a manual run:
- Shift start times are worked out, for pay rules that use them.
- Daily allowances are calculated.
- Each active pay rule is applied, giving the overtime, penalty and allowance lines.
- Payroll and general ledger codes are assigned to the results.
What it leaves alone
- Exported timesheets. A timesheet that has already been exported to payroll is never reprocessed.
- Manual overrides. Award lines you have changed by hand (with Enable manual override of interpreted timesheet record turned on) are kept. Only the automatic lines are recalculated.
If a timesheet can't be processed because of an error, it goes back into the queue and is tried again on the next run.
How often it runs
The process runs every 5 minutes, all day, every day. Each run processes every timesheet in the queue at that moment.
So a change to a timesheet is normally reflected within about 5 minutes. A large queue (for example, straight after you turn the feature on, or after a big import) can take longer to clear.
- Only one run at a time. If a run is still busy, or someone is running the award rules by hand, the next run is skipped and tried again 5 minutes later.
- When you export. If timesheets are still waiting to be processed when you export, Timesite starts the award engine process straight away rather than waiting for the next run and waits for the process to complete before exporting any data.
- If a run gets stuck. A run that has shown no progress for 10 minutes is cleared automatically, so the next one can start or the stuck one can be re exported.
Turning it on
You need access to the Settings menu and award rules already set up under Award Rules.
- Go to Settings, then System Settings > Features.
- Scroll to the Award Interpretation section.
- Tick Automatic award rule processing.
- Click Save at the bottom of the page.
When you save, every timesheet that has not been processed and not been exported is added to the queue. The first run picks them up within 5 minutes.
Related settings in the same section
| Setting | With automatic processing on |
|---|---|
| Re Process timesheets before exporting | Turned off and greyed out. It isn't needed, because timesheets are processed as they change. |
| Enable manual override of interpreted timesheet record | Still works. Lines you override by hand are kept when the timesheet is reprocessed. |
| Enable award interpretation auditing | Still works. Automatic runs are recorded as made by "Auto Engine". |
To turn automatic processing off, untick the setting and save. Award rules then go back to being applied when you process the export.
Note: You may want to turn the Re Process timesheets before exporting if that setting was on before enabling the auto process setting.
Using it day to day
Once it's on, there is nothing to run. Enter, edit and approve timesheets as usual, and check the results before you export.
Exporting timesheets
On the Export screen, the Process award rules button is hidden, because the work is already done. Use Process and Export or Process - No Export as normal.
If some timesheets are still in the queue when you click one of these, Timesite processes them first. If any are still waiting after that, you'll see a message that timesheets need to be processed before exporting. Wait a minute or two and try again.
Checking what the process did
Each run is written to the integration log under Auto award proc. Go to Admin, then Logs > Integration in the left menu. You'll see:
- any messages from the award rules for a timesheet, for example a rule that could not be applied;
- any error, with the timesheet it happened on (that timesheet is retried on the next run).
For a line for every timesheet started and finished, turn on Enable advanced logging for integration events.
After you change your award rules
The automatic process only picks up timesheets that change. When you add or change a pay rule, keep automatic processing turned on and re-apply the rules to existing timesheets:
- Go to Admin, then Award Rules > Settings.
- Click Re-apply award rules to all records not exported.
This recalculates every timesheet that has not been exported, using the new rules. Exported timesheets are not changed.
Common questions
| Question | Answer |
|---|---|
| I changed a timesheet and the overtime has disappeared. | The timesheet is waiting in the queue. Its results come back within about 5 minutes. |
| The export says the award engine is running. | Someone is running the award rules by hand, or a large automatic run is under way. Wait for it to finish, then try again. |
| I changed a pay rule. Are existing timesheets updated? | Not automatically. Leave the setting on and click Re-apply award rules to all records not exported (see above). |
| Will an exported timesheet be recalculated? | No. Exported timesheets are never reprocessed. |
| I edited an award line by hand. Will it be overwritten? | No. Manual overrides are kept when the timesheet is reprocessed. |
Comments
0 comments
Article is closed for comments.