Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
6396 Weergaven

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 

Avatar
Annuleer
Beste antwoord

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.

Avatar
Annuleer
Auteur

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.

Gerelateerde posts Antwoorden Weergaven Activiteit
0
feb. 23
4909
0
jan. 23
94
1
okt. 22
4245
0
apr. 22
2789
2
mrt. 25
2834