Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
missing ; before statement (WHY?)
Hi, can someone tell me why the following codes cause the error shown below?
---------------------------------------------------
var adminEmail = new Array();
var emailAuthor = '000000';
var adminEmail[0] = 'someone@someone.com';
var emailTitle = 'NetSuite Script Execution Report';
var reportBody= '***************************************\n' +
'Script ID#: 97\n' +
'Total records on the search: '+ totalRecords + '\n' +
'***************************************';
nlapiSendEmail(emailAuthor, adminEmail, emailTitle, reportBody, null, null, null);
---------------------------------------
Title UNEXPECTED_ERROR
Type System
Date & Time 6/2/2009 9:51 am
Details missing ; before statement (script#97.js#27)