Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
6530 Переглядів

I have many branch in a company. At time of sale order creation sequence number should be generated according to the branch ie, instead SO as preffix it should be branch code first followed by number 

Аватар
Відмінити
Найкраща відповідь

hello

you can achieve it using calling the different sequence based on the branch.

you can see one example into customer invoice and vendor bills. based on the invoice type the sequence is generate. so as same way you can do it into your code.

for code you can see sale.order object's create method. i hope this will helps you.

Аватар
Відмінити
Автор

Thanks, Mitul Shingala

Related Posts Відповіді Переглядів Дія
2
трав. 24
8053
0
трав. 21
2898
1
лют. 19
2639
0
груд. 18
2887
0
лип. 18
3231