Invoice - Discount % and Amount is not working properly

Issue No: AR-9453
Created 11/28/2018 5:17:26 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description *Using 18.3.1120.467*   *Issue with Reproduction Steps:*   1. Create a Priced Purchase and Sales Contract.   2. Allocate both.   3. Create Inbound Shipment against the PC and Post it.   4. Create Inventory Receipts against this and post it.   5. Create Pick Lot against the created lot and the allocated Sales Contract.   6. Create Outbound Load against the Pick Lot and post it.   7. Create Invoice against the posted outbound load.   8. Initially there is no discound% and amount in the invoice.   !pastedImage_d108904_0.png!   9. Now, enter 1%.   10. Total amount in line level is showing wrong after applying discount %.   !pastedImage_d108904_1.png!   11. Instead of %, if we apply discount amount, then also total amount is showing wrong.   !pastedImage_d108904_2.png!   *Expected Result:*   1. Total was initially 55027.43, hence when we apply 1% discount, total amount should be 54.477,16   2. Total was initially 55027.43, hence when we apply 27.43 discount amount, total amount should be 55000.00