Service Duration Value

Hello,

I am trying to implement a formula: ifElse(contains($arr_yes_no_c,"Y"),divide($sub_new_arr_c,"service_duration_value"),"")

However, I am getting an error message: Unknown field: service_duration_value

Anyone knows the standard name for Service Duration Value?

Thanks!

Parents Reply Children
  • That's all quite new for me - need to read more on Vardefs.

    What you included:

    $dictionary['theClass']['fields']['the_field']['calculated']='true';
    $dictionary['theClass']['fields']['the_field']['formula']='ifElse(contains($arr_yes_no_c,"Y"),divide($sub_new_arr_c,$service_duration_value),"")';
    $dictionary['theClass']['fields']['the_field']['enforced']=true;

    Is that an example of how my formula can be embedded in the Extended Vardefs? 

    Where would I insert a ready formula?

    Thanks so much for your help on that
    Ada