[Contract History] - Unposting the Transfer storage doubled the Contract Balance

Issue No: GRN-1930
Created 12/17/2019 8:20:13 PM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1, 19.2
Description STEPS:   1. Create DP Contract   !pastedImage_d128286_0.png|height=397,width=1108!   2. Create Basis Entry for DP Contract   !pastedImage_d128286_1.png|height=263,width=1094!   3. Create Load In Scale Ticket where distribution type = 'Open Storage'.   4. Distribute ticket.   !pastedImage_d128286_2.png|height=737,width=996!   Item On Storage will increase to 993   !pastedImage_d128286_3.png|height=284,width=1531!   5. Transfer Storage against DP Contract.   !pastedImage_d128286_4.png|height=535,width=907!   This is the DP Contract Balance which is correct.   !pastedImage_d128286_5.png|height=409,width=1114!   !pastedImage_d128286_6.png|height=227,width=1112!   6. Unpost the Transfer Storage.   Click Yes.   !pastedImage_d128286_7.png|height=679,width=904!   ISSUE:   Check the Contract Balance and Contract History.   Contract Qty doubled the units.   !pastedImage_d128286_8.png|height=397,width=1105!   In the Contract History (check the Show Deleted checkbox), instead of reversing the net units, it doubled the units which is wrong.   !pastedImage_d128286_9.png|height=297,width=1110!   ACCEPTANCE:   Deleting the transfer storage should deduct/reverse the transferred units in Contract History to update the Contract Balance.