Discussions
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...