# Lot Code Pre-Fix

**YouTube:** [How to Set Up Lot Code Prefix for Lot Scanning in Purchase Orders?](https://youtu.be/_pjdIybe1hU)

## How to Set Up Lot Code Prefix for Lot Scanning in Purchase Orders?

 

This tutorial explains how to **define a Lot Code Prefix for scanning items in a Purchase Order** in Logic ERP. This feature enables faster and more accurate item identification through **barcode or code scanning**.

***

### **Objective of This Feature**

* Enable **quick item identification via lot code scanning**
* Reduce manual item selection effort
* Improve **speed and accuracy in Purchase Order entry**
* Streamline barcode-based workflows

***

### **Access to Configuration Settings**

* Open **Configuration Window**
* Go to **General Options**
* Locate and enable the option Labeled as:

> **Lot Code Pre-Fix**

**Default Value:**

* **Nil**
* Choose appropriate **Prefix from dropdown**
  * Based on your barcode or lot structure

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

***

### **Configure Supporting Setting**

**Important Configuration**

* Set: **Item Code as Field in Lot Code**

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

**Why This Matters**

* Both settings work together to:
  * Correctly identify items during scanning
  * Map scanned lot code to item details
* Click **OK** to apply changes

***

### **Create Purchase Order**

* Open **Purchase Order Window**
* Select the **Supplier Name**

**Scan Process**

* Scan the **Lot Code with defined Prefix**

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

**System Action**

* Automatically:
  * Identifies the item
  * Fetches item details

***

### **Key Benefits**

* Faster item entry through scanning
* Reduces manual errors
* Improves operational efficiency
* Ideal for barcode-based inventory systems

***

### **Best Practice Tips**

* Ensure prefix matches your barcode format
* Configure both settings correctly
* Test scanning before live usage

***

### **Final Outcome**

* Items are **automatically identified via Lot Code scanning**
* Purchase Order entry becomes **faster and more accurate**
* Manual effort is significantly reduced
* Inventory process becomes **streamlined and efficient**


---

# Agent Instructions: 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:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/order-processing/purchase-order/po-configuration/lot-code-pre-fix.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
