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.I've looked in the help and it clearly states that "This API is supported in user event, portlet, scheduled, and Suitelet scripts." apart from the fact I've done this several times in the past over the last 3 years...