I also created parameters for the scheduled script under the parameter tab
l
Luiz Morais
06/23/2020, 3:43 PM
On Scheduled scripts, the parameter is type (event of this script execution), there is no request. This script looks like a Suitelet. For Suitelets, you should use nlapiRequestURL
Luiz Morais
06/23/2020, 3:45 PM
Also, to get parameters on Scheduled scripts you should get this from nlapiGetContext().getSetting("SCRIPT", yourParamName);