Read our blog for the latest insights on sales and marketing Take Me There

Webinar: Use Sugar Data to Easily Generate Complex Documents Register

Webinar: Advanced Calendar Solution for Sugar Register

Sugar User Group: Calculated and Dependent Fields in SugarCRM

by Lydia Teffera on February 3, 2014

3 minute read

In January, Amanda Anderson and Aaron Wine hosted a user group on calculated and dependent fields in SugarCRM. The session covered how to create dependent fields, most common use cases for calculated fields and updates on Sugar’s upcoming releases. Aaron and Amanda wrapped up the session with a Q & A discussion. Below are the video recording, and some of the questions and answers from the event.

Sugar User Group Q&A

Would it be possible to calculate a type of sub panel item. For instance, count only outbound calls?

Unfortunately this is not available straight out of the box. However, we can do this via a simple custom code snippet.

Will concat() work in real time as fields are updated?

Yes, even if you don’t save while you’re making changes, it will automatically update the field in question.

Can you select multiple "dropdowns" in a formula field? Say you want X to show up if either A or B is selected.

Yes, you can use multiple fields in the formula editor and you can also use the ifelse() function to provide different paths to get your data.

Is it possible to have calculated fields update automatically without having to save the record?

If you are talking about having it calculated while you are editing, then yes, it will update before saving. If you are talking about having the fields recalculate automatically, then you will either need to do a mass update and save periodically or have some workflows in the workflow management that will re-save the record. This is typically used for roll-up fields when the children records change.

Can you explain what inbound and outbound means?

That is just the call’s direction. If someone calls me it’s inbound and if I call someone then it’s outbound.

How is the call data populated automatically?

If you’re referencing a whole record, you can import the data or use custom code to integrate your phone system (using Twilio) to integrate it into Sugar. But if you’re referring to a calculated field data than just check the checkbox labeled “calculated field” and add the formula you want.


To register for the next SugarCRM User Group, click here. If you have any additional questions or want to learn more, contact us here

Subscribe to our newsletter

Select the topics that interest you:
Sign up and stay updated on new W-Systems content and announcements. Read our privacy policy.