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
Cannot filter message search by internal ID?
Hi-
We have an after submit user event script that creates a task and marks it as complete every time that an outgoing email is sent to a customer or contact. The script only catches outgoing emails, so step one is to figure out if the message is outgoing or incoming. To do this we need to grab the messages internal ID, and run a search with the column 'isincoming'. The problem is that we keep getting the following error:
"An nlobjSearchFilter contains an invalid operator, or is not in proper syntax: internalid."
I have tried both--
var messageid = nlapiGetRecordId(); //Get Message internal ID
0