Using node reference question
You can use a view to show the nodes that can be referenced, have a look at the settings of the widget, it's been a while since I used D6, but if you select title and code inside your view it should be visible when you edit a Material node.