> 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/setups/setup-items/setup-items-multiple-pack-sizes/configuration-multiple-packs-sizes/configuration-options-1/auto-no.-length.md).

# Auto No. Length

**YouTube:** [How to Configure Auto Number Length for Formula - Based Item Names?](https://www.youtube.com/watch?v=dNMJpWqQbuo)

## How to Configure Auto Number Length for Formula - Based Item Names?

In this tutorial, we’ll demonstrate how to **automatically generate item names** in Logic ERP using the **Auto Number Length** setting.

***

### **Accessing Configuration Settings**

* **Navigate to:** Setups/Setup Items and then click on **"Setup Items Multiple Packs/Sizes".**
* Click on the Configuration.
* Under the Configuration Options - 1 tab.
* Locate the option labeled as

> **“Auto No. Length”**.

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

***

### Configure Auto Number Length

* Set the **Auto No. Length** to **3**.
* Define the **Item Name Generation** using **“Item Name Formula + 1”**.

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

This ensures that all auto-generated numbers follow a **uniform 3-digit format** (e.g., 001, 002, 003).

***

### Review the Item Name Formula

* The formula here is designed to generate item names using:
  * **Category** + **Fabric** + **3-digit Auto Increment Number**.

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

* The **sequence will continue** only for items created under the same category and fabric.
* If a different category or fabric is selected, the **sequence resets** and starts from **001** again.

***

### Create New Items

* Create a **new item** with a defined category and fabric.
  * The system generates the item name automatically based on the formula.
  * The number appears in a **3-digit sequence** with leading zeros.
* Save the item.

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

* Create another item with the **same category and fabric**.
  * The auto number increments sequentially (e.g., 002, 003, etc.).

***

### Key Takeaway

* **Auto No. Length** ensures numbering consistency in item names.
* **Item Name Formula** provides flexibility by combining fields (e.g., category, fabric) with auto-increment numbers.
* The sequence **resets** when a different category/fabric is selected.

This setup helps maintain **structured, consistent, and error-free item names** 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, and the optional `goal` query parameter:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/setup-items/setup-items-multiple-pack-sizes/configuration-multiple-packs-sizes/configuration-options-1/auto-no.-length.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.
