Custom Function to Clone/Associate Contact Roles
Hi,
I've created a custom function which creates a new Potential
from a Potential which is expiring. I need the function to also
duplicate the Contact Roles (those contacts).
Contact Roles seems odd - like it is a separate module from the
Potential, but getRelatedRecords does not list that as a supported module.
How can I associate the contacts in the Contact Roles portion of
the cloned opportunity?
I'm afraid if I create a new contact record I will be simply
duplicating contacts in the system, and not associating an existing
contact with the Contact Role.