Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3261 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jun 21
5560
0
feb 19
3080
0
abr 23
1971
1
nov 24
2659
2
ene 19
8806