# Do not allow entry without Sale Order or Delivery Order

**YouTube:** [How to Restrict Sale Bill Entry Without a Sale Order or Delivery Order ?](https://www.youtube.com/watch?v=NSuUX6exIk0)

## How to Restrict Sale Bill Entry Without a Sale Order or Delivery Order ?

This feature ensures that users **cannot enter items in a Sale Bill** unless they are retrieved from a corresponding **Sale Order or Delivery Order**, thereby enforcing proper order tracking and process control.

***

### **Enable Restriction in Sale Voucher Configuration**

* Navigate to the **Sale Voucher Configuration**.
* Select the desired **Series** from the dropdown list.
* Navigate to the **Other Settings – 3** tab.
* Locate the option: **"Do not allow entry without"**.
* From the dropdown, select either:
  * **N/A -** By default, this option is set to "N/A".
  * **Sale Order**
  * **Delivery Order**

<figure><img src="/files/tHJkG1XdZv8ybOSzhgG2" alt=""><figcaption><p>As mentioned above, follow the given steps and select the appropriate option from the dropdown as per your requirement.</p></figcaption></figure>

* Click **Save** to apply the configuration.

***

**2. Create a Sale Bill Using an Existing Order**

* Navigate to the Billing and create a new "**Sale Bill".**
* Select the **Customer Name**.
* Click on **Retrieve Order**.
* Choose the relevant **Sale Order** from the list and retrieve the items.
* **Attempt to Manually Add an Item**
  * Try adding an item **manually** (not from the retrieved order).
  * Attempt to **save the voucher**.
    * **System Alert:** “Entry without Sale Order not allowed.”
  * Remove the manually entered item from the voucher.

<figure><img src="/files/If65tIzfawV0pXDp1hjJ" alt=""><figcaption><p>As you can see in the picture, the software has prompted that you cannot create a sale bill without a sale order.</p></figcaption></figure>

***

**4. Save Voucher with Only Retrieved Items**

* Ensure the voucher contains **only the items retrieved** from the Sale/Delivery Order.
* Click **Save**.
  * The voucher is saved successfully.

***

#### **Key Benefits**

* Enforces order compliance and prevents unauthorized sales.
* Eliminates data entry errors by ensuring sales align with prior orders.
* Enhances inventory and order management accuracy.


---

# 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/sale-voucher-configuration/other-settings-3/do-not-allow-entry-without-sale-order-or-delivery-order.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.
