> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dentolize.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How do materials get deducted automatically when a procedure is done?

> Link an inventory item to the procedures that use it, so the Usage form opens with the right amounts after each treatment.

**Short answer:** link the item to the procedure in **Inventory → Items** → **Edit Item** → **Inventory Usage**; when the treatment is completed, save the **Usage** form as **Completed** to deduct the stock.

**1. Open the item**

Go to **Inventory → Items**, open the item and click **Edit Item**. Scroll to **Inventory Usage**.

**2. Add the procedure**

Click **Add Procedure**, choose the procedure and the **Amount used in single procedure**. Choose **After Procedure** or **After Procedure Steps**. Click **Update**.

**3. Complete the treatment**

When the treatment is marked **Completed** on the chart, the **Usage** form opens with the item and amount.

**4. Save as Completed**

Check the amount and the **From** storage, set **Status** to **Completed** and click **Create**.

![Inventory Usage section of the item form](https://mintcdn.com/dentolize/KruD5iIWL7j-H9K_/images/en/inventory/linking.webp?fit=max\&auto=format\&n=KruD5iIWL7j-H9K_\&q=85\&s=761a4efc1b65458fa7b6891c77c96bd3)

> [!WARNING]
>
> Nothing is deducted until the **Usage** form is saved as **Completed**. Closing the form without saving records nothing.

> [!TIP]
>
> For items used in every treatment, such as gloves, choose **All Procedures** instead of adding each procedure.

**Full guide:** [Linking Items](https://docs.dentolize.com/en/inventory/linking-items.md) and [Recording inventory usage](https://docs.dentolize.com/en/dr-cycle/inventory-usage.md)

***

> [card] Still stuck?
>
> Send us a message in **System Chat** inside Dentolize with a screenshot, and tell us which step didn't work. Tip: next time, search this site first. Most answers take less than a minute.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.