> 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/assign-stock-to-delivery-orders/assign-stock-to-delivery-orders-configuration/box-no.-validation-as.md).

# Box No. Validation As

**YouTube:** [How to Enable Box Number Validation While Assigning Stock to Delivery Orders?](https://youtu.be/MDQMV79PLCU)

## How to Enable Box Number Validation While Assigning Stock to Delivery Orders?

In this tutorial, we’ll learn how to use the **“Box No. Validation As”** option in the **Assigned Stock to Delivery Order** window of Logic ERP. This setting allows users to control packing box number validation by permitting duplicate box numbers, preventing duplicate entries, or validating box numbers against the Packing Box Master.

**Let’s get started!**

***

### Access to the Configuration

* Navigate to the **Order Processing** module.
* Open the **Assigned Stock to Delivery Order** window.
* Click to open the configuration window.
* Under **General Options**, locate the option labeled as:

> **“Box No. Validation As”**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fdz0L2pxqlP6BcLNNAVcu%2FCNF%20-%20None.png?alt=media&amp;token=2c7f9631-0a9b-43e9-b872-15f71d715834" alt=""><figcaption></figcaption></figure>

* By default, this option is set to **None**.

**Let’s first explore the default behavior before applying any box number restrictions.**

***

### Verify the Default Setting — None

* Keep **“Box No. Validation As”** set to **None**.
* Return to the **Assigned Stock to Delivery Order** window.
* Search for and select the required delivery order.
* Enter a packing box number.
* Scan the item codes and assign stock to the box.
* The system allows stock assign regardless of whether the box number has been used previously or exists in the Packing Box Master.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FdcITnrDM1aJUUzjLShBm%2FNone%20-%201.png?alt=media&amp;token=2d3c5035-e373-41c1-96d2-b55752b5f7dd" alt=""><figcaption></figcaption></figure>

**This confirms that the default setting does not enforce duplicate box number checks or Packing Box Master validation.**

***

### Prevent Duplicate Box Numbers

* Return to the configuration window.
* Set **“Box No. Validation As”** to **Do Not Allow Duplicate Box Number**.
* Save the configuration changes.
* Start a new entry in the **Assigned Stock to Delivery Order** window.
* Search for and select the required delivery order.
* Enter a packing box number that has already been used.
  * The system blocks the scanning process and displays an error message.

> Packing Box No. CRT already exists. Please change to continue.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FLit5MM7w1ZLbZ2zrrZWk%2FDuplicate.png?alt=media&amp;token=282e80f8-6c12-44f3-876a-afe666429cac" alt=""><figcaption></figcaption></figure>

* Enter a new, unused box number to continue scanning and assigning stock.

**This confirms that duplicate packing box numbers are not accepted when this validation option is selected.**

***

### Validate Box Numbers Against the Packing Box Master

* Open the configuration window again.
* Set **“Box No. Validation As”** to **Validate Box Number from Packing Box Master**.
* Save the configuration changes.
* Start a new entry and select the required delivery order.
* Enter a packing box number that has not been created in the Packing Box Master.
  * The system displays an error message indicating that the box number does not exist in the Packing Box Master.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F2nVWRS8sl4tbYGk6z7Il%2FCHD-1.png?alt=media&amp;token=eadaf622-7214-40eb-8574-79aa1f72d527" alt=""><figcaption></figcaption></figure>

* Now, enter a box number that is already defined in the Packing Box Master.
* The system accepts the valid box number and allows you to scan items and assign stock to the delivery order.

**This confirms that stock can be assigned only after entering a box number that exists in the Packing Box Master.**

***

### Conclusion / Result

* **None:** Allows stock assignment without checking for duplicate box numbers or validating against the Packing Box Master.
* **Do Not Allow Duplicate Box Number:** Prevents users from using a packing box number that has already been used.
* **Validate Box Number from Packing Box Master:** Accepts only box numbers defined in the Packing Box Master.
* **Key Benefit:** These validation options help maintain accurate box records and ensure that packing box numbers follow the required rules during delivery order processing.

**By configuring the appropriate box number validation, users can control how packing boxes are selected and ensure more accurate stock assignment in Logic ERP.**


---

# 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/order-processing/assign-stock-to-delivery-orders/assign-stock-to-delivery-orders-configuration/box-no.-validation-as.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.
