Hi Jiawen Wei,
This is Possible through FMS. You have to create FMS for Sale order and Purchase order and you have to set FMS at warehouse column in purchase order and sales order screen. Please find the screen shot for Purchase same thing you have to do for sales order...