Showing posts with label dialog box. Show all posts
Showing posts with label dialog box. Show all posts

8 Sept 2014

Activate/disactivate Dialog + AX 2012

You can use this method

public void dialogSelectCtrl()
{
;
if (dialogSelectCustGroup.value())
{
dialogCustGroup.allowEdit(true);
}
else
{
dialogCustGroup.allowEdit(false);
}
}

21 Nov 2013

Confirm Message Box through X++ in AX 2012

Dialogbutton    dialogButtonConfirm;
;

dialogButtonConfirm  =   Box::yesNo("continue ", dialogButton::Yes, 
                                         "select one");
if (dialogButtonConfirm== dialogButton::Yes)
   {
        info( "Your fuctionality");
   }
else
     if (dialogButtonConfirm== dialogButton::No)
       {
          info( "stopped");
       }

Create number sequence in D365 FO

Create the data type. Add code in the loadModule method of the appropriate NumberSeqModule subclass. Add a method to the module’s paramet...