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
yespeeyespee 

Need help on Apex trigger

Hello All,

I need to to write an apex trigger (my first) that looks up family name in product table based on model number selected on a lead and update a status back on lead object. Can someone help me where to start. Would appreciate sample code or any thing like that.

Thanks
sp

SuperfellSuperfell
See the Apex section on the Wiki, plus there's examples in the cookbook and the apex language docs.