コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6580 ビュー

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 

アバター
破棄
最善の回答

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.

アバター
破棄
著作者

Thanks, Mitul Shingala

関連投稿 返信 ビュー 活動
2
5月 24
8166
0
5月 21
2959
1
2月 19
2683
0
12月 18
2914
0
7月 18
3273