cancel
Showing results for 
Search instead for 
Did you mean: 

PCR using WGTYP decision

0 Kudos
986

Hi All,

I have to create a rule using wage types of ORT.Both wage types are available in ORT.The usage of wage type to calculate premium. is based upon to effective dates

From pay-period 012011 WGTYPE /8345

From pay-period 012012 WGTYPE /8346

Both will both wage types can be used to calculate the premium.

The scenario is if the premium has to be calculated in such a way that 1st 4 pay-period of 2012 using WGTYPE /8346 and 8 pay-periods of 2011 using WGTYPE /8345. How to achieve?

-


D CMPER 1126

>------- D WGTYPE?0

> /8346... calculate

<------- D WGTYPE?0

</8345... calculate

=------- D WGTYPE?0

=/8345... calculate

  • ******

Please suggest me how to proceed.

Thanks in adv!!!!

arbindo

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member193210
Active Contributor
0 Kudos

I'll have to confirm it tomorrow, but if I remember correctly, your PCR would first require to be called by function PORT (Process Old Results Table).

Second, /8345 and /8346 don't seem to be valid WTs since they contain 5 digits.

Third, you should use operation WGTYP? , to which there are two possible return values; the WT number and ****

P.S. : You only require 2 return values to operation CMPER 1126; > and * (the * replacing values < and 😃