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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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