Gauge in Account page refers to another object

Posted by Sofiane Bouziri on 07-Jan-2016 16:36

Hi,

I created a gauge in the account object to present the number of invoices related to the current Account.

I add this formula, in the debug it returns the correct number but when i added the Gauge to an Account page there is no data.

var acct = rbv_api.getFieldValue("account",{!id}, "account_number");
return rbv_api.selectNumber("SELECT count(*) FROM invoice_ where account_number_ = ? ",acct);

Thanks,

All Replies

Posted by Karthikeyan Bhaskaran on 08-Jan-2016 06:02

Hello Sofiane,

Which Rollbase version are you using?

Posted by Sofiane Bouziri on 08-Jan-2016 10:18

Hi Karthikeyan,

Version 4.0.4 on my localhost with FusionCharts XT Trial.

Other graphs and Gauges work.

Thanks,

Posted by Mohammed Siraj on 10-Jan-2016 12:13

Sofiane,

This is an issue in Rollbase 4.x release. Will be resolved shortly.

Posted by Mohammed Siraj on 10-Jan-2016 22:52

Fix has been committed to 4.0.x release branch. Rollbase hosted cloud is scheduled to be updated on Jan 16.

This thread is closed