# Prompt for Lot Number before saving (Purchase/Challan)

YouTube: [How to Enable Lot /Batch No. popup before saving in Purchase?](https://www.youtube.com/watch?v=Ifn5PJclfeA)

## How to Enable Lot /Batch No. popup before saving in Purchase?

In this tutorial, we will guide you through the steps to configure a **prompt** for entering a **default LOT number** before saving a **purchase voucher or challan**. This ensures accuracy in inventory management and prevents missing LOT details.

### Steps to Configure Default Lot Number Prompt

* Navigate to the "Purchase Voucher Configuration".
* Locate the option "Prompt for Lot Number before saving (Purchase/Challan)".
* Tick the checkbox to activate this validation.

<figure><img src="/files/9llKJRHiTohDobQXT2j5" alt=""><figcaption><p>Let's keep this feature enabled to observe its Impact.</p></figcaption></figure>

### **Observe Impact on Purchase:**

* Create a New "Purchase Voucher".
* As soon as you define the **item** and its **details** and proceed to save, the software will pop up a window prompting you to enter the **default LOT number**.

<figure><img src="/files/Mk11iOGHo8C5bNf9gvNM" alt=""><figcaption><p>This picture illustrates that you need to <strong>enter the LOT number</strong> here.</p></figcaption></figure>

### Benefits

* **Organized Records:** All item stocks in a purchase will be recorded under the same lot number.
* **Error Reduction:** Confirms lot number before saving to prevent mistakes.


---

# 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-learning-hub-tutorials-and-best-practices/setups/configurations/purchase-voucher-configurations/other-settings-1/prompt-for-lot-number-before-saving-purchase-challan.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.
