Sales Invoice data purged that should not have been. How can we fix?

SUGGESTED

Help!!!!  Sales Invoice data purged that should not have been.  How can we fix??  Will the Carry forward journal entries acknowledge these transactions no longer exist?

We recently purged some tables and the FLGCLE flag on teh GACCUDATE table was not referenced in the parameters properly causing these open records to be purged 

Therefore, when we run the ARTB it does not include these invoices in the total, but the AR GL Balance still does.

Our books are closed for 2019, but we have not run the 2019 Fiscal year end closing process and I am unsure how that process would affect the GL Balance for AR.

The other thought to fix would be to reinstate the transactions into the tables, but we are concerned with doing that, but missing a linked table and then getting errors.  How can we know what tables to add the transactions back into?  I am thinking reinstating the GACCENTRY, GACCENTRYD and GACCDUDATE records.

If someone can assist with understanding the best way to fix this and if I run the Year End close for 2019 how it will impact the 2019 year end numbers as well as the carryforward journal entry please let me know at as soon as you can.

Thanks

Kristin