Record is read-only error in Apex Trigger
Field update cannot be done after the record has been Updated/Saved.
So, use after insert or after update as the trigger events.
Triggers in Salesforce
Post a Comment
Post Comments (Atom)