Stock Entry: defult value set

hello i want to set defult warehouse store in variable from_warehouse and to_warehouse when i select value from variable stock_enrty_type value like manufacture issue and manufacture receipt etc so auto fell company warehouse store in from_warehouse and to_worehouse.