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
SFDC_WorksSFDC_Works 

Strange work on Auto-number Fields

Hi all...

here is a Brain-storming requirement

I need to have a Auto-Number Field in my ORG  for Opportunity which should work in following ways.

 

The auto number should increment only when a particular account is selected.

 

When i try to create a new Opportunity, i should be able to see the next number that would be generated.
Yes i am using a VFP to Create a new Opportunity.

What can i do to achieve this.

ANy kind of help is appreciated.

 

Thanks