Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
6533 Vizualizări

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 

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Autor

Thanks, Mitul Shingala

Related Posts Răspunsuri Vizualizări Activitate
2
mai 24
8055
0
mai 21
2898
1
feb. 19
2640
0
dec. 18
2888
0
iul. 18
3233