Skip to Content
0
Dec 03, 2014 at 10:56 AM

Late coming / Early going Scenario

209 Views

Hi,

I want to get the late coming and early going hours on the basis of the difference from planned working time. There is no condition based on hours; its just to capture the late coming / early going hours / minutes of employee and pooling them in a time type.

I am able to capture the hours through the following PCR:

It is capturing the hours correctly as per the core time given in DWS;

Instead I want to calculate the number of hours an employee is late or left early from the planned working time

e.g

Planned working time = 08:00 - 17:15

Employee Times in = 10:00

Employee Time out = 15:00

So it should pool 2 hours in late coming time type Z004 and 2.25 hours in early going time type Z005

I tied using the following logic as well but it didn't work

HRS=PBEG

HRS-SNTB

and

HRS=SNTE

HRS-PEND

I am in a bit of a fix here, so I would appreciate if someone can look into this and help me with it

Regards

Attachments

pastedImage_0.png (25.7 kB)