on 09-20-2017 10:00 AM
Hi,
While doing the PCR calculation decimal point is getting moved to right side for some of the employees. For example, the WT amount is 67.8977 and in PCR calculation it is taking as 6789.77, which makes calculation to go wrong.
I am working in US payroll and Wt amount is obtained via multiplying the WT in IT0008 with T508A table monthly hours. In IT0008 currency is USD4. and rest everywhere it is USD.
Please help me to solve the issue.
Thanks,
John Cheriyan
Hi John,
Please see if you can place your PCR after XDECI function in schema.
Thanks,
Ameet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1 - You did not mention what Function calls pcr ZEP1 and that is a key element in using Operation OPIND.
2 - You mention that (in T511P) the value of Constant EIPA =$50000, and your notes mention that the comparison is with $5000. What is the value of Constant ZEIPA?
3 - Since you are processing WT 3039, Operations FILLF A and AMT= 3039 will do the same thing. Only one of them is required.
4 - Operation OPIND would only be useful if you were processing a WT from IT0014 through Function P0014. Are you?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Remi,
I Inserted the PCR in US Payroll schema under payments & Deduction sub-schema.
I am using the PCR after the function P0014. Using Par1= PIT.
I am trying to restrict the YTD amount of WT3039 should not exceed $5000. So I kept the $5000 as constant ZEIPA in T511P.
Thanks,
John Cheriyan
Could you post a screen capture of the log for that pcr (showing the Input, Processing and Output)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Remi,
Processing
Constant EIPA =$50000
Correct Calculation: checking 67.8977 is greater than $5000. No, then ADDWT 3039
Calculation in PCR: checking 6789.77 is greater than $5000. Yes, then
6789.77-5000 = 1789.77 and multiplied by -1 using OPIND, passing to Variable table. Then, 6789.77-(-1789.77) = 8579.54
Please find the details attached. input-table.jpg
John Cheriyan
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.