When you post a batch to prior year, you are asked to provide a source code used for Closing Entries. If the batch you are posting to a prior year contains any Income Statement accounts, the procedure automatically at the same time generates and posts the transaction that clears the I/S account and moves it to Retained Earnings. You do not have to create the entry involved with the R/E account.
If all of the accounts in the batch are Balance Sheet accounts, then of course retained earnings is not affected.
_________________________
Regards,
Softrak Tech Support