Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
5587 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

Hi Jesse,

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.


Awatar
Odrzuć
Autor Najlepsza odpowiedź

thanks for your answer Kasongo it looks like multi-company is not going to work for my needs then. I'll have to figure an alternative option.

Awatar
Odrzuć