Skip to Content
avatar image
Former Member

Issue with PCR not generating correct processing type in Time Evaluation

Scenario

Employee works from 21:00 – 06:30 (i.e. 30.50) on Day 1. Day 2 is a day off (DWS = FREE).

At the end of the shift (so on Day 2) employee works an hour of overtime straight from the end of his Day 1 shift i.e. 06:30 – 07:30.

In this scenario, employee should get time and a half as there is no break between the end of the Day 1 shift and the start of the overtime worked.

However, if the employee books overtime from 07:00, so there is a break from the end of the Day 1 shift, he gets double time (which is the standard rate for completing overtime on a FREE day). This is correct.

The 06:30 – 07:30 overtime is not linked to the previous day’s shift (PDI indicator not ticked) so the standard rules are adopted and Time Evaluation is paying double time.

I need time and a half to be paid in the scenario where the overtime is straight from the end of the working time.

I have created a PCR that creates a Time Type identifying the end of shift for every day:

ZJET Determine End of working day

*

****

HRS=SNTE Set

HRS-24 Subtraction

ADDDBZJET Add to day balance

NOTE: HRS-24 is to change 30:50 back to 06:50 which will be the start of the overtime time pair on Day 2.

I then have my PCR that compares the ZJET Time Type to PBEG. Below is an extract of the relevant part of this PCR:

OUTTPVTYPE Process.ty.

*

9

C

Q

S

HRS=LZJET Set

HRS?PBEG Decision op.HRS

*

FILLPVU Processing Type

COLOP* TIP>TOP curr.TType

=

FILLPV- Processing Type

COLOP* TIP>TOP curr.TType

So if ZJET = 6.5000and PBEG = 06.5000 then the PCR should follow the “ = ” route and generate processing type “ - “. However, it is not, the PCR is following the “ * ” route and generating processing type “ U “.

Any ideas on why this approach is not working?Any suggestions on how to achieve this readily accepted :)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 18, 2016 at 09:27 AM

    Hi,

    I think your first PCR is not working correctly for that reason Time Type ZJET can not store any value. Please find value of ZJET in ZES table.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Rabi,

      Thanks for that. I hadn't set it as a Day Balance so was only on the TES table. I've added it onto ZES and it looks like this:

      17 ZJET End of Working Time 7.25

      The 2nd rule is now working.

      Top job!