AnsweredAssumed Answered

How do you manually add Calculated Fields in Sugar CE  for time tracking?

Question asked by SimbaLion SimbaLion on Jul 10, 2014
Latest reply on Nov 11, 2016 by Francesca Shiekh
I want to add a field to tasks, project tasks, and notes, to display "Time Spent" in minutes or decimal hours, and then add those up for a "Total Time Spent" to be displayed on the project.

I see this is possible via these instructions http://forums.sugarcrm.com/f3/calculated-field-sugarcrm-ce-85291/ however I had a question not answered by that tutorial.

Specifically, how do I calculate the values of my new field based on those others? Do they all need different field names? I am guessing a simple PHP sum function is needed, but I'm unsure how to define the array.

Outcomes