on 2015 Nov 27 9:58 AM
I am unable to access WageType value after applying ADDWT *.
The IT Table is like following:
I need a calculation like 400/26/8 * 208.
Since 208 has been split, I have add the wagetype first then I have written PCR for aforesaid calculation.
For add I have written the following code.
Now the IT Table is like following
Now I have written the following code for aforesaid calculation:
The problem is that NUM=RWMT is not getting value 208. As a result AMT not generating.
How I'll be able to access RWMT value.
Please help.
Thx in advance.
Hi,
Because ESG for PCR is different for both the wage type RW25 and RWMT.
You can use the SETIN operation like SETIN R=2 after the ELIMI * in the 1st PCR and also in the second PCR after NUM= give two space and then give wage type RWMT.
Question on Operation - "SETIN" | SCN
ELIMI SETIN OPIND - PY Operation | SCN
Check and let me know.
Regards,
Sankarsan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Your 1st PCR issue is solved now.
Now tell me in the second PCR what is you trying to do?
After MULTI RNA , you would like to compare this amount with constant. If it's so then you have to store this amount temporarily in the payroll run like below.
Add below few lines after MULTI RNA line in your 2nd PCR.
ADDWT&110A
AMT=& 110A (after = give & and after that one space).
Now again in the > condition what would you like to update????... Would you want to pass the constant amount to RW25 wage type.
Please share the 2nd PCR input table and what would like to do it in the 2nd PCR.
Regards,Sankarsan
Requirement:
Max Amout Rs. 400 for a month on 26 days present.
Input IT Table:
When I am calculating with RWMD, it is working perfect like this:
PCR:
Output IT Table:
But in this case problem has calculation is being made on 104 only.
Then I decided for a total value of RWMD and created RWMT.
At present it seems that RWMT is not accessing. Please find the processing log.
Thx.
Ok. In the simple way that pcr will proceed if RW25 is having the value. Correct?
Then you would like to multiply RWMT number with 1.9230(400/208) and if this amount is more than 400 then in the wage type RW25 should be carrying 400 and if that's less than 400 then it should be modify with new amount. Am I right?
So in the wage type RW25 , are you passing amount 400??? (From 1st condition IT table is showing for 1st PCR calculation).
If my understanding is correct then let me know I will share the PCR details. (If better please briefly describe what you want exactly? Based upon the as per previous 1st PCR RWT2 output table details.
Hi ,
Write your PCR like below.
ZWHT
2
RW25
AMT?0
*
>
RTE=KHEATF
RTE/208
ADDWT&111A
NUM= RWMT
RTE=& 111A
MULTI NRA
ADDWT&112A
AMT=& 112A
AMT- RW25
*
AMT= NRA
>
ADDWT * (I think you are carrying 400 in the wage type RW25)
****
ADDWT *
ZUPD
2
RWMT
ADDWT *
AMT=& 112A
ADDWT RW25
****
ADDWT *
Add these two PCR one by one in the payroll schema. Check and share input and output details of each PCR if did not get the actual result.
Regards,
Sankarsan
Waht exactly the requirement is, 400/26/8*208 could not able to understand what is 26/8*208 then accordingly we can place the logic.
Regards
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Give 2 spaces after NUM= RWMT and check.
Regards
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
116 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.