AP Out of Balance - Vouchers Deleted when linked to voids causing payment to disappear

Issue No: AP-7202
Created 5/2/2019 8:33:27 AM
Type Bug
Priority Major
Status Closed
Resolution Fixed
Fixed Version 18.3
Description Issue: When deleting vouchers linked to a voided check, this is causing out of balance between AP aging report vs GL balance as of date.   Steps:   1. Run the Payables Report as of 4/30/2019.   2. Find a payable that is still open.   3. Run the payables detail report as of 4/30/2019 for the vendor selected in step #2.   4. Verify the balance in GL for both AP and vendor prepayment as of 4/30/2019.   5. Compare the GL balance and Report Balance so you know both the difference (if any) and the current balance as of 4/30/2019.   6. Pay the payable from #2 using Check method with future date 5/2/2019. Print the check.   7. Run the payables report as of 4/30/2019. The totals should be the same.   8. Run the payables detail report for the vendor as of 4/30/2019. The detail should be the same.   9. Bring up the pay record created in #6 and void. Make sure the void date is greater than 4/30/2019.     10. Run the payables report as of 4/30/2019. The totals should be the same.   11. Run the payables detail report for the vendor as of 4/30/2019. The detail should be the same.   12. Bring up the voucher from #2, unpost, and delete. There will be a pop up stating that this voucher is linked to a voided payment. Do you still want to delete? Click YES.   !pastedImage_d117258_0.png!   Here's the issue:   13. Run the payables report as of 4/30/2019. The totals should be the same. However, it is not because the voucher that was voided and deleted is no longer in the database to print on the report.   14. Run the payables detail report for the vendor as of 4/30/2019. The detail should be the same. However, it is not because the voucher that was voided (5/2/2019) and deleted is no longer in the database to print on the report.   Screenshot Before Delete of voucher:   !pastedImage_d117258_1.png!   !pastedImage_d117258_2.png!   *Acceptance criteria:*   Once a voucher has been paid -   # -you should not allow deletion even if check is voided - That will leave an "Empty reference on the pay voucher detail" customer should debit memo the transaction.- # -You could allow substitution of the voucher for a prepaid.- # We should allow deleting of vouchers with void payments. Most customers in grain industry will want to create a new voucher again from the IR. # What needs to be done is for the broken link is, when you delete the voucher, change the reference of the payment transaction to the prepay record created by it.