I have an opportunity trigger that rolls up the amounts of all the opportunities that have a lookup relationship to a custom object.
All opportunities have a lookup field to our custom object: Projects. When on a Project record, can see the roll up of all the Opps that are related to that Project.
This rollup is managed by an Opportunity trigger. I have now created a new custom field on the Opportunity, and a new custom field on Projects. I want my new custom fields to also rollup from the Opps to the Projects.
Bearing in mind I'm a complete novice with triggers, would be be easier/better for me to edit the original trigger to include the two new fields and duplicate the behaviour, or should I clone the entire trigger and just replace the field names with my new ones, which means I'll have two triggers running simultaneously.