Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
6543 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Autor

Thanks, Mitul Shingala

Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Mai 24
8063
0
Mai 21
2900
1
Feb. 19
2651
0
Dez. 18
2891
0
Juli 18
3242