Time off in lieu of Overtime
In most cases time worked past the normal time is considered Aovertime@.
This is usually paid out as extra earnings. However in some companies
this extra time (or part of this extra time) is returned to the
as Atime off@. This document details configuring such a system using
Version 2.43 or later.
A) Create a time
category called say ALieu Time@. This category should be set
to have neutral effect on the Total (i.e. not + or - but set to
0). You can choose to
report this time on reports, or not, that's up to you.
B) Assuming Normal time is category 2, and Lieu time is Category
3, Create a Payroll
containing the following. (Adjust the wee:hours settings to match
the categories you used).
at before saving
wee:hours2 > wee:stdhours
wee:hours3 > (wee:stdhours - wee:hours2)
= wee:hours3 - (wee:Stdhours - wee:hours2)
= wee:hours2 + wee:hours3
1) Assuming a 7 day
payroll shift here. If not (i.e. if monthly shift) then set the first
line to say wee:hours3 = GetEmpPayrollHours(ProcessEmp,ProcessDate-1,ProcessDate-31,1,3)
the syntax for GetEmpPayrollHours is
FromDate, ToDate, Rate,
2) Note the 3 at the end of the first line. This is the Lieu category
3) This script will take place AFTER the normal payroll balancing
rules. Hence normal payroll balancing is not usually used.
4) the above script uses payroll AStd Hours@to decide on the required
amount. So make sure the Daily Std Hours is set for each shift,
or replace the Wee:StdHours above with a fixed number. (This number
is time in hundreths of a second - i.e. 360000 = 1 hour)
It is envisaged that this method will become obsolete in Version