I’m running a form which generates a sequence number based on tha last number it gets on the view, The sequence number depends on the Team, say for the first document for Human Resource, it will be HR1, second doc for Comunnication,it wil be COM1, third doc for HR will be HR2 cause we had HR1.
Problem:
When two or more in the same team save the document at the same time, it duplicates the Generated number, even if I use view refresh it does not work cause the Script reach the generate line at the same time. Please help.