Custom Function not executing?

Custom Function not executing?

I followed an example of a total sales rollup from the help files and the function is not executing on the account records? However I am receiving the alert email that I put in as a test?

Anyone else been able to make this work?