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
workaholicmomworkaholicmom 

Custom Object Attachments rolling up to Account records

All notes and attachments added to contacts and opportunities roll up under the associated account as well.

 

I would like to know if there is a way to replicate this same action using attachments or notes in a Custom Object.  Currently the custom object has a lookup relationship to the Account record.

Jeremy_nJeremy_n

To use roll-up summary fields, the referenced object must be in a Master-Detail relationship. This changes a number of things about how objects behave, so make sure that's what you want.

 

To make the change, though, is simple. Go to your custom object field that looks up to Account, and change the Relationship from Lookup to Master-Detail. You should then be able to build roll-up summaries on Account that include custom object information.

 

Jeremy