RE: Auto number : Reset the value if it was not changed today?
Hi
I assume you are doing the auto number in a plugin, you could do the following
With the Frequency (Daily/Monthly/Yearly) field, you could also have another field that is datetime - lets call it Next Number Last Modified On
In your auto number logic, if the Frequency is set to Daily, check the Next Number Last Modified On datetime field value.
If its null or if last modified date is before today, you can reset the Next value.
If the value was changed today, you do not need to reset, you increment it by one.