Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6684 Zobrazení

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 

Avatar
Zrušit
Nejlepší odpověď

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.

Avatar
Zrušit
Autor

Thanks, Mitul Shingala

Related Posts Odpovědi Zobrazení Aktivita
2
kvě 24
8285
0
kvě 21
3060
1
úno 19
2721
0
pro 18
2995
0
čvc 18
3337