[Settlement] - Discounts not calculating correctly

Issue No: GL-4349
Created 4/16/2018 12:14:29 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-211941 - Settlements incorrect|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-211941]     *Step to reproduce:*   # Create sales invoice (SI-1) # Create new Ticket : Type: load in # Distribute and process the ticket # Create and process ticket in Ticket Management> Storage # click settlement button # Enter entity, the vendor used in step 2 # select the ticket in step 4 # click process button # Verify the Created voucher in Purchasing > Vouchers # Open the created voucher with STR-###/BL-### # Add invoice created in step 1 # Print settlement # Verify that report is correct       *Issue:*     v17.1.0328   The discounts on the settlement summary page is not calculating correctly. See screen shot below.     !pastedImage_d95464_0.png!     *Accepted:*   For the example discount should be -530.42. total discounts from page 1.