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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Please note that on Friday, March 20, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 4 hours. 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