Generate a unique number

January 1, 2008 by Geron Profet · Leave a Comment 

This function creates a unique number in JavaScript based on the current date and time. If required you can pass a prefix e.g. ACC000001.

Place this code in the OnSave event. Read more