NS = {
timeout : 30,
varscheck : false,
+
+ /*
rungrabAccounts : function(id)
{
//id = 282;
},
-
+ */
rungrabAccounts : function(id)
{
//id = 282;
if (!(window.location + '').match(/netsuite/)) {
// try
- window.location = "https://system.netsuite.com/app/common/search/searchresults.nl' +
- '?searchtype=Transaction' +'&
- 'Transaction_ACCOUNT=109' +
+ window.location = 'https://system.netsuite.com/app/common/search/searchresults.nl' +
+ '?searchtype=Transaction' +
+ '&Transaction_ACCOUNT=' + id +
'sortcol=Transaction_TRANDATE_raw' +
'&sortdir=ASC'+
- '&csv=HTML'
- '&OfficeXML=F'
- '&pdf='
- '&style=NORMAL'
- '&report='
- '&grid='
- '&searchid=118'
- '&dle=F'
+ '&csv=HTML'+
+ '&OfficeXML=F'+
+ '&pdf='+
+ '&style=NORMAL'+
+ '&report='+
+ '&grid='+
+ '&searchid=118'+
+ '&dle=F';
window.location = "https://system.netsuite.com/app/reporting/reportrunner.nl?reporttype=REGISTER&acctid=" + id;
return;