edit Consumable Code to Material Code