# Lot Code Pre-Fix

**YouTube:** [How to Set a Lot Code Prefix for Scanning in Godown Wise - Stock Transfers?](https://www.youtube.com/watch?v=L2C3Ry_SeA8)

## How to Set a Lot Code Prefix for Scanning in Godown Wise - Stock Transfers?

In this tutorial, we will learn **how to define and use a Lot Code Pre-Fix while scanning lot codes in godown-wise stock transfer entries in Logic ERP**.

***

### Open Configuration Settings

* Open the **Configuration** window.
* Navigate to **Other Settings**.
* Locate the option labeled as "**Lot Code Pre-Fix"** field.

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

* Select or enter the required **Lot Code Pre-Fix**
  * *(for example: “S”)*.
* This option allows you to define a **specific prefix** that will be used while scanning lot codes.

***

### Configure Item Code Scanning Mode

* In the same configuration screen, find the **Item Code As** option.
* Set **Item Code As = Lot Code**.

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

> This step is mandatory. Without setting *Item Code As* to **Lot Code**, the system will not recognize lot codes during scanning.

* Save the configuration.

***

### Use Lot Code Pre-Fix During Stock Transfer

* Create a **new godown-wise stock transfer voucher**.
* Select **Godown From** and **Godown To**.
* Scan or enter the **lot code along with the defined prefix**\
  \&#xNAN;*(example: S12345)*.

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

**Result:**

* The system **automatically identifies the lot**.
* The **associated item is transacted** without manual selection.

***

### Key Benefit

Using a Lot Code Pre-Fix:

* Speeds up lot scanning
* Reduces manual selection errors
* Ensures accurate and quick stock transfer processing

***

This is how you can **define and use a Lot Code Pre-Fix** to streamline **godown-wise stock transfer entries** in Logic ERP.


---

# 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/inventory/stock-transfer-godown-wise/stock-transfer-godown-wise-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.
