Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3340 Widoki

Hello all,

is it possible to reset the ongoing invoice number at the beginning of each month?

For example:

My invoice number is like this: "inv_20190131_12"
In february, the invoice number should reset automatically to "inv_20190201_01" and not be like "inv_20190201_13"

Does anybode know if this is possible?


best regards, joe

Awatar
Odrzuć
Najlepsza odpowiedź

By default you can only use subsequences starting from anew within the date range you have specified as prefix/suffix. So if you want to number your invoices starting from 1 every month, you have to specify a date range of %(range_month)s, which results in invoice numbers like 201902_01. If you want to have the day in your range, then the subsequence will restart every other day: %(range_day)s.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
cze 21
5624
0
lut 19
3121
0
kwi 23
2046
1
lis 24
2715
2
sty 19
8884