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
Manish Verma 4Manish Verma 4 

custom button on record types

Hi all, i have a requirement..
I have created two records types "Small" and "big" on opportunity object. now the requirement is :
Big opportunity should have a button ‘Close’ which when clicked should update the stage to closed won and make the opportunity read only(None of the fields should be editable)
ShashankShashank (Salesforce Developers) 
You can do it by creating an other record type like "Big Opportunity - closed" and update the record's record type using workflow rules.