Saving the comparison data and opening balances