Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8545

Re: Late coming / Early going Scenario

$
0
0

Hi,

 

I went ahead with my original logic as given in the beginning of the thread, compared the hours for each daily work schedule with different core times.

I still want the system to calculate the hours on the basis of start time and end time instead of core times but I was not getting the desired results even with all SNTB, SWTB and vice versa; so instead of wasting more time on it I went ahead with my original logic.

 

To give an idea why i didnt want to go with my original logic is as under

 

Planned : 08:00 - 17:15

Requirement: If employee comes in 2 hours late it should go to the late coming balance and if he is more than 2 hours late and less than 4.5 hours late then system should deduct the half day pay; If the employee comes in after 12:30 then the full day absence should be marked, same is the case with early going.

Time in : 08:00

Time out: 12:30

 

System is working correctly and marks the other half as absent

 

Time in: 08:00

Time out: 12:29

 

In this case system takes the second half out but also updated the late coming balance by 1 minute which I do not want.

 

This was the only reason I wanted to go for the planned working time logic but anyway client agreed to the current logic and its fine now.

 

Regards


Viewing all articles
Browse latest Browse all 8545

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>