# 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F6tgTRhyJNU0hQsGJuxEk%2FConfiguration.png?alt=media&#x26;token=b0d032ca-ab4f-40ab-9fdc-e223de1dc751" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FfcnsSv4KowqEnrV557TQ%2FItem%20Name%20Formula%20%2B%201.png?alt=media&#x26;token=25ac923e-dc1c-49b6-a0b3-6420f9bb6e45" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FusWER3czKxGtD6yI43Hs%2FItem%20Name%20Formula%20CMD.png?alt=media&#x26;token=cf88593b-87ff-4217-bc49-3b5d8a89640e" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fpo7LEPkLQM8U4YAwpR0L%2FItem%20Name%20001.png?alt=media&#x26;token=717ffa95-f77f-47b2-a349-af86b3784057" 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.
