Hello,
I have a custom formula in SugarCRM that calculates New Annual Recurring Revenue:
ifElse(
equal($arr_yes_no_c,"Yes")
,ifElse(
equal($product_type,"Renewal")
,0
,ifElse(
equal($product_type,"Renewal_with_upsell")
,subtract($discount_price,$renewal_arr_c)
,ifElse(
greaterThan(subtract($discount_price,$renewal_arr_c),0)
,subtract($discount_price,$renewal_arr_c)
,0
)
)
)
,0
)
I would like to modify, to add another condition. However, this condition includes Service Duration Unit - I cannot find a field name for it, do you know where can I find the Field Name (not Display Label) for it?