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
adi salesforceadi salesforce 

Trigger to get values of complete section in a record into another record

 The requirement is I've two record types in contact one is new contact and another is renewal contact. I've created a contact whose record type is new contact and again I've created a record with record type renewal contact. the common field linking these two records is account. If the account is same for two records then I want to get same values of certain section in  record with recordtype in record which of record type renewal same as values of record type with new contact. please write the trigger helper and handler.