on 04-11-2013 1:38 PM
Dear Experts,
I have a scenario, wage type shouldn't pro-rate. We have maintained processing class 10 specification 0 in v_512w_d. Also we have maintained processing class 20 specification 4 for that wage type. We have 2 splits in IT0000 & IT0001. We have maintained this wage type in IT0008. But when we run the payroll system is bringing double entries in RT.
Eg.
Wage type 1412 - 300/- (amount)
Wage type 1412 - 300/- (amount)
in RT 1412 - 600/- (amount)
We want 1412 should come 300/- only in RT. How to achieve this. We have also written PCR for this.
ZELI
3
1412 Other Allowance
ELIMI * Elim.time period ID
RESET R Set time period ID
ADDWT * OT Output table
This above PCR we have inserted after the XVAL. Above PCR is being processing in payroll log. But it's not eliminating splits. It's displaying double amount in RT i.e. 600/- but should come only 300/-.
Your early response highly appreciated.
Regards,
Hafeez
Hi Hafeez,
If you set the PC 10 as 0 then you need to check that PC 47 whether it is blank or set to A. If it is set to P the wage type will be double with a WPBP split.
Try once by setting the PC 10 as 4 instead of 0 and check.
Regards
Gautam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hafeez
Other option would be to control the same in a PCR as follows
*
1412
NUM=& CHK1
NUM?1
=
*
ADDWT *
NUM=1
ADDWT&CHK1
So its like the PCR gets executed for every split of WT 1412. Say there are 2 Splits
So during the 1st split the value of the variable & CHK1 would be '0' so the WT is pushed directly to the Output table meaning 1st split of the WT is pushed for further processing. During the 2nd split the value of the variable & CHK1 = 1 that means already a split of the WT 1412 is already processed so u can drop the other splits. So when NUM=1 nothing gets processed.
Hope it helps
Cheers
JayK
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.