Customer Prepayment - Record created from Receive Payment displays incorrect values

Issue No: AR-9964
Created 3/14/2019 2:16:59 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description Steps to reproduce:   1. Go to Sales \| Activities \| Receive Payments   2. Click New   Type = Cash Receipts   Customer = Galcon Holdings (or any customer)   Payment Method = Prepay   Amount Paid = 100.00   !pastedImage_d114007_0.png!   3. Click Post   4. Click OK on the error message displayed   !pastedImage_d114007_1.png!   !pastedImage_d114007_2.png!   5. Go to Sales \| Activities \| Invoices   6. Check just created Customer Prepayment   *Expected result: Values should be correct*   _Subtotal = 0.00_ _Amount Received = 100.00_ _Amount Due = -100.00_   *Actual result: Values are incorrect*   _Subtotal = 100.00_ _Amount Received = 0.00_ _Amount Due = 100.00_   !pastedImage_d114007_3.png!     Notes:   When CPP is created directly from Invoice search screen:   !pastedImage_d114007_4.png!     For reference: [http://inet.irelyserver.com/pages/viewpage.action?spaceKey=AR&title=Customer+Prepayment+-+Receive+Payments+-+Apply+to+Invoice+-+Reports]