Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6522 Lượt xem

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 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhấ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.

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks, Mitul Shingala

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 24
8052
0
thg 5 21
2897
1
thg 2 19
2638
0
thg 12 18
2886
0
thg 7 18
3227