Skip to main content
Solved

Customer expiration

  • April 19, 2022
  • 4 replies
  • 263 views

Forum|alt.badge.img+6

Hi all,

For customer masterdata it's possible to fill in an expire date on the order tab. When entering a Customer Order you will get an error message that the customer is expired. 

However when entering a Sales Quotation for the same customer no error message appears .

Is there a possibility for a expire date for the quotation as well?

thx !

Regards,

Martin Broekman

 

Best answer by Ralph Gericke

Hi,

have you tried to invalidate the (default) addresses for delivery and/or document?

Regards

Ralph

4 replies

william.klotz
Superhero (Customer)
Forum|alt.badge.img+21
  • Superhero (Customer)
  • 479 replies
  • April 19, 2022

Hi @eqmartib ,

 

You may have to create a custom event and action which is triggered from the sales quotation when the quotation is created.  You could use throw an error and popup a dialog box with a message saying the customer has an expiration date set.   

 

BEGIN
Error_SYS.Record_General('OrderQuotation', 'Sorry, you cannot add a new Sale Quotation.');
END;

 

Regards,

William Klotz


Forum|alt.badge.img+6
  • Author
  • Do Gooder (Partner)
  • 13 replies
  • April 20, 2022

Hi William,

To be honest I was expecting a more simple solution for this, but thanks anyway :-)

regards,

Martin


Ralph Gericke
Superhero (Employee)
Forum|alt.badge.img+13
  • Superhero (Employee)
  • 220 replies
  • Answer
  • April 20, 2022

Hi,

have you tried to invalidate the (default) addresses for delivery and/or document?

Regards

Ralph


Forum|alt.badge.img+6
  • Author
  • Do Gooder (Partner)
  • 13 replies
  • April 25, 2022

Hi Ralph,

Thanks for your reply. Your suggestion works fine!

Thx!

regards,

Martin