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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Displaying a nice alert after page load
I'm a newbie to Suitescript 2.0 so I'd like to use the alert functionality to highlight to users when a Purchase Order is still 'Unapproved'
I excitedly read the SuiteAnswers article N/ui/message Module
The article gave me some code snippet but I cannot get it to work. This is where I am up to. I have multiple errors that when I upload dont make sense to me.
I tried adding the log module, but that seem to have complicated it also.
When I try to create scripted record, this current version throws : Fail to evaluate script: {"type":"error.SuiteScriptModuleLoaderError","name":"UNEXPECTED_ERROR","message":"missing } after property list (SS_SCRIPT_FOR_METADATA#26)","stack":[]}
2