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
  • This field is not Studio enabled by default. In order to reach it you can configure the attribute formula via Extended Vardefs instead.

    $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;

    André Lopes
    Lampada Global
    Skype: andre.lampada
  • 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 

Reply
  • 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 

Children
No Data