> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/user-access/logic-global-admin/sale-return/do-not-allow-blank-challan-no.-in-case-of-sale-return.md).

# Do Not allow Blank Challan No. in case of Sale Return

**YouTube:** [How to Make Challan No Entry Mandatory in Sale Return?](https://www.youtube.com/watch?v=ScaFTuS7flE)

## How to Make Challan No Entry Mandatory in Sale Return?

In this tutorial, we’ll demonstrate how to enable a validation feature in Logic ERP that **prevents saving a Sale Return entry** if the **Challan Number** is left blank. This ensures data accuracy and compliance during return transactions.

***

### **Enable the Setting in Logic Admin**

* Launch **Logic Admin**.
* Navigate to **Global Settings**.
* Go to the **“Sale Return Settings”** section.
* Locate and enable the option labeled: **"Do Not Allow Blank Challan No. in Case of Sale Return"**.

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

* Click **Save** to apply the changes.
* Restart the software to activate the new setting.

***

### **Implement the Validation During Sale Return Entry**

* Open the **Sale Return Voucher** screen.
* Try to save a return entry **without entering a Challan number**.

> The software will display a prompt:\
> \&#xNAN;**"Please fill in the Challan number."**

<figure><img src="/files/8NaIRhj1V6DMlPTrFYKx" alt=""><figcaption></figcaption></figure>

***

### **Enter Required Challan Details**

* Navigate to the **“Other Details”** section of the voucher.
* Enter the **Challan Number** and **Challan Date**.

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

* After filling in the required fields, click **Save**.

> The entry will now be saved successfully.

***

### **Conclusion**

By enabling the **“Do Not Allow Blank Challan No.”** option, Logic ERP ensures all sale return vouchers include mandatory Challan references. This feature helps maintain transaction accuracy and traceability.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/user-access/logic-global-admin/sale-return/do-not-allow-blank-challan-no.-in-case-of-sale-return.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
