Warning Message on Quotation creation if the order exceeds customer credit limit.

Hi Guys,

I would like to set a validation while creating Sales Quotations that before saving the quotation it should check the current order amount and customer credit limit and provide a warning message if the order exceeds the credit limit.

I am a beginner in AX development, Please let me know where and how should I set this condition.

Thanks in Advance.