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.
Multiple Select field search
var packages = nlapiSearchRecord('customrecord_package_info', null, new nlobjSearchFilter('custrecord_transaction_link', null, 'anyof', '47945,47944'.split(',')) , null);For some reason this code pukes saying it's contains an invalid search criteria for the transaction link field. It's just a Mutliple Select type and if I do an nlapiLoadRecord the record looks like this:
custrecord_transaction_link = {string} 47944 47945
(the results show them concatenated but in debugger, it's a collection)
if if just do a search column this happens:
An nlobjSearchColumn contains an invalid column, or is not in proper syntax: custrecord_transaction_link.
Any ideas?
Right now, I just loop through ALL of my custom records and look for the ids but that's VERY unnecessary for the purpose.
0