[Voucher] - Voucher does not updated after deleting payment

Issue No: AP-7238
Created 5/9/2019 4:33:09 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description *STEPS:*   # Create purchase basis contract # Create load in ticket and distribute (Will create Ir) # Create basis advance for the ticket # Post and pay the advance # Price the contract (Will create voucher with advance applied) # Pay Voucher # Print Check # Reopen voucher and click Delete Pay.(Will create unrestricted prepayment) # Open contract and set status to Reopen # Save contract # Open ticket # Click Undistribute   *ISSUE(S)* : Cannot undistribute ticket. Message says that ticket has paid voucher   !pastedImage_d118156_0.png!   Error above is due to the voucher not updating after payment was deleted. When you reopen the voucher, Amount Paid is still displayed.   *ACCEPTANCE* :   On Delete Pay,   # Voucher should update. # Linking of the Basis Advance from the Voucher will be removed. # Amount Paid should be 0.00. # Ticket should undistributed.