> 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/configurations/purchase-voucher-configurations/other-settings-1/move-dno-number-and-date-to-gpn.md).

# Move DNO Number and Date to GPN

Y**ouTube:** [How to move Delivery Note Details to Gate Pass Details in Purchase ?](https://www.youtube.com/watch?v=OMdluI9sawo)

## How to move Delivery Note Details to Gate Pass Details in Purchase?

#### In this tutorial, we'll explains how to **automatically transfer** the **Delivery Order Number (DNO) and Date** to the **Gate Pass Entry (GPN) Number and Date** when retrieving a delivery order in a **Purchase Voucher**.

### **Enabling the Feature:**

1. Open **Purchase Voucher Configuration**.
2. Navigate to the "**Other Settings 1** → **Column Locks".**
3. **Tick** the option to **Unlock the GPN Column**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FMyyBXO2w6idRcrdtGFm4%2FColumn%20Lock.png?alt=media&amp;token=15b0ef4f-1336-4e3c-969f-cf1f8644d4ff" alt=""><figcaption><p>Enable the <strong>Column Lock</strong> from here.</p></figcaption></figure>

4. Locate the option and enable **"Move DNO Number and Date to GPN"**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FIZ9CKv1TZIWhAfyN51UE%2FMove%20DNO%20Number%20and%20Date%20to%20GPN-configuration.png?alt=media&amp;token=d3037e11-c01b-4c31-9991-2c7481b0f463" alt=""><figcaption><p>Let's keep this feature enabled to observe its Impact.</p></figcaption></figure>

5. Lastly, navigate to the **Other Settings 3** and select **Order Retrieval as Delivery Note**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FSPLzbbPBal5hFu4Cpqb8%2FOrder%20as%20Delivery%20Note.png?alt=media&amp;token=b8390eaa-2188-4d1a-b9ad-d64909aacc89" alt=""><figcaption><p>Set <strong>Order Retrieval</strong> to <strong>Delivery Note</strong> from here.</p></figcaption></figure>

#### **Retrieving a Delivery Note in a Purchase Voucher**

1. Ensure that you have **already created the Delivery Note** beforehand.
2. Create a **New Purchase Voucher Entry**.
3. Click on **Retrieve Order**.
4. Since **Order Retrieval** was set to **Delivery Note**, a list of **pending delivery notes** will appear.
5. **Select the required items** and proceed.
6. Once retrieved, Go to **Header Details**.
7. Verify that the **Delivery Note Number and Date** have been **automatically populated** in the **GPN Number and Date** fields.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FcU76xK2XMREKdZWU3IZS%2FDNO%20In%20Header-new.png?alt=media&amp;token=2e808082-bf90-4179-96cb-4570aebd6886" alt=""><figcaption><p>Upon retrieving the <strong>Delivery Note</strong>, the <strong>GPN Number and Date</strong> update automatically in the header.</p></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/configurations/purchase-voucher-configurations/other-settings-1/move-dno-number-and-date-to-gpn.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
