# Sale Bill- Calculate Total Qty of Item from Amount

A new change has been made in the **Sale Bill** functionality. From now on, when you will enter the **Amount** value of an item, then the **Total Qty** will get automatically calculated and displayed for that particular item. But it will only work when Total Qty of the item is **Zero** or **Sale Rate** column is locked.

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


---

# 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/sale-bill-calculate-total-qty-of-item-from-amount.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.
