# Do Not Allow Entry without Sale Nature for all documents

**YouTube:** [How to Restrict Bill Saving Without Selecting Sale Nature ?](https://www.youtube.com/watch?v=tWKXI3Sl7dU)

## How to Restrict Bill Saving Without Selecting Sale Nature ?

This tutorial explains how to **enforce the selection of Sale Nature** before saving any sales-related document in Logic ERP. This ensures accurate categorization and reporting of sales transactions.

***

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

* Open the **Logic** installation folder.
* Run **Logic Admin**.
* Navigate to **Global Settings**.
* Go to the **Sales Settings 1** tab.
* Locate and enable the option: **“Do Not Allow Entry Without Sale Nature for all documents”**.

<figure><img src="/files/sZGqsC7Ed0uGY3CspNjc" alt=""><figcaption><p>We will keep this feature enabled to evaluate its effect on the billing process.</p></figcaption></figure>

* Click **Save** to apply the changes.
* **Restart** the Logic ERP software for the setting to take effect.

***

### **Implement the Functionality**

* Open Logic ERP and attempt to **create a Sales Bill**.
* Try saving the bill **without specifying the Sale Nature**.
* The system will display an error message:\
  \&#xNAN;**“Please specify the Sale Nature. Entry without Sale Nature will not be allowed.”**

<figure><img src="/files/y8DizcdsqgWi7mQ0WKIk" alt=""><figcaption><p>The picture shows that when attempting to save the bill without specifying the Sale Nature, the system displays an error message.</p></figcaption></figure>

* This ensures that no transaction can be saved without this critical classification.

***

### **Define Sale Nature in the Document**

* To fix the error, click on the **Configuration** option within the document screen.

<figure><img src="/files/nxa1AVNSd25xPPesWbKT" alt=""><figcaption><p>The picture shows how to fix the error by selecting the appropriate Sale Nature from the dropdown in the Configuration option.</p></figcaption></figure>

* Select the appropriate **Sale Nature** from the dropdown list.
* Save the changes, then proceed with billing.

***

### **Optional: Define Sale Nature by Default in Ledger Setup**

* While creating or editing a **ledger/account**, go to the **Other Details** section.
* There you can set a **default Sale Nature** for that ledger.
* This ensures the Sale Nature is automatically picked during billing for that account.

***

### **Summary**

Enabling this setting helps maintain data integrity by enforcing sale nature selection in every billing document. It's a vital configuration for businesses needing detailed sales categorization and compliance in their ERP process.


---

# 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/user-access/logic-global-admin/sale/sale-settings-1/do-not-allow-entry-without-sale-nature-for-all-documents.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.
