Showing posts with label Conformation Message Box in AX 2012. Show all posts
Showing posts with label Conformation Message Box in AX 2012. Show all posts

Sunday, 16 February 2014

Conformation Message Box in AX 2012

Dialogbutton    dialogBtn;
;
dialogBtn  =   Box::yesNo("Are you sure to continue ", dialogButton::Yes, 
                                         "Choose your option");
if (dialogBtn == dialogButton::Yes)
   {
        info( "Process will be continued ");
   }
else
     if (dialogBtn == dialogButton::No)
       {
          info( "Process stopped");
       }