Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3339 Tampilan

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

Avatar
Buang
Jawaban Terbai

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.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jun 21
5624
0
Feb 19
3121
0
Apr 23
2046
1
Nov 24
2715
2
Jan 19
8884