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
Amidou CisseAmidou Cisse 

Trigger to disable field (Help guys please)

Sales Target: a trigger can be set to disable modification possibilities on the Sales Target fields.
Trigger possibilities:
Time trigger: after a predefined period;
Validation trigger: after Central CRM Manager validation.
Best Answer chosen by Amidou Cisse
Raj VakatiRaj Vakati
You can able to do it with salesforce validation rules ... 
 
AND(
ISBLANK(Contact),
NOT(ISPICKVAL(Stage,"Closed Won"),
$Profile.Id = ProfileId
)