This only appears to happen when the script runs o...
# suitescript
c
This only appears to happen when the script runs on schedule - manual execution updates 100% of the items that are returned in the JSON.
e
You should add a try/catch block in the map stage and print any error, you might be trying to update the same record that other user/script is editing at the same type. Log the errors and you will figure it out.
c
Thanks for the suggestion
👍 1
I'm adding this now
I know there's nothing else happening to those item records at 1am though, and it's a high number of records that are not saving.