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");
       }

No comments:

Post a Comment