rounding for 2 separate breaks

Topics brought up by the TimeTrex open source community.
Post Reply
frsanc
Posts: 6
Joined: Thu May 07, 2015 8:47 am

rounding for 2 separate breaks

Post by frsanc »

Hello everyone.

I'm using timetrex 8.0.7 on ubuntu linux and I have a scenario like this:

Employees come in at 7:00 a.m
Then go to a 15 minutes break at aproximately 9 a.m
30 minute lunch at aprox 12 p.m
15 minute lunch at aprox 2 p.m
End of shift at 4 p.m

Break and lunch time is not paid but we require to round up the break and lunch time so for example if someone takes 10 minutes break for the first break the remaining 5 minutes is not added to regular time and same with lunch time and second break. We also need to record if people is taking more time for lunch/break than they are supposed to.

I have successfully configured strict schedule for normal in and out punches, so employees are under a policy group and schedule.

I have set up 2 break policies and a lunch policy (which are added to the policy group):

[Break Policy 1]
Name: 15 Minutes Break 1
Type: Normal
Active after: 01:00:00
Break time: 00:15:00
Auto-Detect Breaks By: Punch Time
Minimum Punch Time: 00:05:00
Maximum Punch Time: 00:15:00
Pay Code: Break Time
Pay Formula Policy: None $0


[Break Policy 2]
Name: 15 Minutes Break 2
Type: Normal
Active After: 05:00:00
Break Time: 00:15:00
Auto-Detect Breaks By: Punch Time
Minimum Punch Time: 00:05:00
Maximum Punch Time: 00:15:00
Pay Code: Break Time
Pay Formula Policy: None $0

[Meal Policy]
Name: 30min Lunch
Type: Normal
Active After: 04:00:00
Meal Time: 00:30:00
Auto-Detect Meals By: Punch Time
Minimum Punch Time: 00:10:00
Maximum Punch Time: 00:30:00
Pay Code: Lunch Time
Pay Formula Policy: None $0

I also added the following 2 rounding policies to the policy group but breaks and lunches are not being rounded in any direction:

Name: Lunch Strict
Punch Type: Lunch Total
Round Type: Up
Interval: 00:00:00
Grace Period: 00:00:00
Strict Schedule: checked

Name: Break Strict
Punch Type: Break Total
Round Type: Up
Interval: 00:00:00
Grace Period: 00:00:00
Strict Schedule: checked

Everything works as we expected except for the rounding on breaks. We wanted 2 individual breaks to round up to 15 minutes but instead the first break is getting round up to 30 minutes.

Thank you!
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: rounding for 2 separate breaks

Post by shaunw »

I believe you will need to use Conditional Rounding to do what you want, however that feature is only available in the Professional Edition of TimeTrex.
frsanc
Posts: 6
Joined: Thu May 07, 2015 8:47 am

Re: rounding for 2 separate breaks

Post by frsanc »

I found that i can do something similar by using 2 auto deduct break policies that include punches and removing the break rounding policies. It's not exactly the same but works for us right now
Post Reply