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
Hemalatha  ParuchuriHemalatha Paruchuri 

Write On trigger Based on contact roles in opportunities

Here Account Name called organizers .in organizers(account) person account enabled. in person account we have a like picklist=speakers,attendee. when ever we create opportunity ,contact roles also display in contact roles (speakers and attendee display),based on the speakers and attendee how many opportunities are created using trigger.

Thanks In advance
Shashikant SharmaShashikant Sharma
You can not write trigger on Opportunity Contact Role. If you could give me more details about requirement i could try to give you some alternative approach to go with.

Thanks
Shashikant
Hemalatha  ParuchuriHemalatha Paruchuri
Hi Shashikant,
In account i am enable person account in  account. in person account i have pickist like person account type= speaker ,attendee.
based upon this speaker and attendee how many

Opportunity fields:
1). No of Speakers attended.  (Based on contact roles speakers count)
2).   No of Attendees attended.  (Based on contact roles attendees count)
Hemalatha  ParuchuriHemalatha Paruchuri
How to calucalate these records on which method it is possible