I have setup multi-companies but when I attempt to Validate an invoice I get the following error:
Field(s) `company_id` failed against a constraint: Account and Period must belong to the same company.
When I try to setup a custom period for the second company I get the following error:
Field(s) `date_stop` failed against a constraint: Error!
The period is invalid. Either some periods are overlapping or the period's dates are not matching the scope of the fiscal year.
Does anyone have any idea what I need to do be able to validate a sales invoice under a multi-company setup?
Further... I would prefer to share periods could I assign accounting periods to multiple companies?
Apparently some fields of your invoice refer to accounts of the other company while they should not. To troubleshoot,verify the following:
1. Is the company related to the Receivable account of the invoice the same as the company visible under the "Other info" tab? If not then that's your issue.
2. Else, the journal selected on the customer invoice can be linked to a debit and credit account. Verify that the related company of each of these accounts is the same as the company of the invoice under the "Other info" tab.
Finally, you cannot share periods between companies.
I hope this helps you further.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 7/27/15, 3:53 PM|
|Seen: 926 times|
|Last updated: 3/13/16, 9:46 PM|