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
pfeppfep 

batch APEX

1) trigger: Summarize organizational donations on accountDescription: Donations made by individuals are summarized on the contact record; development wishes to extend the feature to organizations

Behavior of trigger: what it shuld do:

NOTE: Should be implemented as batch APEX that runs nightly rather than a trigger due to security roles

Main object: AccountRelated objects:Opportunity(recordtype=organizational donation) 
sudha76sudha76

From your requirement, it seems you need a Report and customize or a schedule report instead of a Trigger.