function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vanessa BarrosVanessa Barros 

auto-generated number from an object

hi people! i noticed that there is an idea that users can reset the auto-generated number from an object..


some develop something to do that? or..any solution?

many tks!




the simplest solution would be delete and erase the object & it's references. Then redeploy object ...may be thr. eclipse IDE

Vanessa BarrosVanessa Barros

i discovered that ehehe tks anyway :smileyvery-happy:


You can use crypto class to generate autogenerated number : Integer Rnd = crypto.getRandomInteger();