checkDuplicateRecord used on amend too