Settlement has been posted even Voucher will have negative total

Issue No: GRN-1737
Created 9/26/2019 4:15:39 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description Steps:   1. Other Charge Item Setup:   !pastedImage_d124740_0.png|height=647,width=1047!   !pastedImage_d124740_1.png|height=647,width=1048!   2. Create Priced Contract with Other charge and save.   !pastedImage_d124740_2.png|height=828,width=1689!   4. Create Delivery Sheet to OPen Storage.   5. Distribute Load In ticket using this delivery sheet.   !pastedImage_d124740_3.png|height=735,width=997!   6. Open Delivery Sheet, enter Grade and post.   7. Settle the DS customer storage against purchase price contract and post.   Issue:   Settle was posted.   !pastedImage_d124740_4.png|height=736,width=998!   Checking the voucher generated, total is already negative.   !pastedImage_d124740_5.png|height=799,width=1870!   Acceptance:   Should not be able to post, should prompt this message instead:   !pastedImage_d124740_6.png|height=745,width=1218!   ===========================================   This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.     [HDTN-235143 - STR-2310 Posted, but no voucher was created. Cannot unsettle storage|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-235143]