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
kittu9kittu9 

Making fields Locked using validation rules

EG: Validation Rule: Once a quote is generated, lock the field Amount

 

How to achieve this functionality.can any one give your ideas on this.

 

 

EnthEnth

Option A

You need to add a workflow that changes the record type when the record needs to be locked. You can then use different page layouts for each record type.

 

Option B

Your validation rule needs to use ISCHANGED to detect if the field has been edited. The user will be unable to save the changes to the Amount field.