> 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/inventory/warehouse-management-features-and-configuration-in-logic-erp/assign-stock-to-delivery-order-and-box-printing.md).

# Assign Stock to Delivery Order and Box Printing

## WMS – Assign Stock to Delivery Order and Box Printing

In this tutorial, we will learn how the picked stock is **packed into boxes** and **assigned to the Delivery Order**, and how each box is **printed**.

After picking, the stock comes to the packing area. Assigning it to the Delivery Order tells Logic ERP exactly which stock, in which box, is going to the customer. **Only assigned stock can be retrieved in the Sale Challan**, so this step must be completed before dispatch.

Logic ERP has two screens for this:

| Screen                                    | Used for                                                                                               |
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| **Assign Stock to Delivery Orders - B2C** | Single customer orders, such as online orders, packed one order at a time by scanning the order number |
| **Assign Stock to Delivery Orders**       | Business (B2B) orders packed into many boxes                                                           |

***

### Assign Stock to a B2C Delivery Order

* Navigate to the **Order Processing** module.
* Open **Assign Stock to Delivery Orders - B2C**.

**Find the Order**

* Scan or enter the customer's order number in **Party Order No.** This is the order number entered as **Party Order No.** on the Sale Order.
* If one pending Delivery Order matches, it opens. If more than one matches, choose the required one.
* You can also tick **Delivery Order** to search for the Delivery Order instead.

If no Delivery Order is found, the message *"Unable to found delivery order against Party Order No."* is shown with the number you entered.

**Scan the Items**

* Make sure a box number is shown in **Packing Box No.**
* Scan the barcode of each item as it is placed in the box.
* Each scan assigns the item to the Delivery Order, against the box shown.

***

### Box Number

The way the box number is given is set in the screen's configuration, under **Packing Box No. As**:

| Option                                           | Box number                                                                                                   |
| ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| **Manual**                                       | Typed by the packer                                                                                          |
| **Packing Slip No.**                             | The Delivery Order number is filled in automatically as the box number                                       |
| **Allow Packing Box No. Entry Only from Master** | Must be a box number created in **Setup\Set Other Item Details\Setup Packing Box Master**                    |
| **Auto Generated No.**                           | Logic ERP gives the next box number as soon as the Delivery Order opens, and again after each box is printed |

***

### Print Each Box

To print box by box, set these in the configuration:

* **Print Options** – choose the Delivery Order print design to use. Without a design, nothing is printed.
* **Print Options As** – choose **Print & Save If Box No. Changed**.

A **Print** button then appears on the screen.

* When a box is full, press **Print**.
* Logic ERP saves the stock packed in that box, prints the Delivery Order print design for that box only, and moves to the next box number.

**Box Details**

If **Prompt for Box Details If Box No. Changed** is on, pressing **Print** first opens the **Enter Delivery Order Box Details** window. Enter the **Gross Weight**, **Net Weight**, **Length**, **Width**, **Height**, **Outer Box No.** and **Description**, and click **OK**. The box is then saved and printed.

**Re-Print a Box**

* Click the **Packing Box No.** caption. It changes to **Re-Print Box No.**
* Enter the box number and press **Print**.
* Click the caption again to return to packing.

***

### Automatic Saving and Invoice

**Delivery Order Saving Type As** decides what happens when every item of the Delivery Order has been scanned:

| Option                                                | What happens                                                                                   |
| ----------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| **Default**                                           | The packer saves the Delivery Order                                                            |
| **Auto Save Delivery Order After Scanning Completed** | The Delivery Order is saved automatically                                                      |
| **Auto Generate Bill After Scanning Completed**       | The Delivery Order is saved and printed automatically, and the **Sale Bill** is created for it |

When the Sale Bill is created, the message *"Sale Bill Created Successfully"* shows the new invoice number.

Creating the bill automatically needs a one-time connection setup by your Logic ERP support team. Until then, the message *"Please Configure Logic API to Use this feature"* is shown.

***

### Assign Stock to a B2B Delivery Order

* Navigate to the **Order Processing** module.
* Open **Assign Stock to Delivery Orders**.
* Tick **Delivery Order** to search for the Delivery Order, or scan the customer's order number in **SO Party Order No.**
* Enter the box number in **Packing Box No.** and scan the items packed in that box.
* Press **F6** to move to the next box number, and continue until all the items are packed.
* Save.

**Useful keys**

| Key    | Use                                                     |
| ------ | ------------------------------------------------------- |
| **F3** | Enter the box number for the selected items in the grid |
| **F5** | Enter the box-wise weight                               |
| **F6** | Move to the next box number                             |
| **F7** | Print                                                   |

How the next box number is given is set in **Auto Increment Box No. As**. The Delivery Order can be printed after saving, set in **Print After Save As**: **None**, **Document Wise** or **Box Wise**.

***

> **Example — Packing an online order**
>
> Order **WEB-5521** has 2 items, and **Delivery Order Saving Type As** is set to **Auto Generate Bill After Scanning Completed**. Anil scans **WEB-5521** in **Party Order No.**, and its Delivery Order opens with box number **B12-1** already given. He scans both items. As soon as the last item is scanned, the Delivery Order is saved and printed, and the Sale Bill is created.

***

#### Final Outcome

Assigning stock to the Delivery Order links each packed box to the customer order. The packed stock is then ready to be retrieved in the **Sale Challan** for dispatch.


---

# 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/inventory/warehouse-management-features-and-configuration-in-logic-erp/assign-stock-to-delivery-order-and-box-printing.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.
