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
laxman.g1.3964314255283564E12laxman.g1.3964314255283564E12 

Autonumber should start with "1" as the day begins, is it possible? if it is please guide me

Sonam_SFDCSonam_SFDC
Hi Laxman,  

If you go with the out-of-box standard functionality - this would be tough to implement but you can try the following:
1)Create a number field
2)Update this number field using a trigger by calculating the highest value +1 
3)Have a scheduled apex run every night to update the value of the number field to 1