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!
Parameter Value equals 'undefined' in Scheduled Script
Using the NetSuite UI, I have been trying to use parameters in my scheduled scripts.
On the script's parameter tab, i specify a simple Free-Form text parameter.
On the deployment's parameter tab, i specify the value.
When running the script using nlapiLogExecution, i see that the parameter's value is undefined. I am using the parameter's id in the script.
1.On the UI, i am unsure of the 'Insert Before' option on the Display tab of the parameter. Must i do something here?
2. Must i pass in the parameter to the javascript function of my scheduled script? Either way, the parameter's value is undefined...
0