php - SugarCRM Field Calculation example of ifElse -


i new sugarcrm. have requirement calculate field value through studio. but, in 1 of fields comes in denominator can 0. so, want modify formula through ifelse, how that.

example - if (field1>0){calcfield/field1} else(calcfield=0).

you can use calculated field , if else this:

ifelse(equal($status,"held"),1,0) 

for more information check link :

calculated field in sugarcrm


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -