> 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/order-processing/sale-order/so-configuration/prompt-for-duplicate-order-number.md).

# Prompt for Duplicate Order Number

**YouTube:** [How to Enable Duplicate Order Number Prompt in Sales Orders?](https://www.youtube.com/watch?v=4FYVsPwBJLg)

## How to Enable Duplicate Order Number Prompt in Sales Orders?

This tutorial explains how to use the **“Prompt for Duplicate Order Number”** feature in Logic ERP. It demonstrates how enabling this option helps prevent duplicate sales order entries by alerting users when an already existing order number is entered, ensuring better control and accuracy in order management.

***

### **Objective of This Feature**

* Prevent creation of **duplicate Sales Order Numbers**
* Ensure **unique order identification**
* Improve **data accuracy and control**
* Avoid confusion in order tracking

***

### **Accessing Sales Order Configuration**

* Navigate to **Sales Order Module**
* Click on **Configuration**
* Select the relevant **Sales Order Configuration**

**Enabling Duplicate Order Number Prompt**

* Locate and enable the option labeled as:&#x20;

> **“Prompt for Duplicate Order Number”**

<figure><img src="/files/4XtiPslI4wscd9MK3Sj1" alt=""><figcaption></figcaption></figure>

* Click **Save**

***

### **Creating a Sales Order**

* Create a New Sale Order.
* Enter an order number that already exists (e.g., **21**)

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

**System Behavior**

* System immediately:
  * **Restricts the entry**
  * Displays an **information message**
    * Order number already exists

***

### **Key Benefits**

* Ensures **unique order numbering system**
* Prevents duplication errors
* Improves **data integrity and traceability**
* Enhances **order management efficiency**

***

### **Best Practice Tip**

* Always enable this feature in:
  * Multi-user environments
  * High-volume order processing setups

***

### **Final Outcome**

* Duplicate Sales Order Numbers are **automatically restricted**
* System maintains **unique and accurate records**
* Order tracking becomes **clear and error-free**
* Overall sales process becomes **more reliable and controlled**


---

# 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/order-processing/sale-order/so-configuration/prompt-for-duplicate-order-number.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.
