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
leluttrellleluttrell 

How can I lock the close date once an opportunity hits a certain stage?

Once an opp enters one of three stages, I want the close date to lock. Does anyone have an idea on how to do this?

 For example:

If an opportunity's stage = Awarded - Written, Awarded - Signed, or Awarded - LOI, I do not want the close date to be editable. 
Best Answer chosen by leluttrell
SalesFORCE_enFORCErSalesFORCE_enFORCEr
You can write a validation rule which will fire when Stage is Awarded - Written, Awarded - Signed, or Awarded - LOI and CloseDate is changed. Something like this:
AND(OR(ISPICKVAL(StageName,'Awarded - Written'),ISPICKVAL(StageName,'Awarded - Signed'),ISPICKVAL(StageName,'Awarded - LOI')),ISCHANGED(CloseDate))