Able to unpost COP record in invoice screen when payment still posted

Issue No: AR-9239
Created 10/31/2018 11:15:06 AM
Type Bug
Priority Major
Status Closed
Resolution Fixed
Fixed Version 18.3
Description Steps:   1. Receive payment detail > New > Enter payment method debit memos and payments > enter an amount greater than invoice > Post.   2. This will create an overpayment (COP in invoice sceen).   3. Go to the invoice and Unpost.   Issues:   1. Unpost should be disabled, this record is created from RCV and RCV unpost should be the only way to unpost/delete this record.     Test in 18.1 and fix if needed.   This was tested in 18.3