Forum Discussion
ArchiveUser
7 years agoQrew Captain
Kristy,
Whether it is record id# or any other number, if you want it to be unique, there has to be a guaranteed way of making it unique. Otherwise, if multiple people are using the system at the same time, they may all arrive at the same number. Then it will not be unique anymore.
If you wait until the record is saved, then there is a guarantee that the P# will be unique because the Record ID# is already unique.
There are other ways of arriving at unique numbers, such as based on the time it was created. But if you noticed, even that has to be generated after saving it, otherwise it will not be unique.
Whether it is record id# or any other number, if you want it to be unique, there has to be a guaranteed way of making it unique. Otherwise, if multiple people are using the system at the same time, they may all arrive at the same number. Then it will not be unique anymore.
If you wait until the record is saved, then there is a guarantee that the P# will be unique because the Record ID# is already unique.
There are other ways of arriving at unique numbers, such as based on the time it was created. But if you noticed, even that has to be generated after saving it, otherwise it will not be unique.