Registry tables to delete to resolve this issue:
Make sure to export tables as a backup
then delete Tfrm Sales order014 and line Ftrmlinenote from the registry