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
Girbson Bijou 8Girbson Bijou 8 

Conditional increment

Hi all, 
Help me to increment a field by 1 based a picklist value of an other field. 
Like below. 
I mean, i have different Location, the auto number should be incremented by location. 

My sObject is: Delivery
Location Name: Location
field to incremented :Number__c
User-added image

 
Raj VakatiRaj Vakati
You have to create a custom picklist like below 


https://salesforce.stackexchange.com/questions/105478/creating-dependent-picklist-using-apex-code


https://greatwavetech.com/visualforce-dependent-picklists/

https://www.sundoginteractive.com/blog/dependent-picklist-visualforce

https://jdspaceit.wordpress.com/2016/01/13/implementing-dependent-picklist-in-a-visualforce-page/
https://medium.com/@gorishamehrotra/how-to-use-controlling-and-dependent-picklist-in-salesforce-lightning-cead8c0893f8
https://www.minddigital.com/how-to-create-dynamic-dependent-picklist-of-objects-within-salesforce/
http://sfdcsrini.blogspot.com/2016/04/adding-custom-styles-to-dependent.html