Billed on Voucher is incorrect after settlement of customer storage record from DP transfer to DP

Issue No: GRN-1734
Created 9/25/2019 8:39:32 PM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description Steps:   1. Create new item.   2. Create Basis Contract.   3. Create Basis Entry.   4. Create Delivery Sheet where distribution is DP.   5. Create Load In ticket with this delivery sheet and distribute. Sample:   !pastedImage_d124721_0.png|height=738,width=999!   6. Open the delivery sheet, enter grade and post.   !pastedImage_d124721_1.png|height=712,width=1023!   7. From Storage search, select the storage created for delivery sheet and click Transfer button.   8. Transfer to 2 entities where storage type is DP and post.   !pastedImage_d124721_2.png|height=682,width=908!   9. Refresh the storage search and select the created after transfer for the first entity and click Settle button. Enter Units, Future Price and Basis   !pastedImage_d124721_3.png|height=736,width=998!   10. Click Post button. Settlement was posted successfully.   11. Check the voucher created:   Issue:   Incorrect Billed qty   !pastedImage_d124721_4.png|height=766,width=1632!     GL entries are incorrect too for the cost adjustment and AP entries:   !pastedImage_d124721_5.png|height=777,width=1653!   Acceptance:   Billed Qty should be the settled units (699.93)   Cost Adjustment should be correct for the portion of 699.93 only