# Automatically Retrieve Current Stock of Items in Sale Bill

YouTube: [Automatically Retrieve Current Stock of Items in Sale Bill](https://youtu.be/HEXwXKAm57o)

New option added in **Sale Voucher Configuration** to automatically retrieve the current stock of the item in the **Sale Bill** by setting “**Default Quantity As Current Stock**“.

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

When you enter items details in the Sale Bill, you will notice that the stock values of the items are automatically getting retrieved.

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

Note: The **Current Stock** value will depend on the Total Qty. assigned to the particular Lot Number associated with the item.


---

# 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://kb.logicerp.com/logic-erp-version-release-notes/november-2019/billing/automatically-retrieve-current-stock-of-items-in-sale-bill.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.
