Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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);