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
alok29novalok29nov 

Want to lock 'Status' field if opportunity is "closed lost'

Hi All,

 

I have a requirement where I want to lock Status of an opportunity if opportunity is 'Closed Lost'. In other words, If opportunity is lost, status shold not be allowed to change.

 

 

What is best possible way to do it. Please suggest.

 

 

Thanks,

Alok

Sridhar BonagiriSridhar Bonagiri

Hi,

 

You explantion is little confusing, as per my understandings you want to lock the status field once the opportunity is closed. for this write a validation rule and display an error message when ever the opportunity is closed and the user is trying to change the status field.

 

Regards,

Sridhar Bonagiri

alok29novalok29nov

Hi Sridhar,

 

You correctly interpreted it. I want to lock the Status field once opportunity is closed.

 

Sridhar BonagiriSridhar Bonagiri

Hi,

 

Write a validation rule and display an error message when ever the opportunity is closed and the user is trying to change the status field.

 

Regards,

Sridhar Bonagiri