I recently got an issue with GP allocation between payments and invoices.
I had 1 payment to apply for 4 invoices. But for some reasons, the errors occurred and just only 1 invoice applied by that payment.
The problem is that we didn't know the case at that time and the applied invoice and that payment have been moved to history (RM30201 table).
As a result, we had 1 payment applied with full amount and 3 outstanding invoices in OPEN status.
We tried to un-apply that payment and invoice to correct the wrong data but it's not working due to that invoice is related to another payment.
We also think about using the SQL script to fix this issue but I think it can make some wrong information in tables if we don't aware the full workflow of GP allocation.
Do you have any suggestions for this?