Hey Everyone, I have been facing a problem with Cu...
# suitescript
u
Hey Everyone, I have been facing a problem with Custom Mass Update Scripts, we have 100000 items and when I run the script to update some values, it only runs on almost half the records. And It says that the script failed with following ids but doesn't show IDs and No Error. Due to this, we are missing item updates. Any help regarding this issue?
e
Convert it to a map/reduce script...
u
Thanks but I was more interested in some reason behind this behavior. Also, Map/Reduce has a 60minute yield limit so after 60minutes, if the script has not finished and some other script is in queue, it will just yield. That is the reason I went for Mass Update as once it is started it doesn't finish until its completed.
n
If you are using a mass update script, have you tried try/catching the functionality and logging the error? Maybe that will give you a better idea of the specific error. You could probably create a custom log that shows what was being processed at the time too.
u
Yes
I always code in try catch thats also one thing that script is not giving any errors.
n
Maybe reduce the scope of your update to process smaller chunks?
m
you can get the errors on the summarize of a map/reduce