> 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-2/additional-item-code-formula.md).

# Additional Item Code Formula

YouTube: [How to Auto Generate Additional Item Code in Item Creation?](https://www.youtube.com/watch?v=I9JYgp8JCqU)

## How to Auto Generate Additional Item Code in Item Creation?

 In this tutorial, we will guide you through the process of **creating a powerful formula** to automatically generate **additional item codes** during item creation. This feature enhances **inventory management**, ensures **consistency**, and reduces **manual effort**—making it a game changer for businesses.

***

### **Accessing the Configuration Settings**

* Navigate to the Setups/Setup Items and then click on "Setup Items Multiple Packs/Sizes".
* Click on the Configuration.
* Locate the option "Additional Item Code Formula." under the Configuration option-2 tab.

<figure><img src="/files/BJaRKbUbLkWgcJbhQB0Q" alt=""><figcaption><p>As shown in the picture, click on <strong>"</strong>Additional Item Code Formula<strong>".</strong></p></figcaption></figure>

* As soon as you select **"**&#x41;dditional Item Code Formul&#x61;**"** a configuration window will appear
* Allowing you to define a **custom script** to generate Additional Item Code based on your specific requirements.

<figure><img src="/files/WAqZASM9DNgaDEnkqGqs" alt=""><figcaption><p>Create the script exactly as explained and shown in the picture.</p></figcaption></figure>

***

### **Creating a New Item with the Formula**

* Open the **New Item Creation** window.
* Enter all the **required item details** accurately.
* **Save** the item to apply the changes.
* Reopen and **modify** the same item to verify the applied effect.

<figure><img src="/files/zKCSe3AmxGa7UlKV2811" alt=""><figcaption><p>The <strong>Additional Item Code</strong> is generated using the <strong>Company Short Name</strong> and <strong>Pack Short Name.</strong></p></figcaption></figure>

***

### **Benefits of Using Additional Item Code Formulas**

* **Ensures consistency** in item coding across the system.
* **Improves efficiency** by eliminating manual entry.
* **Customizable** to align with business-specific requirements.
* **Enhances accuracy** by reducing human errors.

***

### **Conclusion**

By leveraging the **Additional Item Code Formula** feature in **Logic ERP**, businesses can **automate** their inventory processes, maintain structured item coding, and enhance operational efficiency.<br>


---

# 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-2/additional-item-code-formula.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.
