3

This question already has an answer here:

I have a standard field that I have assigned the following Display format "A-{0000}". What happens when it reaches A-9999? I'm not able to find the answer online and I want to make sure it does not restart. I need this to be a unique field.

marked as duplicate by gNerb, battery.cord, Vijay Ganji, dphil, Pranay Jaiswal Jun 21 at 9:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • The "possible duplicate" says "I don't know what happens when it hits 11 digits" so does not answer this question. – Keith C Jun 19 at 16:07
  • Fair enough - the question states the behavior of what happens when the number ticks over the digits specified in the display format, is what I was getting at. The items below don't get at going higher than 10bn records either. – Thomas Taylor Jun 19 at 17:21
5

I just created a custom object using an Auto Number Display Format of T-{0} and names like T-10 and T-11 were created.

So looks like no restarting, with the formatting expanding as you might expect for the numbers that use more characters than specified by the format.

PS

And there is this Salesforce Knowledge Article on the subject stolen from DerekF's comment: Effects when auto-number field exceeds the specified digits.

Not the answer you're looking for? Browse other questions tagged or ask your own question.