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!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Passing a variable as an argument to record.getFieldValues not working
Hi everybody,
I am trying to look up multiselect values in an item record using a variable as the argument and I am getting null as a result. I am trying something like this:
function getColorSizeAndOther()
{
//Get the full list of matrix attributes (a custom record)
var filters = new Array();
filters[0] = new nlobjSearchFilter('isinactive',null,'is','F');
var columns = new Array();
columns[0] = new nlobjSearchColumn('custrecord_list_id');
columns[1] = new nlobjSearchColumn('custrecord_attribute_type');
var results = nlapiSearchRecord('customrecord_matrix_attribute',null,filters,columns);
//Sort the size attribute's technical field ids into an Array
var sizes = new Array();
var z = 0;
for ( var c = 0; results != null && c < results.length; c++ )