콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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
8215
0
5월 21
3024
1
2월 19
2709
0
12월 18
2957
0
7월 18
3296