I need my browser list form to autogenerate a document name that has the following format:
REG-YYMMNN
REG- being the particular region
YY for the last 2 digits of the year
MM for the month it is generated
NN for a sequential number within the month. For example, the first document in March would be 130301, the second would be 130302 and so forth. This number needs to start from 01 every month (reset to 01).
I know how to do REG-, YY and MM applying the substring function on the region and date fields, however I can't think of a way to make the NN work.
Any (codeless) hints will be greatly appreciated.