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!
Deposit Script to Allow Deposit Import
Hi-we tried the suiteanswers script (below) to see if we can do the workaround to allow for bank deposit imports, and it won't work. NetSuite states we'll need custom work by them to get it working. Anyone figure out how to get this to work?
// load csv file from file cabinet
var arrLines = nlapiLoadFile(1913).getValue().split(/\n|\n\r/);
// loop to get all lines
for (var i = 1; i < arrLines.length - 1; i++) {
var content = arrLines[i].split(',');
// add the columns of the CSV file here
var customer = content[0]; //first column
var payment = content[1]; //second column
// create customer deposit using fields from csv
0