Choose something--> write something

Hi, I have one issue regarding to customized properties.

In our facility we have principle of internal material P/N. Our Engineering needs to have also material and raw material size described in the DWG BOM. Because I want to work without Excel I need to prepare customized formula like attached as the picture.

I need to choose internal material P/N (1), automatically see material description (2), fill size (3,4). This is what I need - only informative text about material shown (can be used into another functions/macros)

SolidworksBill Of Materials