Globally delete the letter code from all action records before deleting the letter code from Configuration > Letters.