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

Simulate "Roll Up Summary" on Contract Attachments

I'm wondering if there is anyway to create something like a "roll up summary" for attachments on a Contract? More specifically, I want to be able to verify that there is at least 1 attachment on the Contract when the Contract is activated. 

Any advice is appreciated. 
Christopher ShadeChristopher Shade
I don't think either the roll-up summary or formula fields will accomplish this for you so I think that leaves you with an writing an apex trigger.