> 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/order-processing/generate-delivery-orders/generate-delivery-orders-configuration/lock-delivery-order-date.md).

# Lock Delivery Order Date

**YouTube:** [How to Restrict Editing of the Delivery Order Date?](https://youtu.be/k47GGR9gUus)

## How to Restrict Editing of the Delivery Order Date?

In this tutorial, we will learn how to **lock the Delivery Order date field** in Logic ERP. This configuration prevents users from manually changing or modifying the document date during Delivery Order entry, ensuring better control over document dates.

***

### Observe the Default Behavior

* Initiate a new **Delivery Order** entry.
* By default, the **Document Date** field is editable.
* Users can modify the date as required.

The system allows users to manually enter or change the Delivery Order date.

***

### Access to the **Configuration.**

* Open the **Delivery Order Configuration** window.
* Navigate to the **General Settings** section.
* Locate and enable the labeled as:

> **"Lock Delivery Order Date"**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fxznp0M9GGnv6VBTRRwzG%2FCNF.png?alt=media&amp;token=d183ddb4-390a-4fdf-bf36-8755cad2e611" alt=""><figcaption></figcaption></figure>

* Save the configuration changes.

***

### Verify the Configuration

* Initiate a new **Delivery Order** entry.
* Check the **Delivery Order Date** field.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FEANzll7PB45ESg6slOsC%2Fop%202.png?alt=media&amp;token=b98389d7-f5a5-4fd5-aafd-0e261121a0ab" alt=""><figcaption></figcaption></figure>

**Result**

The **Delivery Order Date** field is now locked, preventing users from manually entering, editing, or modifying the document date.

***

### Key Benefits

* **Better Date Control:** Prevents unauthorized changes to the document date.
* **Accurate Documentation:** Ensures consistent document dates.
* **Reduced Errors:** Minimizes accidental date modifications.
* **Improved Control:** Helps maintain proper document entry discipline.

#### Final Outcome

After enabling **"Lock Delivery Order Date"**, Logic ERP locks the date field during Delivery Order entry, ensuring that users cannot manually modify the document date.


---

# 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/order-processing/generate-delivery-orders/generate-delivery-orders-configuration/lock-delivery-order-date.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.
