[Invoice] Customer Prepayment cannot apply to Cash Refund Transaction

Issue No: AR-7659
Created 6/5/2018 11:30:10 PM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description Steps to replicate:   1. Create Customer Prepayment. Go to Sales > Invoice > New > Fill out the required fields > Save   !pastedImage_d98317_0.png!   2. Receive Payment. Click Pay > Post   3. Create Invoice. Type should be cash refund.   !pastedImage_d98317_1.png!   4. Go to Prepaid and Credit Memos Tab . Console Error Appearance. Tick Apply     5. Click Post     Issue: Already applied the prepaid but alerts keeps asking me to apply it. Invoice now cannot be posted due to console error.     Acceptance: Should be able to post the invoice after applying prepayment