Incorrect amount calculation for Charge

Issue No: IC-8980
Created 10/15/2020 1:15:22 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 19.1, 19.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-251509 - AP Clearing is out of balance|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-251509]   *Steps:*   # Go to Inventory > Inventory Receipts # Create new and add items using the same UOM # Fill the item details #* Item 1: Receipt Qty: 820 KG \| Cost: 1.486232 \| Charges Link: CL-1 #* Item 2: Receipt Qty: 400 KG \| Cost: 3.15 \| Charges Link: CL-1 #* Item 3: Receipt Qty: 3280 KG \| Cost: 1.097 \| Charges Link: CL-1 #* Item 4: Receipt Qty: 1640 KG \| Cost: 1.45 \| Charges Link: CL-1 #* Item 5: Receipt Qty: 1640 KG \| Cost: 1.48 \| Charges Link: CL-1 #* Item 6: Receipt Qty: 1080 KG \| Cost: 2.503046 \| Charges Link: CL-1 #* Item 7: Receipt Qty: 480 KG \| Cost: 4.358042 \| Charges Link: CL-1 #* Item 8: Receipt Qty: 490 KG \| Cost: 4.498471 \| Charges Link: CL-1 #* Item 9: Receipt Qty: 490 KG \| Cost: 4.1563 \| Charges Link: CL-1 # Go to Charges & Invoice tab # Add a charge #* Cost Method: Per Unit #* Rate: 0.05305 #* Charges Link: CL-1 # Click Calculate   *Issue:* Charge have an incorrect amount calculation.   10320 X .05305 = 547.476 or 547.48   !pastedImage_d145849_0.png|height=329,width=746!   *Accepted:* Charge calculation should be correct: 547.48