You need to sign in to do that
Don't have an account?

Help On Formula Field
I need to implement one functionality in opportunity object. Please find below mentioned functionality.
Scenario-
If "Stage" for opportunity is "propecting" i need to display "1 Green Flag" ,
If "Stage" for opportunity is "Closed-Won" I need to display "2 Red Flags",
if "Stage" for opportunity is "Closed-Lost" I need to display "3 yellow Flags"
And
if "Stage for ooportunity is " Closed-Won" the Opportunity must be "non-editable".
Could anyone please help me how to implement it.
Thanks for your all valuable help.
Thanks,
JaanVivek
Hi
For displaying the images you have to create a formula field on opportunity with return type 'text', then you can use the formula as follows :
And to disable to edit an opportunity on stage "Closed Won", you have two ways :
1) You can add a validation rule which will display an error message when an Opportunity with StageName equals "Closed Won " is edited.
2) You can add a recordtype and assign a non editable page layout for it, then create a workflow that will change the record type for the opportunity when its stage is updated to "Closed Won'.
Please mark it as solution if your problem is get solved by this so that others can also use this.
All Answers
Hi
For displaying the images you have to create a formula field on opportunity with return type 'text', then you can use the formula as follows :
And to disable to edit an opportunity on stage "Closed Won", you have two ways :
1) You can add a validation rule which will display an error message when an Opportunity with StageName equals "Closed Won " is edited.
2) You can add a recordtype and assign a non editable page layout for it, then create a workflow that will change the record type for the opportunity when its stage is updated to "Closed Won'.
Please mark it as solution if your problem is get solved by this so that others can also use this.
Thanks Vikash. It's working fine.
Thanks,
JaanVivek
Please mark it as solution