From the docs "Be aware that you cannot write to a script parameter using SuiteScript. Although you can read from these fields, you cannot write to them. The only time you can pass a value to a script parameter outside of the UI is when you call nlapiScheduleScript(scriptId, deployId, params). "