cancel
Showing results for 
Search instead for 
Did you mean: 

Time Schema - Adjusting DZL values

Former Member
0 Kudos

Hi guys,

I'm in the time schema, I'm near the end of the schema where I already have some Wagetypes in DZL:

i.e.

WT 2050 with 3.00 hours

WT 2500 with 8.00 hours

I need to minus the hours of 2050 from 2500 and store the result in 2500 back in DZL.

Basically my ZL end result should be

WT 2050 with 3.00 hours

WT 2500 with 5.00 hours

Any help would be appreciated.

Regards,

Kevin

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Problem Solved.

In a previous rule I put the value of 2050 in VS.

VS has only 2 decimal points so I multiplied the value first by 100.

In the next PZL rule, when 2500 is current WT,

I did a

HRS=ENUM

HRS*100

HRS-K2050

HRS/100

ADDZL *

If anyone has a better solution, feel free to suggest

Former Member
0 Kudos

Hi Wong,

Of course your solution works. Since you have asked for other ideas. here is my idea

Write a rule, to store hours values of 2050 into TT4000 and 2500 into TT4001

in the second rule

for Wage type 2500

HRS=D4001

HRS-D4000

ADDZL *

Hope this works

Regards