Account structure MainAccount-TEST, for the combination 14120, is not valid for ledger Balance Sheet and P&L-CompanyB.
The above is the error we are getting when an invoice journal is validated.
below are the steps done.
1. ran the class SysDatabaseTransDelete
2. created new COA,Changed the COA from backend, and trying to post the invoices