Skip to main content
Question

Over time Rule to Separate hours based on Pay type

  • January 25, 2022
  • 0 replies
  • 128 views

Ok I have 1 more issue with creating an overtime rule in the timecard system, this morning I was able to get a 40-hour rule working to move hours from regular Earnings after 40 hours to Regular over time. But I need to make it more complicated as I have 4 Pay types employees can choose from when putting in their times for the day. Below is an example of time and pay types for days of the week for totals.



Monday – 10 Hours Regular Pay

Tuesday – 10 Hours Regular Pay

Wednesday – 10 Hours Regular Pay

Thursday – 10 Hours Training Pay

Friday – 15 Hours Training Pay

Saturday – 5 Hours Regular Pay


Total – 60 Hours


Totals For each Pay Bucket

Reg Earnings = 30 Hours

Training Pay = 10 Hours

Training Over Time = 15

Reg Over Time = 5


Right now, I have the rollover working if I just do Regular earnings using the following setup.

 

Field 1 - [Regular Earnings before 40 hour Cap]

If([Pay Type]="Regular Earnings", [Payroll Hours],0)

+

If([Pay Type]="Training Pay", [Payroll Hours],0)

+

If([Pay Type]="Non-Billable", [Payroll Hours],0)

 

Field 2 is the box for Regular Earnings before 40 hours.

[Regular Earnings]

Min(40, [Regular Earnings before 40 hour Cap])

 

Field 3 is the box for the Regular Over time / After 40 hours

[Over Time]

[Regular Earnings before 40 hour Cap] - [Regular Earnings]

 

Now I have 2 more over time Boxes – Training Pay Overtime / Non-Billable Over time. I am needing to take all the times for the week's timecard and after the 40 hours & sperate the overtime to the correct bucket and that's the issue im having. If I just use what I have not all the over time will go into the [Over Time] bucket but I need to sperate them. I was thinking a [ IF ] statement would work but I'm thinking I'm wrong as I cannot get it to do it.



------------------------------
Matthew Jones
------------------------------
This topic has been closed for replies.

Forum|alt.badge.img+20
  • Registered
  • January 25, 2022
How is overtime calculated? Is it possible in your example it could be 35 hours of Regular time, 5 hours of training pay, and 20 hours of training pay overtime?

I am assuming that as soon as 40 hours hits, then anything after that is overtime. Which means your formulas will be dependent on dates. What happen if you have 35 hours through Friday, then on Saturday both Training and Regular time hit for 5 hours each, which one takes the overtime hit?

I'm not sure the solution right now, but if it is date dependent I suspect it could get fairly involved.

------------------------------
Mike Tamoush
------------------------------

MarkShnierYou
Forum|alt.badge.img+24
Matthew, it seems to me that you would just use the exact same method as you used for regular time.

------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------