> 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/generate-lot-as.md).

# Generate Lot As

**YouTube:** [How to Generate Lot Codes With / Without PCS Details in Purchase Orders](https://www.youtube.com/watch?v=kb9ns65NVGc)?

## How to Generate Lot Codes With / Without PCS Details in Purchase Orders?

This tutorial explains how to generate Lot Codes with or without PC’s information while printing Barcode Labels for Purchase Orders in Logic ERP. This feature helps businesses customize barcode labels according to their inventory and tracking requirements.

***

### Objective of This Feature

* Generate barcode labels with Lot Codes
* Include or exclude PC’s information in barcodes
* Improve inventory identification and tracking
* Customize barcode label printing as per business requirements

***

### Access to Purchase Order Configuration

* Open **Purchase Order Configuration Window**
* Navigate to **Other Settings**
* Locate the option Labeled as:

> **“Generate Lot As”**

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

**Available Options**

* None.
* Lot Code with Pcs.
* Lot Code without Pcs.

***

### Option 1:  Review Default Behavior (Generate Lot As = None)

**Transaction Process**

* Create New Purchase Order Entry
* Define Supplier
* Proceed to Item Details Section
* Enter Required Item Details

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

* Save Purchase Order

**Open Barcode Label Printing**

* Go to **Main Menu → Reports & Queries → Item Reports**
* Open **Barcode Label Printing Window**
* Navigate to **Purchase Barcodes**
* Select **Purchase Order** option from dropdown.

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

**Action**

* Choose Relevant Purchase Order from search list

<figure><img src="/files/6lPe5ZE7q54NstFINc6v" alt=""><figcaption></figcaption></figure>

* Select Required Items
* Click **Create**

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

* Open **Barcode Label Configuration**

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

**System Behavior**

* When Generate Lot As = None
* Lot Code is printed as: **0**

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

***

### Option 2: Generate Lot as “Lot Code with PCS”

* Return to **Configuration Window.**
* Set **Generate Lot As = Lot Code with PCS.**
* Save Configuration.

**Create New Purchase Order.**

* Generate New Purchase Order Entry
* Save Purchase Order

#### Enable PC’s Information in Barcode

**Additional Setting**

* Open Barcode Label Printing Configuration
* Locate and enable the option Labeled as:

> **“Use Lot PCS Created from Purchase Order”**

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

**Generate Barcode**

* Select Purchase Order from search list
* Click **Create Barcode**

**System Behavior**

* The Lot Code Appears along with PC’s Information

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

**Observation**

* **Barcode Labels:** Successfully display Lot Code with PC’s Details defined in the Purchase Order

<figure><img src="/files/8T8u6NAr85uYAl3LaKoW" alt=""><figcaption></figcaption></figure>

***

### Option 3: Generate Lot as “Lot Code without PCS”

* Return to **Configuration Window**
* Set **Generate Lot As = Lot Code without PC’s**
* Save Configuration

**Create Another Purchase Order**

* Generate New Purchase Order Entry
* Save Purchase Order

**Verify Barcode Output**

* Open Barcode Label Printing Screen
* Select Purchase Order
* Click **Create Barcode**

**System Behavior**

* Only Lot Code is displayed.

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

**Observation**

* PC’s Information:
  * Is not included in barcode labels

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

***

### Key Benefits

* Flexible barcode label generation
* Better lot and inventory tracking
* Supports PC-wise barcode identification
* Improves warehouse and stock management efficiency

***

### Best Practice Tips

* Use “Lot Code with PC’s” for detailed inventory tracking
* Use “Lot Code without PC’s” for simplified barcode labels
* Regularly verify barcode configurations before printing

***

### Final Outcome

* Barcode labels can be generated with customized Lot Code formats
* PC’s information can be included or excluded as required
* Inventory identification becomes more accurate and efficient
* Barcode printing is fully configurable 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 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/generate-lot-as.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.
