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
GhilliGhilli 

Make a Account Record Readonly

Hi Friends,

 

I have one requirement in that if a Status check box is checked for a account, that account should not be edited by the user.

How to make this account as readonly.

 

Please guide me to do this.

 

Thanks.

Best Answer chosen by Admin (Salesforce Developers) 
Slaviša MaslićSlaviša Maslić

Hi Ghilli,

 

A quick fix for you solution is the following:

 

1. Create a record type where all fields are set to readonly 

2. Create a workflow which is triggered on the change of your check box and which changes the Account's record type the readonly record type

 

 

Regards,

Sascha

Message Edited by Smash on 2009-07-29 03:21 PM