İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
6560 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici

Thanks, Mitul Shingala

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
May 24
8112
0
May 21
2939
1
Şub 19
2669
0
Ara 18
2901
0
Tem 18
3252