Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
6549 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Auteur

Thanks, Mitul Shingala

Gerelateerde posts Antwoorden Weergaven Activiteit
2
mei 24
8085
0
mei 21
2923
1
feb. 19
2662
0
dec. 18
2895
0
jul. 18
3248