HDTN-235781 - Error to post settlement is adding the record on Settled Storage tab

Issue No: GRN-1700
Created 9/12/2019 2:34:08 AM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description Steps:   1. Create New DP contract.   !pastedImage_d124056_0.png|height=825,width=1707!   2. Create Purchase Basis contract.   !pastedImage_d124056_1.png|height=830,width=1707!   3. Distribute 2 Load In tickets to DP using the dp contract created.   !pastedImage_d124056_2.png|height=739,width=1001!   !pastedImage_d124056_3.png|height=740,width=999!   4. Settle the 2 dp storage records against basis contract and spot then post.   !pastedImage_d124056_4.png|height=739,width=1000!   5. It created 4 str transactions.   !pastedImage_d124056_5.png|height=394,width=1708!   6. Open the detail settlement to basis and unpost and select Yes on message.   !pastedImage_d124056_6.png|height=737,width=999!   7. Refresh the Storage tab and 500 units shows.   !pastedImage_d124056_7.png|height=425,width=1709!   8. Open the header settlement and unpost and select Yes on message.   !pastedImage_d124056_8.png|height=740,width=1000!   12. Refresh the Storage tab, Units are now displaying oirginal qty.   11. Settle them again to Spot and post.   Issue 1:   Error shows:   !pastedImage_d124056_9.png|height=280,width=358!   13. Check Settle Storage tab   Issue 2:   It saved the error settlement which is unposted.   Acceptance:   1. Should be settled successfully   2. Error on settlement should not save the record under Settled Storage tab   =====================================================   This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-235781 - Mark Nelson Contract/Settle Storage issues|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-235781]   While attempting to settle storage for Mark Nelson the error message below was received. Now when attempting to settle storage, there are many storage records now under the Settled Storage tab that are Unposted.     !pastedImage_d124056_10.png|height=396,width=1517!     !pastedImage_d124056_11.png|height=496,width=927!