Separate GL Accounts for Multiple Companies
General ledger accounts can apply to one specific company or to all companies. When adding a new GL account (Ledger -> Accounts -> New GL Account) you can specify the company with the Specific Company field. Set it to All Companies if you want all companies to be able to post GL entries to the account.
You can still run Balance Sheet and Profit & Loss Statement reports and combine data across companies even when GL accounts aren't set up to be shared for All Companies. The system will combine data based on account numbers, so as long as the same account numbers are used in different companies, the data can still be combined together for reporting.