Dialogue box for Yes or No prompt in AX 2012 R3 D365fo

 

 
    Class           classBuffer;
    Table           table;
    boolean         canImport = true;
   
    if(table.ExcelImported)     //ExcelImported is the Table field(Enum NoYes)
    {
        if(Box::yesNo('Do you want to import.', DialogButton::Yes,'Import Record') == DialogButton::Yes)
        {
            canImport = true;
        }
        else
        {
            canImport = false;
        }
    }
 
    //if(canImport)
    //{
        //if(classBuffer.prompt())
        //{
            //try
            //{
                //classBuffer.run(); //is the method
            //}
            //catch(Exception::Error)
            //{
                //classBuffer.closeExcelAppl(); //is the method
            //}
        //}
    //}
    //else
    //{
        //warning('Operation cancelled.');
    //}


Table Browser in Dynamics 365FO

Copy D365FO Table Browser URL /?cmp=usmf&mi=SysTableBrowser&tablename= URL :  https://usnconeboxax1aos.cloud.onebox.dynamics.com...