> 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/purchase-order/po-configuration/move-po-number-to-lot-number.md).

# Move PO Number to Lot Number

**YouTube:** [How to Map Purchase Order Number to Lot Number in Purchase Orders?](https://youtu.be/_dJ6Q7yGl58)

## How to Map Purchase Order Number to Lot Number in Purchase Orders?

This tutorial explains how to automatically assign the **Purchase Order (PO) Number as the Lot Number** in Logic ERP. This feature ensures consistency in lot tracking by linking each item’s lot number directly with its PO number.

***

### **Objective of This Feature**

* Auto-fill **Lot Number using PO Number**
* Ensure consistency in batch tracking
* Eliminate manual lot number entry
* Improve traceability and accuracy

***

### Access to Purchase Order **Configuration**

* Go to **Purchase Order Module**
* Open **Configuration Window**
* Navigate to **Other Settings**
* Locate and enable the option labeled as:

> **“Move PO Number to Lot Number”**

<figure><img src="/files/4GEx5VsjWleRWgpEF6e6" alt=""><figcaption></figcaption></figure>

* Click **OK** to apply changes.

**Functionality**

* PO Number is automatically assigned as **Lot Number**
* Manually entered lot numbers will be **overwritten**
* If left blank, system will **auto-fill** using PO number

***

#### Implement in **Purchase Order**

* Start a **New Purchase Order Entry**
* Enter **Supplier Name**
* Note the **PO Number** (e.g., *PO62*)

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

**Enter Item Details**

* Go to **Item Details Section**
* Enter Item Details
* Manually define any **Lot Number**
* Save the Purchase Order

***

### **Verify in Modify Mode**

**System Behavior**

* Open the same PO in **Modify Mode.**

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

**Result**

* Manually entered Lot Number is **replaced**
* **PO Number (PO56)** is automatically set as Lot Number

***

### **Key Benefits**

* Ensures uniform lot numbering
* Simplifies batch tracking
* Reduces manual errors
* Improves traceability of transactions

***

### **Best Practice Tips**

* Use this feature when PO-based lot tracking is required
* Avoid manual lot entry as it will be overridden
* Ensure PO numbering format is standardized

***

### **Final Outcome**

* Lot Number is automatically assigned from PO Number
* Consistent and accurate batch tracking
* Reduced manual effort
* Improved efficiency and control in Purchase Orders


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/order-processing/purchase-order/po-configuration/move-po-number-to-lot-number.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
