Invoice total is incorrect

Issue No: AR-5220
Created 8/23/2017 2:44:00 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 17.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-202099 - Invoices|http://helpdesk.irely.com/iRelyi21live/i21/#/HD/Ticket/?ticket=HDTN-202099]           Version: 17.1.0822.195     + *Issue:* +   Customer recently upgraded to latest maintenance release 17.1.0822.195. See recording from environment field.   Notice the amount of total as well as subtotal are wrong. Also see attached screenshots.     Steps to reproduce:   1. Go to Sales > Invoices 2. Click New toolbar button 3. Fill in required header field values 4. Add an item Shipped = 1 Price = 50 Total = 50   5. In the next row, add another item 6. Enter 30 in Shipped 7. Click corresponding Total 8. Click corresponding Price 9. Enter 1 in Price Expected result: Invoice Total should be correct. Second row's total should be calculated based on the current row's Shipped and Price values (Shipped x Price) = 30 Actual result: Invoice Total is not correct. Second line's total is calculated based on the second row's Shipped and first row's Price values = 1,500