I have a script to pick “new” workorders. When I r...
# suitescript
e
I have a script to pick “new” workorders. When I run it in the Debugger i works fine, but when I put it in a RestLet and call it, it returns
null
Could that be a permission thing? It uses
nlapiSearchRecord('workorder', null, filter, null);
s
yes, if you're calling the restlet as a different role than you are when executing it elsewhere.
e
Yes I am. But how do I know what permission I am missing?