Anyone come across this error? what is it referrin...
# suitescript
g
Anyone come across this error? what is it referring to?
Copy code
type: "error.SuiteScriptModuleLoaderError",
   name: "MODULE_DOES_NOT_EXIST",
   message: "Module does not exist: /SuiteScripts/scheduledamorupdate.js",
   "stack": []
n
In the define statement of the script, it is trying to load a file at that location
/SuiteScripts/scheduledamorupdate.js
The error is saying that the script file isnt there
g
@Nathan L thanks... it was renamed... quick question when you are updating a checkbox transaction body field, what value do you pass through? is it true or t or something else? below is what I have and it is failing hence.. currentRecord.setValue({ fieldId: 'custbody_tickbox', value: 'true' });
n
yep its true just without the single quotes.
Copy code
currentRecord.setValue({
        fieldId: 'custbody_tickbox',
        value: true
      });
s
While renaming have you given the File name only or included .js as well ?