Year End and account closure

Suggested

I am about to close one of our companies (A), in Sage, and will have to move all its balances into the other company (B).

Company A is closing and I have moved all its balances out. So do I post the journals into company B before doing the rollover in B? Or do I finish rollover in B before moving in A's balances?