Some non-profits want to rollup pledges (donations with StageName=’Pledged’). NPSP provides user-defined rollups for ‘Posted’ donations.
Daizylogik has built an unmanaged package for Pledge Rollups on Accounts and Contacts for the current and previous calendar and fiscal years. It also, rolls up the Payments for pledges.
You can install it from here:
The source code is available here: https://github.com/daizylogik/DZ_DEV.git
Post Installation Instructions:
1. add the following fields to the Account and Contact page layout:
2. Edit the Search Layout for the Opportunities, and the add the Calculate Pledge Totals button, so you can run the rollups on demand.
3. If you would like to schedule the rollup job, use the PledgeRollupBatch class.
by Vladimir Martinov