How can I fix lost transactions?

SUGGESTED

We experienced the error yesterday of "Failure of DFwrite Function status 46 on ARInvoice.  Access to the requested file is denied"  Now I have a handful of customer records that have missing records. 

In AR Customer Incquiry they have a zero balance due but have open invoices with a balance?!  On one of these I tried to credit the amount of the invoice but now they have no open invoices but a negative balance due..  Help! 

Is it possible to manually edit the database to zero out these amounts?