[settlment report] - Tickets with portions of the quantity at different prices is not calculating correctly on the report.

Issue No: GRN-1211
Created 10/4/2018 4:25:16 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-218999 - Settlements missing information|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-218999]           Scale ticket 11164 on settlement 90 is not calculating properly.     BL-3467   !pastedImage_d105954_0.png! Steps to replicate:   1. Create a scale ticket and distribute to Open storage   2. Settle the storage against two different contract with different cash price   3. Go to AP -> Voucher and verify all the details of voucher   4. Pay the voucher and print the check and settlement report   Issue: The Net Payable amount was not being calculated properly   Acceptance: Application should reflect correct Total, Discount and Net Payables in settlement report