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
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