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.
nlapiScheduleScript is not defined
Hi Guys,
I've added a button on an SO using a User Event script, nothing remarkable.
The function it calls is in the same script, little logic to decide if a scheduled script needs calling and some parameters initialised ready to pass to the SS.
When I actually do
nlapiScheduleScript('customscript_nbs203_po_for_restorers_ss', 'customdeploy_nbs203_po_for_restorers_ss', params);The script returns an error of "nlapiScheduleScript is not defined" ?
Really bemused by this.
I wondered if it was a "bad error message" and the script / deployment id's was the issue but I've triple checked that and the paramaters and even tried it without the paramaters.
0