Discount in Settlement Report is doubled

Issue No: GRN-870
Created 2/7/2018 11:46:16 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 17.3
Description Steps to replicatethe issue:   1. Go to Ticket Management -> Tickets   2. Create a scale ticket with such discount schedule that it should have some discount   3. Distribute the ticket   4. Go to Storage -> Settle Storage and settle the ticket partially agaianst contact and partially against Sopt Sales   5. Go to Purchasing(A/P) menu -> Pay Voucher and Process the Payment for both voucher at once   6. Open the Check and Print settlement report   Issue: Application is showing total discount amount to both the Voucher instead of splitting according to settled Quantity   Acceptance: Application should distrbute the total discount from scale to both voucher based on settled quantity   !pastedImage_d91366_0.png!