Record is read-only error in Salesforce Apex Trigger
Exception: System.FinalException: Record is read-only Field update cannot be done after the record has been Inserted/Updated/Saved. So, use after insert or after update as the trigger events. Sample Trigger to ....