Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6545 Представления

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
8069
0
мая 21
2905
1
февр. 19
2654
0
дек. 18
2892
0
июл. 18
3245