Overall Stock Size

Is there a way for SolidWorks to automatically pick theoverall sizes of a part (Boundry Box type of thing) and insert thatsize into the bill of material under "StockSize". This size to beused to purchase materials.

Thanks for your help.
SolidworksAdministration