# Default GRN Pre-Fix

YouTube: [How to set Default GRN Prefixes in Purchase?](https://www.youtube.com/watch?v=yx8fgyDm0KQ)

## How to set Default GRN Prefixes in Purchase?

In this tutorial, we will guide you through the process of defining a **default GRN prefix** in Logic ERP to automate GRN number generation.

### **Steps to Enable Default GRN Prefix:**

* Open **Purchase Voucher Configuration**.
* Navigate to **Other Settings 1**, then click on **Other Settings** again.
* Go to the **Defaults 2** tab and Locate the **Default GRN Prefix** field and enter the desired prefix (e.g., **GRN**).

<figure><img src="/files/MfSlwOzeADzlg4G6mBEr" alt=""><figcaption><p>"This picture illustrates how you can define the Default GRN Prefix."</p></figcaption></figure>

### &#x20;**Unlock GRN Number Field:**

* Click on **Column Locks**.
* Uncheck the **GRN number field** to allow automatic number generation.
* Save the settings.

<figure><img src="/files/6Pn90W3x6I6yAflEfR76" alt=""><figcaption><p>"As shown, you need to unlock the GRN column in the same way."</p></figcaption></figure>

### Effect of This Setting:

* Create a new purchase voucher.
* The system will now generate GRN numbers automatically (e.g., **GRN1, GRN2, GRN3**).

<figure><img src="/files/5yFRAHcj20W9NNcbaEKE" alt=""><figcaption><p>"Here, you can see that the GRN number has been generated automatically."</p></figcaption></figure>

### **Define Multiple GRN Prefixes (Optional):**

* To set multiple prefixes, enter them separated by a comma (e.g., **GRN, INV**).
* This allows different prefixes to be used within the same configuration.

By following these steps, you can ensure an **automated and structured** GRN numbering system, improving efficiency in purchase management.


---

# Agent Instructions: 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/setups/configurations/purchase-voucher-configurations/other-settings-1/other-settings/default-2/default-grn-pre-fix.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.
