James Morris
04/30/2019, 7:47 PMSiena
04/30/2019, 8:25 PMJames Morris
05/01/2019, 6:04 PMJames Morris
05/01/2019, 6:04 PM{
"type": "error.SuiteScriptError",
"name": "SSS_MISSING_REQD_ARGUMENT",
"message": "create: Missing a required argument: type",
"stack": [
"createError(N/error)",
"beforeSubmit(/SuiteScripts/Set_Prj_Task_ExtID.js:51)",
"createError(N/error)"
],
"cause": {
"name": "SSS_MISSING_REQD_ARGUMENT",
"message": "create: Missing a required argument: type"
},
"id": "",
"notifyOff": false,
"userFacing": true
}
Siena
05/01/2019, 6:11 PMerror
really corresponds to the module N/error
and not some other module with a create
function that requires options.type
such as N/query
or N/record
or N/search
? I know that seems dumb but that's the first thing that came to mind. Check that your define statement's array of modules corresponds correctly to the variable names.