Hi Guys, We have found out that the rbv_api.updateRecord statement does not accept zero values when updating a number of records. We are using a 2 dimensional array to manipulate the records to update.e.g rbv_api.updateRecord("loan_applicant", resultIDs[ctr][0], x); We tried assigning a non-zero values to variable x array and it works good.
I just deployed a fix for that, please try again.
Hi Pavel, the rbv_api.updateRecord statement still does not accept zero values when updating a number of records. Below are the codes for update.
while (ctr !=len){
var s = new Array();
// s["la_savings"]= 0; //It does not accept zero values
// s["la_savings"]= 1 // It accepts non-zero values.
rbv_api.updateRecord("loan_applicant", resultIDs[ctr][0], s);
ctr++;
Please advise us about this.
Thanks....
This script has been tested in rollbase.com environment and works fine:
var arr;
{!#LOOP_BEGIN.R11220474}
arr=new Array();
arr['counter'] = 0;
rbv_api.updateRecord("detail", {!R11220474.id}, arr);
{!#LOOP_END.R11220474}
Hi Jose,
It may not have been deployed to the .ph environment yet. Can you confirm this in the .com environment? If you need more formal followup I suggest submitting a support request.
Regards,
Matt
Hi Matt,
The issue is already fixed. The updates were done over the weekend ph environment.
Thanks,
Jose