Manually executing the search is functioning fine ...
# suitescript
c
Manually executing the search is functioning fine though
c
I've not fully investigated yet but it sounds like we have a similar issue; my script is either acting on the same search result twice or it's failing on some search results for unknown reasons.
I can't reproduce the issue when executing the script manually, it only happens when the script runs as per its schedule.
I'll make sure to let you know when I look into it further.
s
NetSuite M/R is still an immature technology imho, so I don't get very surprised when they behave strangely.
c
It seems like when processing the paged results, that the result set is jumping. The suitescript documentation has a notice that the results of a saved search isn't cached so that probably is the reason why it's jumping but nevertheless it's very annoying and I have no watertight solution yet. Like said, upping the pageSize to the max of 1000 does help in our situation.
c
I'm only getting one result per search so that's probably not my issue - glad you found something to make it a little better though