# 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fp4JPcvCpl3TCFzePPGFn%2FDefault%20GRN%20Pre-Fix.png?alt=media&#x26;token=026bedd1-d76d-434a-b6a0-978db3bebd23" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FEphm1veztu2cCSHpIEiz%2FGRN%20Column%20Lock.png?alt=media&#x26;token=4ed9ec8c-0be4-4526-a72f-fba52774dd0d" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FglBQjJuLWGt4d0eB2tqn%2FDefault%20GRN%20Number.png?alt=media&#x26;token=29a4d3e3-b654-4ffd-994e-d1bffe0c9c1f" 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.
