> 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/production/production-vouchers/job-order/job-order-configuration/additional-lot-expression.md).

# Additional Lot Expression

**YouTube:** [How to Configure Additional Lot Number Expressions in Job Orders?](https://youtu.be/W9lH9roTyUs)

## How to Configure Additional Lot Number Expressions in Job Orders?

In this tutorial, we will learn how to automatically generate an **Additional Lot Number** in a Job Order using the **Additional Lot Expression** feature in Logic ERP. This feature allows you to create dynamic lot numbers based on predefined expressions, ensuring consistency and eliminating manual entry.

***

### Objective of This Feature

* Automatically generate Additional Lot Numbers.
* Eliminate manual lot number entry.
* Maintain consistent lot numbering.
* Create dynamic lot numbers using predefined expressions.
* Improve accuracy and efficiency during Job Order creation.

***

### Access to the Job Order Configuration

* Open the **Job Order Configuration** window.
* Navigate to the **Other Settings** section.
* Locate the option labeled as:

> **"Additional Lot Expression"**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F5rZqBSChtMuU2UtP4QuH%2FCNF.png?alt=media&amp;token=a165cf6c-0edb-4bb7-8cd3-8a077c1e8352" alt=""><figcaption></figcaption></figure>

* Click on the option.
* Define the required expression using the available fields and functions.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fu8uxQTtkPqGbXTc9OWzj%2FExpression.png?alt=media&amp;token=0e081388-a570-4852-8015-8b5aea2bdf3b" alt=""><figcaption></figcaption></figure>

* Save the configuration.

***

### Create a New Job Order

* Initiate a **New Job Order** entry.
* The system automatically generates the **Additional Lot Number** based on the configured expression.

**Example**

Suppose the configured expression uses the **Job Order Number** as the source value.

* **Job Order Number:** JO - 2

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FLWw89GNat7NvEMlMS46K%2FAdd%20Lot%20No.png?alt=media&amp;token=a44de52b-3766-4351-aae6-402de3e56db1" alt=""><figcaption></figcaption></figure>

**Result**

* The **Additional Lot Number** is automatically populated as: **JO2**

The generated value reflects the expression configured in the **Additional Lot Expression** setting.

***

### Key Benefits

* Eliminates manual lot number entry.
* Ensures standardized lot numbering.
* Reduces data entry errors.
* Automatically generates dynamic lot numbers.
* Improves consistency across Job Order transactions.

***

### Best Practice Tips

* Configure expressions based on your business naming conventions.
* Use available fields and functions to create meaningful lot numbers.
* Review the generated Additional Lot Number before saving the Job Order.
* Update the expression whenever your lot numbering format changes.

***

### Final Outcome

After configuring the **Additional Lot Expression**, Logic ERP automatically generates the **Additional Lot Number** during Job Order entry based on the defined expression. This streamlines the Job Order process, reduces manual effort, and ensures consistent and accurate lot numbering.


---

# 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/production/production-vouchers/job-order/job-order-configuration/additional-lot-expression.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.
