A part warehouse code can be amended within the Part Maintenance screen. Material Management > Material Management > Setup