Thanks. This helps to at least know that the Revaluation function may not be the cause, and that Period End could be related.

And you could rename that APGLBTCH file (after printing the report and entering the GL journal entry batch) to allow further processing to continue.

I would suggest not deleting that APGLBTCH file for a while, at least until the next time you have to run Period End or Revaluation. Also, make sure to perform a data backup (AP) prior to running Period End / Revaluation in case something happens again.