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

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.

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




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