I have one problem. I defined under date management one new DURATION. Now I calculate this duration according to some dates and want to fill this Duration date type with my calculated value.
I tried using functions CRM_APPT_MAINTAIN_SINGLE_OW and CRM_APPT_MAINTAIN_MULTI_OW but I'm unable to fill this duration with value. If I try filling field timestamp_from of some DATE TYPE, it works OK. But I can't fill the field duration of DURATION date type.
Help will be appreciated.