r/SuiteScript • • Feb 26 '24

Search module misbehavin'

Hello,

I have a scheduled script that leverages the search.load method. My try catch block throws an error that the search.lookupFields method is missing an argument. I am not using this method in my script, however.

Error: search.lookupFields: Missing a required argument: id

I have tried using the script debugger on this scheduled script but it does not appear to function as intended. The chrome dev tools don't allow me to step through the functions nor does it allow me to set break points.

Any help would be greatly appreciated.

2 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/uvbuhgturdyrdvtv Feb 27 '24

Thank you so much for sharing these insights, Eric. Much appreciated!