Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Porlet Script Help
Hi, I am really a beginner when it comes to js. I have recently tried to alter one of Netsuite's example portlet scripts to do what I want. Thiers was to give a Dashboard portlet of customers with balances over $5k. I wanted to display customers with overdue balances. I have finally got it running with no errors, however there are no results. I know there should be. Here is what I have, any thoughts?:
function overdueBalance (portlet)
{
portlet.setTitle( 'Customers with Overdue Balances' );
portlet.addLine('The following Customers have Overdue Balances',null,0);
var filters = new Array();
filters[0] = new nlobjSearchFilter( 'salesrep', null, 'anyOf', 164, null );
0