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
aqrm_11aqrm_11 

working of EventRelation object with respect to contacts, leads and users?

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_eventattendee.htm

Doc says:
When Shared Activities is enabled, the EventRelation object can also represent a Who or What object. Events can have up to 11 relationships when relating to Contacts: 10 Contacts and one other relationship to Account,Asset,Campaign,Case,Contract, Opportunity, Product, Solution, or custom object. Events can have up to two relationships when relating to Leads: one Lead and one other relationship to Account, Asset, Campaign,Case,Contract, Opportunity,Product,Solution or custom object. The EventRelation object represents this relationship.
But I was able to create a single event in one org(which has some leads) which has 2 leads and 2 contact and 2 users as invitee. I believe as per the doc, I should not be able to create such event. Please advise. Thanks!