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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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 retrieve message ID
I have a suitescript that sets case statuses based on incoming case reply emails. In order to do this, it is attached to the message record as a post submit script. It worked fine for a year and then suddenly stopped working some time in the last month (hard to tell when, since it's not used continuously.) Using some log statements, I found that the line:
var ID = nlapiGetRecordId();
now always returns "" or null. This of course means I can't use the script anymore.
Anyone have any ideas on what has changed or what is going wrong? I know that operations on message records have been sketchy, but my business depends on this functionality.
0