2

I hope you can help. I am new to CiviCRM and writing a custom Summary Field.

I have written the new field and the trigger, but I am confused about how this will count all of the values for before today. Is there a place in the extension I need to include another query? Is there other magic I am missing?

Thanks, Penny

1 Answer 1

2

When you go to Administer menu » Customize Data and Screens » Summary Fields, the last option is When should these changes be applied?. Your summary fields will be primed at the time selected. If you want to look at the code, the function is sumfields_gen_data.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.