Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
4723 Näkymät

hello guys, i have automated action to make all of the invoices will be validated every 10 mins but when i run manually the action this error always shows up "Cannot create moves for different companies" then i check it and execute it manually it needs the user with same current company with the moves company.. anyone can help me? thanks

Avatar
Hylkää
Paras vastaus

Dear

you need to change the accounts in the inventory adjustment location to the second company because inventory adjustment stock account input and outgoing are per company.

1- go to inventory

2- configuration - location

3- inventory adjustment and change stock valuation account income and outgoing. 

Avatar
Hylkää
Paras vastaus

Solution:

1. Switch to super user and run the action.

2. Use sudo in your method

Actually you have multi company scenario and you run the action for current user which may be the member of current company.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
4
huhtik. 25
1142
12
tammik. 17
14243
2
huhtik. 16
4100
3
maalisk. 15
5824
1
maalisk. 15
9201