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

# 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F8DAlWb3VtzyL5CebEDgQ%2FConfiguration.png?alt=media&amp;token=8c1f4775-5724-45a3-84bc-d3745e16c232" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FsT5I8N630kMqAKten5xN%2FPrompt%20for%20Sale%20Order.png?alt=media&amp;token=17bc8205-3ee8-403c-bd1a-f1b5c0c8f681" 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
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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
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>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
