I have a Auto Number standard field (Name
) of custom object (Term__c
) which is to be dependent on custom field Color__c
(picklist) of same custom object.
For each picklist value, such as "red", "blue", "green", Name
should start from 0, and for each picklist value it should be incremented on creating more records. We have to use trigger.
Can any one let me know how should I proceed?