Warehouse code was not always cleared after changing production order material PC

After changes in a production order material PC via import or API, the warehouse code (magw_code) was not always cleared when an item, formula, or material was modified. As a result, a previously entered warehouse code could be incorrectly retained, even though it appeared to have been removed.