You need to sign in to do that
Don't have an account?
mluisi
dependent editable field help
We created a Custom Probability % field on the Opportunity. User would like it to pre-populate with a given value based on the Stage and also be able to edit the percentage as needed. I tried a formula below (which is probably not correct) and received "Error: Field StageName may not be used in this type of formula"
- IF(StageName=ISPICKVAL("5 - Contract in Process"),90,(IF(StageName=ISPICKVAL("4 - Negotiate Terms"),75,(IF(StageName=ISPICKVAL("3 - Obtaining Approval"),25,(IF(StageName=ISPICKVAL("2 - Expressed Interest"),10," ")))))))
try with below code.
If this helps, Please mark it as best answer.
Thanks!!
Please make sure formula fields should not be editable
While adding picklist values to stage, it will ask for Probability. Please refer the below screenshot for your reference.
when you select the stage as 2 - Expressed Interest then probability should be 10%. as like below.
After some time, If you want to change the probability for the same stage, you can able to do that. Please refer the below screen shot.
Thanks!!
You can make the Proabability a Formula field with a Return type Percent.
The formula for Probability will be as below
CASE(Stage__c,
"Initial Contact", 0.1,
"Proposal", 0.50,
"Closed Won",1,
0)
If this helps,Please Mark It as best answer.
Thanks!