Transaction Qty in the DP Contract is positive after settling multiple storages

Issue No: GRN-2048
Created 3/11/2020 8:55:56 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 19.1
Description Steps:   Create a DP contract.   Create a load in ticket where distribution type is DP and associate it to DP contract.   Distribute ticket.   Check the contract balance.   In storage settle partial units. Settle it against priced contract or spot.   Settle 50% of the remaining unit against spot or priced contract.     Issue:   Transaction Qty in the DP Contract is positive after settling multiple storages     Acceptance:   Transaction qty in DP contract should be negative.