# Expiry Date

YouTube: [How to Automate Expiry Date calculation in purchase ?](https://www.youtube.com/watch?v=v6m9IKVOAUg)

## How to Automate Expiry Date calculation in purchase ?

### Introduction

This tutorial will walk you through the process of automating expiry dates in purchase transactions.&#x20;

### **Setup in Item Master:**

* Navigate to the Setups/Setup Items and then click on "Setup Items Multiple Packs/Sizes".
* Mark the option with the name of "Perishable/Expiry Item" - (Fig-1)
  * Note: If Perishable/Expiry Option is not showing in Item Master. Enable it from Column Locks.
* Locate the option "Days to Expiry" Under Purchase Defaults in Pack/Size Column. (Fig-2)

<figure><img src="/files/JAKZgl2szJTrolfE45Nh" alt=""><figcaption><p>(Fig-1)</p></figcaption></figure>

<figure><img src="/files/OvbXPJNdyOgUH1Pnzz0e" alt=""><figcaption><p>(Fig-2)</p></figcaption></figure>

### **Configuration Settings for Expiry Date:**

* Navigate to the "Purchase Voucher Configuration".
* Click on "Other Settings-2".
* Locate the option "Expiry Dat&#x65;**."**
* Firstly, let us Choose "Doc Date + Days to Expire".

<figure><img src="/files/3b52bTUjX0Yy3NSx3chc" alt=""><figcaption></figcaption></figure>

### **Observe Impact on Purchase:**

* Create a "New a Purchase Voucher".
* As soon as you define the **document date** in the header and select an item, the software will automatically generate the **expiry date** for that product.

<figure><img src="/files/Tn8hXuAMuU9gmQraMv8o" alt=""><figcaption></figcaption></figure>

### **Auto-Calculation Based on Manufacturing Date**

* The expiry date is determined by adding the **defined days to expiry** to the **manufacturing date**.
* **Steps:**
  * Enable the **Manufacturing Date** column under **Setup Column Attributes**.
  * Once the **Manufacturing Date** is entered, the system **automatically calculates** the expiry date.

**Benefits of Expiry Date Automation in Logic ERP**

* **Reduces manual effort** and increases accuracy.
* Ensures **efficient inventory management** and smooth operations.

<br>


---

# 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-2/expiry-date.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.
