When trying to set the custom field value as true in summary function of map reduce script in inventory count. Error occurred after setting Field value using Record.submitFields. Exact reason not getting. But this is solved by load the record and set field by setValue.