How we can update blank product dimesion on purchase requisition form

Hello frnd.....


I have scenario , i want update blank product dimension on purchase requistion details form by clicking a normal buttton . If anybody how we can do that then please help me..


I'm already add a normal button and try to code on click method to update blank product dimension ( config, size and color ) on purchase requisition form.