Hello.
I would like to ask for a help.
We need create unique ID based on current date in format YYYYMMDDXXXXXX // let´s say 2024020700001
X represents unique ID with autoincrement ideally if not possible Unique is good for us.
We have created field "mydate" this one creates automatically with current date but we need to extract the numbers from it. Also we need system to remember last XXXXXX number so it could go on
We have over 2500 entries created so that´s why we need the date prefix, when we generated Unique ID it´s not really working way we expect.
we also tried
entry.id to use but the default memento ID is just too long (it causes problem when we use it in print as barcode)
Purpose of the ID is that we used product serial number, but in most cases it´s missing or cant be read. So we need unique identifier of custom, but we print multiple documents from memento as jasper reports, (A4 & 80 mm thermal paper + labels 5*4CM)
So is need to has some format. Also we collect 5 pages and about 100 inputs in an entry so i´m looking for something elegant best practice would be a hidden JS or combination JS / trigger
Thank you for your help :) Memento is nice system for creating CRM :)
Dátum: streda 12. decembra 2018, čas: 20:01:30 UTC+1, odosielateľ: Aaron