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
CRMandresGCRMandresG 

Update the recordtype on Contact and Account when the related Opportunity stage is set to 'closed'

I am trying to create a scheduled job to do this but having trouble referencing the contact from the related opportunity.
OyeCodeOyeCode
Share some code please