This started about a week ago sandbox was refreshed about 3 weeks ago so all should be a copy of prod. The map/reduce script that does some reconciliation and then creates a Deposit is working smoothly in sandbox but in production just stopped working a week ago and the error we get is the RECORD_HAS_BEEN_CHANGED. I've checked and there are no workflows running on this record no other scripts other that the regular drag and drop and sticky notes bundle and in my script I only do one record.create and record.save and that's for the Deposit. I do have some search.lookupFields and record.submitFields but i'm purposely avoiding any other record.load to not be editing a record at the same time.
Any ideas what else could be causing this? I'm running our of ideas. I've tried many different ways to create the transaction Deposit but I get the same error.