0

Decimal point is getting moved two place to the right side in PCR calculation

Sep 20, 2017 at 09:00 AM

72

Former Member

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.

Thanks,

John Cheriyan

Rémi Corriveau Sep 20, 2017 at 04:21 PM
0

Could you post a screen capture of the log for that pcr (showing the Input, Processing and Output)?

Show 1 Share
Former Member

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

input-table.jpg (71.8 kB)
processing-1.jpg (80.4 kB)
processing-2.jpg (41.3 kB)
output-table.jpg (71.2 kB)
Rémi Corriveau Sep 22, 2017 at 05:11 PM
0

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?

Show 1 Share
Former Member

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

Ameet Jassani Sep 26, 2017 at 11:41 AM
0

Hi John,

Please see if you can place your PCR after XDECI function in schema.

Thanks,

Ameet

Share