You need to sign in to do that
Don't have an account?
kalibazar
Use Picklist to create unique code
Hi all,
I have created a picklist with 5 sports (named "Sports"), I would like to use the sport I selected in the picklist to then be the start of a unique account code.
For example:
If I added an account for a cricket club I would want the club code to be CC/0001
For a hockey club I would want HH/0001
(where the 4 numbers are automatically assigned buy ascending order dependent on when the account was added)
Does that make sense? Not sure if I have explained it very well!!
Any help will be greatly appreciated
You will need to create a few items here:
All Answers
You will need to create a few items here:
Fantastic, did what you suggested and it works a treat...now to work out how to put the unique sequential numbering that everyone is after in place!
Can you elaborate on that?
It Looks your requirement is similar to this one
http://boards.developerforce.com/t5/General-Development/Custom-Field-Formula-creation/m-p/207326#M46765
First I am expecting you are using Enterprise or Unlimited edition, This post contain full length trigger code
If it solve your issue , mark as accepted
Thanks,
Bala