Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
I Can't insert multiple values for a Multiple Select field (script)
I'm trying set multiple values for a Multiple Select field but I can't, ever sends the Error Invalid reference key [null]. Please I need help this is my script...
///////////////********************************////////////////////////////////
for (var j=0; j<TarSigts.length; j++){
TarSigt = new Array();
TarSigt = nlapiGetFieldValue('custevent_task_scsras');
TarSigt = TarSigt.split(" ");
filter[0] = new nlobjSearchFilter('internalid', null, 'is', TarSigt, null);
columns[0] = new nlobjSearchColumn('custrecord_task_rspnsble');
columns[1] = new nlobjSearchColumn('custrecord_task_ntfy');
columns[2] = new nlobjSearchColumn('altname');
columns[3] = new nlobjSearchColumn('custrecord_task_sncrnia');
columns[4] = new nlobjSearchColumn('custrecord_prcess_trea_sgnte');
result = nlapiSearchRecord('customrecord_process_tasks', null, filter, columns );
var idC = nlapiGetFieldValue('company');
var x = getUserName(idC);