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
Amit Singh.ax1042Amit Singh.ax1042 

Can we control AutoNumber Field?

Hi friends,

i Am facing problem with AutoNumber,

i have created object JobApllication(Master) and Review(Child)...

for review i have taken record name as Job Application number (Data Type is Autonumber)...

 

i have create two application JA1,JA2

 

in JA1,i have created two review ( R-1 and R-2 (Auto number ))

in JA2,i have created two review (now here i am getting R-3,R-4)...i want that for different-different  job application review should start with R-1

 

is it possible?

 

any suggestion how to solve this kind of issue?



ForceMantis (Amit Jain)ForceMantis (Amit Jain)

Hi

 

You can not control auto number field in the way you have mentioned. Although you can have your "Name" field as Text instead of auto number and write trigger to populate values on before inset trigger.

 

Amit Jain

 

If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

 

Amit Singh.ax1042Amit Singh.ax1042

could you please provide me any example with source code??