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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
nlapiSearchRecord problems with parent field
I have a custom record (customrecord_audio_demo) with a few fields. One of them is a list/record(Item) type where "Record is Parent" is checked. That field's ID is custrecord_audio_demo_parent.
The following code gives me the error "An nlobjSearchFilter contains an invalid operator, or is not in proper syntax: custrecord_audio_demo_parent"
// "id" is the internal ID of the item var demoFilters = [ new nlobjSearchFilter( 'custrecord_audio_demo_parent', null, 'is', id), ]; searchResults = nlapiSearchRecord('customrecord_audio_demo', null, demoFilters, null); What's weird is that I have another record set up, also with the item as parent, and earlier in the
0