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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Trying to get values from a scripted search
All,
I'm attempting to do a server side script that will perform a search. Once done, I would like to take a value from the search results and pass it into a field on a record.
The search works great. But no matter what I try to get the field values, I keep getting the following error:
[CODE]system UNEXPECTED_ERROR 5/17/2009 23:45:33.274
Java class "[L.nlobjSearchResult;" has no public instance field or method named "getValue". (debugger$debugger.user#21)[/CODE]
[PHP]
var vtrenzId = nlapiLookupField('contact','contact','custentity_ima_id');
var arrSearchFilter = new Array();
arrSearchFilter[0] = new nlobjSearchFilter('custrecord_vtrenzid',null,'contains',vtrenzId);
var arrSearchColumn = new Array();
I'm attempting to do a server side script that will perform a search. Once done, I would like to take a value from the search results and pass it into a field on a record.
The search works great. But no matter what I try to get the field values, I keep getting the following error:
[CODE]system UNEXPECTED_ERROR 5/17/2009 23:45:33.274
Java class "[L.nlobjSearchResult;" has no public instance field or method named "getValue". (debugger$debugger.user#21)[/CODE]
[PHP]
var vtrenzId = nlapiLookupField('contact','contact','custentity_ima_id');
var arrSearchFilter = new Array();
arrSearchFilter[0] = new nlobjSearchFilter('custrecord_vtrenzid',null,'contains',vtrenzId);
var arrSearchColumn = new Array();
0