Skip to main content
I am confused as to the purpose of a field type of auto-number if you can't designate when it should increase.  Also, it allows you to enter a starting number but mine didn't start with that number.  Can anyone explain this to me?
1 answer
  1. Jan 13, 2015, 10:42 PM
    Auto numbers are incremented when you run tests or deployments. To avoid this you can enable this option from Setup by clicking Develop | Apex Test Execution | Options..., selecting Independent Auto-Number Sequence. It is also incremented when you insert new records via apex but fails to execute and records are rolled back. This cannot be avoided.
0/9000