# Inventory Management

{% hint style="info" %}
To manage the inventory of green coffee (both single origin and blends), you must first create the relevant green coffee information that you want to track. Please refer to the [Green Coffee Information Management page](https://docs.firescope.io/v/en/key-features/managing-green-coffee-single-blend-information) and set up the inventory before proceeding.
{% endhint %}

## Managing Inventory Through Roasting Data

When you've set up green coffee inventory details, any quantities entered during roasting will automatically update the inventory.&#x20;

1. On the roasting page, select or create green coffee details, then input the roast quantities.
2. Saving this will adjust inventory: input decreases green coffee stock, while output increases roasted bean inventory.&#x20;

<figure><img src="/files/Vj1Wo2TtSdl1XxqBOuV3" alt=""><figcaption><p>Update inventory by entering green weight and roasted weight in a roasting record.</p></figcaption></figure>

## Inventory adjustments vary for blends depending on the blending method.

* Pre-blends: the inventory of individual green coffees decreases according to their percentage in the blend's input, and the resulting blend's output increases the bean inventory.
* Post-blends: since the post-blend is treated as a single coffee before roasting, the inventory of the individual green coffees decreases. After roasting, the post-blend is added to the bean inventory based on the composition ratio used.

## **Direct Inventory Record Editing**

To edit inventory records for your green coffee (single/blend), follow these steps:

1. Find and select the green coffee you wish to modify.&#x20;

<figure><img src="/files/4RSIzaX5kRqNZzS9x4Gx" alt=""><figcaption></figcaption></figure>

2. Click the "Create" button, and a form will appear.&#x20;

<figure><img src="/files/NW3PZQMWQNU1T70ikl6z" alt=""><figcaption></figcaption></figure>

3. Fill in the record date, and update the green coffee and bean quantities as needed. You can also add a note for context.&#x20;

<figure><img src="/files/lDxl3vsNADvke8CJ6fd4" alt=""><figcaption></figcaption></figure>

3. Press the "Submit" button to save the changes. &#x20;
4. In the inventory log, hover over any record to edit or delete it as necessary.

<figure><img src="/files/DkunchIuncY1vXuxSb9w" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To see how inventory management works with other features to help you manage your roast smoothly on Firescope, [check out our video](https://www.youtube.com/watch?v=MV9zqd-bxJc)!
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.firescope.io/en/key-features/inventory-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
