# Bulk replace material

<p class="callout info">Products can be replaced in bulk across product BOMs or in work order item BOMs.</p>

To bulk-replace a product, open its details page and find the "Bulk replace products / work orders bom" section.

[![image.png](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-10/scaled-1680-/qRIimage.png)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-10/qRIimage.png)

Open it and follow the steps in it.

**1**. **Select material**

Select the product, that will replace the current product in BOMs, and set its quantity. There can be from one to several products selected to replace the current product.

![output.gif](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-10/output.gif)

**2**. **Select path**

Here you have to select which type of BOMs you will be updating (replacing the product in):

- **Update product BOM**: the product will be replaced in BOMs of selected products.
- **Update work order BOM**: the product will be replaced in BOMs of selected work orders.

![image.png](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-10/scaled-1680-/Nk7image.png)

**3**. **Select products (BOM)**

If the selected path was "**Update product BOM**", the next step is to select the products, whose BOMs will be updated.

![output.gif](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-10/giyoutput.gif)

**4**. **Select work orders (BOM)**

If the selected path was "**Update work order BOM**", the next step is to select work order(s), where work order item BOMs will be updated.

[![output.gif](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-10/F4Youtput.gif)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-10/F4Youtput.gif)

**5**. **Summary**

If we are updating the product BOM, the summary will list the products that will be updated. Clicking the "Remove material" button and confirming will perform the replacement/removal of material on selected products.

[![output.gif](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-10/fhfoutput.gif)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-10/fhfoutput.gif)

If we are updating a work order's BOM, the summary will list the products that will be updated.

[![image.png](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-10/scaled-1680-/3Ytimage.png)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2024-10/3Ytimage.png)

Clicking the "**Replace** **material**" button will replace material on BOMs of selected work order's items.

Clicking the "**Add** **material**" button will add material on BOMs of selected work order's items.