When the user is using Expense Splitting feature in Event of CRM, the following error occurs:
System.QueryException: List has more than 1 row for assignment to SObject
Trigger.VOD_EXPENSE_ATTRIBUTION_ROLLUP: line xx, column x
There are more than one speaker records for the account. Normally, one account should have one speaker record.
If an Account is added as an Attendee, the trigger also checks if there is any Speaker record present for the Account. This is to keep proper tracking on Year_to_Date roll-ups.
Be sure one account has one speaker record.
CRM Help Documentation: Expense Splitting
Send us your feedback: We are always looking for feedback to help improve our Knowledge Base! Please let us know if this article is helpful or provide feedback on how we can improve your experience by clicking here.