Hi Remi,
Sorry for the confusion.
The amount which is populated in the IT is coming as negative.
A | /102 | 8,322.40 |
B | 83DA | - 1,248.36 |
C | 83R1 | - 832.24 |
Based on the above amount I need to insert the below logic in PCR;
Step 1. 83R1 divide by /102
-832.24 / 8322.40 = - 0.10 (Amt saved in temp variable A)
Step 2. Make 83R1 = 0
Step 3. Take /102+ 83DA = Store this into another WT (B)
8322.40 + (-1248.36) = 7074.04
Step 4. A * B = Store the result as 83R1
-0.10 X 7074.04 = -707.04
Step 5. Amt X -1
-707.40 X -1 = 707.40
The final amt of 83R1 will be 707.404 which is 10% of 7074.04.
Regards,
Prasad Lad