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.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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