unique identifier field with unique serial number
I am using the code below to get date and time stamp on my file but I also want to add serial number with it which is unique to identify it later when I see list of that. Can anyone please help.
// get the current date and time
var d = new Date();
this.getField("UniqueNumber").value = util.printd("yymmdd-HHMMss", d);
