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 :
Comments
Post a Comment