abdallah1973
asked on
Rotated Shifts
I need to build function that can created rotated shifts for 4 staff, that can be rotated every two days
Rules:
scenario
3 shifts (7-3,3-11,11-7)
1.7-3
2.3-11
3.11-7
Day1 Day 2 Day 3 Day 4 Day 5 Day 7 Day 8 Day 9
Team 1 1 1 2 2 3 3 off Off
Team 2 2 2 3 3 off off 1 1
Team 3 3 3 off off 1 1 2 2
Team 4 off off 1 1 2 2 3 3
But we need to configure for each one what is his last shift (1 or 2 o r 3) before calculate because the current can be one of them
We should configure the start date when this should be apply
lets say the day 1 is 2/3/2014 then day 2 will be 3/3/2014
No vacations.
The second we need to save this in database and exported as excel sheet
Rules:
scenario
3 shifts (7-3,3-11,11-7)
1.7-3
2.3-11
3.11-7
Day1 Day 2 Day 3 Day 4 Day 5 Day 7 Day 8 Day 9
Team 1 1 1 2 2 3 3 off Off
Team 2 2 2 3 3 off off 1 1
Team 3 3 3 off off 1 1 2 2
Team 4 off off 1 1 2 2 3 3
But we need to configure for each one what is his last shift (1 or 2 o r 3) before calculate because the current can be one of them
We should configure the start date when this should be apply
lets say the day 1 is 2/3/2014 then day 2 will be 3/3/2014
No vacations.
The second we need to save this in database and exported as excel sheet
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.