Part Number Entry

Good Morning,
I am trying to intercept the “Part Number Already Exists” warning on part number entry. I have methods directives set up to send up and informational message when they run in Part.ChangePartNumber, Part.CheckPartChanges, Part.GetNewPart and Part.PartUpdate methods both pre and post processing. They fire when I do transactions but when I enter a part number that already exists the error pops up first and shuts the methods down. I want to have a method that checks for duplicates and then does something else (ie assign a different number) instead of the error message.
Thanks,
Melissa

I do not use E9 but you could potentially use a beforeAdapter event in a customization to check and handle this.