跳至内容
菜单
此问题已终结
1 回复
3354 查看

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

形象
丢弃
最佳答案

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.

形象
丢弃
相关帖文 回复 查看 活动
1
6月 21
5652
0
2月 19
3145
0
4月 23
2073
1
11月 24
2729
2
1月 19
8908