Code to handle trade ups in D&B registrations