Both rbv_api.setFieldValue (...) and rbv_api.updateRecord(...) do not work in obj. script triggers for changing a group of checkboxes values. I've tried using both the integration code and ID to change the value of a group of checkboxes, but neither will work.
var x = new Array();
x["pay_method"] = 14004579;
//x["pay_method"] = "PHN";
rbv_api.updateRecord("test6",{!id},x);
and
rbv_api.setFieldValue ("test6",{!id}, "pay_method", "PHN");
These should update the "pay_method" group of checkbox field, but it does not.
Can you also look at my other post (about a week ago) about changing document template picklist field with object script trigger. I could not get that working either.
Thanks
I'll take a look ASAP.