Unposting settlement is not returning back the dp contract's balance

Issue No: SC-3308
Created 10/8/2019 11:59:40 PM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description Steps:   1. Create new item.   2. Create Settlement Price.   Create Purchase Basis Contract.     3. Create Basis Entry.     4. Distribute Load in ticket to DP (auto create DP contract).   !pastedImage_d125201_0.png|height=737,width=1163!     5. DP contract created with updated qty:   !pastedImage_d125201_1.png|height=828,width=1469!     6. Settle DP storage to spot and post.   !pastedImage_d125201_2.png|height=735,width=999!     7. Check the DP contract balance:   !pastedImage_d125201_3.png|height=826,width=1470!   8. Unpost the settlement.   !pastedImage_d125201_4.png|height=342,width=502!       9. Check the DP contract balance:   Issue 1:     It did not revert back the qty on dp contract   !pastedImage_d125201_5.png|height=826,width=1470!   !pastedImage_d125201_6.png|height=250,width=1467!         Acceptance:   Should bring back the original qty (999.9)