Do not allow unpost of invoices when payment record exists (posted/saved)

Issue No: AR-4776
Created 6/2/2017 11:44:55 AM
Type Bug
Priority Major
Status Closed
Resolution Fixed
Fixed Version 17.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-198379 - CPP Created|http://helpdesk.irely.com/iRelyi21live/i21/#/HD/Ticket/?ticket=HDTN-198379] Version: 17.1.0525.12   Database: 99   Steps to Recreate:   1. Find a posted payment.   2. Unpost the payment.   3. View the invoice from the payment screen.   4. Unpost the invoice.   Issue: Should not be allowed to unpost invoice when there is a saved or posted or edit mode payment record for the invoice.