Does this error happen when you "select" your new material from the "Drop List", or does it happen when you manually type in the material number?
If it happens when you type in the material number, go back to the Material Database Editor and make sure you added an "All Codes" entry for the new material, not just the single entry for the Piping Code you're interested in.
_________________________
Regards,
Richard Ay - Consultant