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

i want to create sequence that will be 

CC-YearMonth-0001

CC-1907-0001        CC-2007-0001

CC-1907-0002        CC-2007-0001

........

.....

any help 

아바타
취소
베스트 답변

Hi Usman:

You can do this on the sequence definition. Activate developer mode. Go to Settings > Technical > Sequences and edit the sequence you need to change. There is a checkbox called ​Use subsequences per date_range. If you select this, you can specify the date range and the starting number (Next Number) for that date range.

아바타
취소
작성자

i want to code in xml file any help ?

You will need to create records corresponding to your sequence in the ir.sequence.date_range model.

관련 게시물 답글 화면 활동
0
2월 23
5093
0
1월 23
94
1
10월 22
4344
0
4월 22
2888
2
3월 25
2967