After Settlement, inventory item is doubled on Voucher

Issue No: GRN-1798
Created 10/28/2019 10:59:12 PM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description Steps:   1. Create Purchase Basis Contract with multiple sequence. Sample below:   !pastedImage_d126079_0.png|height=825,width=1794!   2. Open Ticket Pool set on scale station setting to use and set Load In > Ticket Completion Options to Manual.   !pastedImage_d126079_1.png|height=520,width=997!   3. Distribute Load In ticket to contract with Units more than the contract. Assigned units to contract and excess units on Open Storage.   !pastedImage_d126079_2.png|height=739,width=999!   !pastedImage_d126079_3.png|height=797,width=998!   4. Check IR created, shows 2 line item for the 2 contract sequence.   !pastedImage_d126079_4.png|height=832,width=1871!   5. Open the Basis Contract, select the seq 1 and click Pricing button. Enter Future Price and save.   !pastedImage_d126079_5.png|height=786,width=1172!   6. From Purchasing > Voucher, open the voucher created after pricing the basis contract. Voucher is correct carrying the 1000 unit for seq 1.   !pastedImage_d126079_6.png|height=714,width=1703!   7. Go to Storage search and settle the units assigned to open storage. Enter Spot's Future Price and Basis then post.   !pastedImage_d126079_7.png|height=736,width=998!   8. Go to Settled Storage tab and open the voucher created after settlement.   Issue:   Item is doubled as well as Tax:   !pastedImage_d126079_8.png|height=716,width=1876!   Acceptance:   Item and tax should not be doubled