Hey all, does anybody know how to check why a sear...
# suitescript
m
Hey all, does anybody know how to check why a searchTask from 'N/task' is failing, if it seems to be working fine in terms of export to CSV in the user interface?
b
you need to store the task id you get after submitting the task
and then use task.checkStatus after it fails to check the status
m
@battk Thanks. I know you can check the status... but is there any way to get more detail than 'FAILED'?
@battk Nvm. Found out what the issue was. SearchTasks cannot export to a csv which was edited to be completely empty for some reason...
(If you use 'Add File' to import an empty one, it works, but if you go in and edit it to be empty in Netsuite, it fails)