Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Scheduled Script Parameter Problem
Hey guys,
I have a small issue.
I want to use a parameter from a user event to a schedule script:
User event code:
var params = [];
params['custscript2'] = stringA ; // stringA contains something like 1212|321312|13213|
nlapiScheduleScript('customscript47','customdeploy1', params);
Schedule Script:
var massUpdateType = nlapiGetContext().getSetting('SCRIPT','custscript2');
nlapiLogExecution('DEBUG','Le champ de a est: ',massUpdateType);
the debugs gives me a null. The scheduled scripts does starts, but the parameter is empty.
Anyone sees my error?
Thanks.
The debug I'm getting
View System Status set by System to COMPLETED 9/3/2008 1:02 pm it ration4 Remove
View Debug Le champ de a est: 9/3/2008 1:02 pm it ration4 Remove