# View history

At the moment, you can view the history only for each stock item separately. To do this, on the Stock page, click the view history button:

<figure><img src="/files/7DgfbWy8ggVj4NDmeebw" alt=""><figcaption></figcaption></figure>

The pop-up window containing the history of the amount of material in stock looks like this:

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

On the image:&#x20;

1. The name of the item and its category.&#x20;
2. The amount of items in stock.&#x20;
3. The history of the operation in the form of a table. Sort from new to old. Table content:&#x20;
   * date and time of the operation;&#x20;
   * the number of items that have been written off or added;&#x20;
   * a comment;&#x20;
   * the source of the changes;&#x20;
   * cost per item, at the time of the transaction (information is available only for transactions related to the introduction of expenses);&#x20;
   * total cost in MXN (information is available only for transactions related to the payment of expenses);&#x20;
   * total cost in USD (information is available only for transactions related to the payment of expenses);&#x20;
   * the name of the operator that performed the operation.
4. Button to close the popup.


---

# 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://maxbasev.gitbook.io/santa-maria-dashboard/en/menu/stock/view-history.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.
