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
Retrieving list of case messages using nlapiSearchRecord
Does anyone have an example of how I can retrieve and loop through all messages on a given support case using a scheduled script?
I'm assuming I'll have to use nlapiSearchRecord, but I'm not sure of how to specify the case number. I tried filtering by "record" but that does not accept the Internal ID of the case.
If anyone also has an easy way of sorting these messages by date in the search results that would also be great, but I can always sort this using array functions if need be.
0