Item and Discounts were trippled on Voucher after distributing Direct In ticket

Issue No: SC-2714
Created 5/7/2019 1:02:58 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description Steps:   1. Create Purchase Contract.   2. Create Sale Contract.   3. Generate Drop Ship Load schedule for the said contracts.   4. Create Direct In ticket where distribution is Load and select the generated load schedule.   5. Supply weight and discounts.   6. Click Distribute button. Ticket was distributed successfully.   7. View voucher   Issue:   !pastedImage_d117916_0.png!   Acceptance:   Item and discounts should not be trippled