How to write a rollup summary trigger for a lookup relationship

Is there anyway to update a rollup summary field with lookup relation ship for a custom object. How can we achieve this using triggers ?


The above link from Abhinav solves your problem

If you need for more than one object would recommend to try the excellent tool from Andrew

And if you have requirement for only one object ,you can prefer jeff solution as well

Source : Link , Question Author : Salesforce developer , Answer Author : Mohith Shrivastava

Leave a Comment