nsinject.js
authorAlan Knowles <alan@roojs.com>
Tue, 25 Sep 2012 07:03:30 +0000 (15:03 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 25 Sep 2012 07:03:30 +0000 (15:03 +0800)
nsinject.js

index 1b0adee..d3b1243 100644 (file)
@@ -131,6 +131,7 @@ NS = {
             'https://system.netsuite.com/app/common/search/searchresults.csv' +
             '?searchtype=Transaction' + 
             '&Transaction_ACCOUNT=' + id +
+            '&Transaction_DEPARTMENT=2' + // hk
             '&sortcol=Transaction_TRANDATE_raw' +
             '&sortdir=ASC'+
             '&csv=Export'+
@@ -141,6 +142,7 @@ NS = {
             '&grid='+
             '&searchid=118'+
             '&dle=F',
+            
             {
                 id: id,
                 //reportaction: 'exportcsv',