> 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/user-access/logic-global-admin/others/common-settings/default-date-range-for-search-forms.md). Agents can also search and read this documentation through its [MCP server](https://kb.logicerp.com/~gitbook/mcp).

# Default Date Range for Search Forms

**YouTube:** [How to Set a Default Date Range for Search Forms?](https://www.youtube.com/watch?v=gORpL6NGx3o)

## How to Set a Default Date Range for Search Forms?

In this tutorial, we will show you how to configure a **default date range for search forms** across all documents in **Logic ERP**. This setting helps streamline your workflow by auto-filling the date fields during document searches.

***

### **Enable the Default Date Range Setting**

* Open the **Logic Admin Panel**.
* Navigate to the "**Global Settings"** and then select **"Others".**
* Under the **"Common Settings"** Locate the option labeled as: **“Default Date Range for Search Forms”.**
* **A dropdown menu** will appear.
* Select one of the following predefined options:
  * **Default**&#x20;
  * **Current Date**
  * **Last One Day**
  * **Current Month**
  * **Last N Days**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FgvvfAfN4KZJG4sDQYhAv%2FGlobal%20Admin%20-%20Search%20Form.png?alt=media&amp;token=2ea29e8b-8741-4eca-abc7-29cc47e2fe37" alt=""><figcaption><p>As mentioned above, follow the given steps and select the appropriate option from the dropdown as per your requirement.</p></figcaption></figure>

> For instance, selecting **"Current Date"** will auto-set the search date range to today's date in all search forms.

* Click **Save** to apply your changes.
* **Restart Logic ERP** to activate the setting across all applicable modules.

***

### **Functionality Review and Validation**

* Open the **Sale Bill** window.
* Right-click on the **Modify** button to open the search form.
* You’ll notice that the **“From” and “To” date fields** are already populated with the default range you selected (e.g., today’s date).

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FSeNQfxUx8AL4h7v7KsCx%2FBill%20date.png?alt=media&amp;token=d58451cb-9100-4d46-99dd-bae8905e8efe" alt=""><figcaption><p>As you may observe, the date range is set to display today’s date by default.</p></figcaption></figure>

> Users can still **manually adjust** the date range if required, offering both convenience and flexibility.

***

### **Conclusion**

The **“Default Date Range for Search Forms”** feature in Logic ERP improves efficiency by reducing repetitive date entry. It ensures faster document retrieval while allowing users to override the preset range when needed.


---

# 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/user-access/logic-global-admin/others/common-settings/default-date-range-for-search-forms.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.
