Manually executing the search is functioning fine though
c
Craig
08/19/2020, 12:55 PM
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.
Craig
08/19/2020, 12:56 PM
I can't reproduce the issue when executing the script manually, it only happens when the script runs as per its schedule.
Craig
08/19/2020, 12:56 PM
I'll make sure to let you know when I look into it further.
s
stalbert
08/19/2020, 4:13 PM
NetSuite M/R is still an immature technology imho, so I don't get very surprised when they behave strangely.
c
Christiaan
08/20/2020, 5:38 AM
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
Craig
08/23/2020, 2:18 PM
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