> 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/use-item-code.md).

# Use Item Code

**YouTube:** [How to Enable Item Code Scanning While Assigning Stock to Delivery Orders?](https://youtu.be/I5RYt-k6g4s)

## How to Enable Item Code Scanning While Assigning Stock to Delivery Orders?

In this tutorial, we’ll learn how to use the **“Use Item Code”** feature in the **Assigned Stock to Delivery Order** window of Logic ERP. This feature allows users to scan item codes directly while assigning stock to a delivery order, making it easier to identify items and assign the corresponding quantities to the required packing boxes.

**Let’s get started!**

***

### Verify the Default Behavior

* Navigate to the **Order Processing** module.
* Open the **Assigned Stock to Delivery Order** window.
* Observe that the **Use Item Code** option is disabled by default.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FXUAhC7LlI6Leg7n79E2X%2FDefault.png?alt=media&amp;token=c1d4f3d0-2587-44da-9b92-226e0a432dae" alt=""><figcaption></figcaption></figure>

* Search for and select the required delivery order.
* Try scanning an item code.
* The system displays an **“Invalid Lot or Carton Code”** message because item code scanning is not enabled.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FZFdwKCjUCl3WiBLSWOya%2FItem%20Code%20Error.png?alt=media&amp;token=e4d545ac-e315-4058-8ad5-e297d294fa7f" alt=""><figcaption></figcaption></figure>

**This confirms that item codes cannot be scanned for stock assignment while the feature is disabled.**

***

### Let's Enable the Use Item Code Feature

* Open the configuration window.
* Under **Other Options**,&#x20;
* Locate and enable the option labeled as:

> **“Use Item Code”**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FOYVvmodkDtSQCPUuEfv5%2FCNF.png?alt=media&amp;token=9b5f9618-eebc-4116-abdb-2e31e55826e4" alt=""><figcaption></figcaption></figure>

* Save the configuration changes.

**The configuration is now updated. Let’s return to the stock assignment window and verify the functionality.**

***

### Scan Item Codes and Assign Stock

* Return to the **Assigned Stock to Delivery Order** window.
* Verify that the **Use Item Code** option is now enabled.
* Select the required delivery order.
* Enter the packing box number.
* Scan the required item code.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FHE93ups2hfKNyjf5bOsk%2FImplemented.png?alt=media&amp;token=209d9e79-2972-4572-ac71-109cbba1258a" alt=""><figcaption></figcaption></figure>

* The system successfully scans the item code and assigns the corresponding quantity to the specified packing box.

**This confirms that enabling the feature allows users to scan item codes and assign the corresponding stock to a delivery order.**

***

### Conclusion / Result

* **Feature Disabled:** Scanning item codes is restricted, and the system displays an invalid lot or carton code message.
* **Feature Enabled:** Users can scan item codes directly and assign the corresponding quantities to the specified packing boxes.
* **Key Benefit:** This feature provides an additional scanning method for identifying items during delivery order stock assignment.

**By enabling the “Use Item Code” feature, users can scan items by their item codes and assign stock to the required packing boxes more conveniently 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/use-item-code.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.
