CLSN-1771 : set status error if all records go to error.