Auto generated value problem
We have a field that automatically generates a value when a new record is created(this new record is created by an automatic script). We have restricted the value as 4characters followed by numerals. This is a unique key. But the issue is sometimes the value created turns out to be some special character or some value like 'gen' or some 'q', or ` all. because of this lot of issues are occuring since this is one of the most imp value. Please help us how to avert this.