# Updation of Sales Quotation Status to "Expired" based on Expiration Date in Quotation Header?

**URL:** <https://www.dynamicsuser.net/t/updation-of-sales-quotation-status-to-expired-based-on-expiration-date-in-quotation-header/65601>\
**Category:** Developer Forum\
**Created:** [June 20, 2018, 10:27am UTC](https://www.dynamicsuser.net/t/updation-of-sales-quotation-status-to-expired-based-on-expiration-date-in-quotation-header/65601 "2018-06-20T10:27:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaik146](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@shaik146](https://www.dynamicsuser.net/u/shaik146)\
**Post date:** [June 20, 2018, 10:27am UTC](https://www.dynamicsuser.net/t/updation-of-sales-quotation-status-to-expired-based-on-expiration-date-in-quotation-header/65601/1 "2018-06-20T10:27:52Z")

</div>

Expired Status is to be added in sales quotation based on the expiration date (field) in sales quotation header(S&M-\>quotations-\>all quotations),the quotationstatus should be updated to expired. after that thebuttons “confirm,cancel & lost quotation” should be disabled for expired status quotations.

pls suggest a solution

Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![kranthi](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kranthi](https://www.dynamicsuser.net/u/kranthi)\
**Post date:** [June 20, 2018, 11:34am UTC](https://www.dynamicsuser.net/t/updation-of-sales-quotation-status-to-expired-based-on-expiration-date-in-quotation-header/65601/2 "2018-06-20T11:34:59Z")

</div>

> [@](#):
>
> Expired Status is to be added in sales quotation based on the expiration date (field) in sales quotation header(

When do you want to update the Quotation status to expired?

The enabling and disabling of buttons is handled in the related interaction class. \Classes\SalesQuotationTableInteraction

\Classes\SalesQuotationTableInteraction\enableHeaderActions

---

<div class="post-metadata">

**Author:** ![shaik146](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@shaik146](https://www.dynamicsuser.net/u/shaik146)\
**Post date:** [June 20, 2018, 11:38am UTC](https://www.dynamicsuser.net/t/updation-of-sales-quotation-status-to-expired-based-on-expiration-date-in-quotation-header/65601/3 "2018-06-20T11:38:04Z")

</div>

Kranthi:

Sir,

When the quotation reaches Expiration Date ( expiration date field in Sales quotation-\> header -\>general tab)

![pastedimage1529494974320v1.png](https://us1.discourse-cdn.com/flex023/uploads/dugusers/original/2X/0/0be8928571bd56858ffef1c9444f3a3a22c4e32e.png)
