How write warning message using X++ in AX 2009?

  • Comments 1

 

 Sometimes you need to warn the user if the user make something wrong simply you write the following code : 

void warning _message()

{

warning("Please Read All the Lines");

}

 

this  message will appear to you when you call this function

 

 

  • shorter then my usually do.

    info(strfmt('Read All The Lines '));

    Thank you Abdel..