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
Kumar Rao 1Kumar Rao 1 

Product non-editable when status is Released

Dear Folks,

Kindly give me some advise and if possible sample code.

Requirement: Custom product have 3 fields:

Status <Picklist> (Inprocess, Released)
Prod Name <Edit field>

Condition 1: Product fields are editable only when the status is InProcess
Condition 2: If status is Released, filed should show as non-editable

Is this something can be achived? Otherthan not triggering dml operation based on status?

Chandra Sekhar CH N VChandra Sekhar CH N V
have you tried validation rules?