The balance on all of the sales, purchase and a few other accounts are created or closed by transferring them to the Profit and Loss account.