+ Start a Discussion
Vipin K 10Vipin K 10 

Quote Status field editable

Hi All,

I have written a validation rule to set quote record read only for particular quote status and editable only be system admin profile.
Now i want only status field to be editable and all other fields in the record to be read only for other profiles except system admin. 

AND ($Profile.Name <> "System Administrator", 
OR( ISPICKVAL( PRIORVALUE(Status) , "Presented") , 
ISPICKVAL( PRIORVALUE(Status) , "Expired") 
), 
true 
)
AshlekhAshlekh
Hi,

Now you need to write a code in trigger to do this. May be there many field on lead and you can't verify which field is changed along with Status field.

For example some one has change the abc field and status field on Lead and try to save so you can't find the abc is refering to which field.

-Thanks
Ashlekh Gera 
Lokeswara ReddyLokeswara Reddy
You can easily do this by configuration.
- Create a new record type and Page layout for Quote
- Give edit access to only status field and read only for all other fields
- Assign to this new record type when status is Presented or Expired
- Assign this page layout only to non System admin profiles