How to create dialog in Dynamics AX 2012 Through X++


How to create dialog in Dynamics AX 2012 Through X++



    Dialog                      dialog = new Dialog("dialog caption");
    DialogField              fldInventJournalId;
    InventJournalId        inventJournalId;
    boolean                     result;
 
 
 
    fldInventJournalId  = dialog.addField(extendedTypeStr(InventJournalId));
 
    result = dialog.run();
 
    if(result)
    {
        inventJournalId     = fldInventJournalId.value();
     
        info(inventJournalId);
    }

Comments

Popular posts from this blog

How to loop through enum in dynamics ax 2012 using x++

How to read from csv file in Dynamics AX 2012 Through X++

How to Create Transfer Journal in Dynamics AX 2012 Through X++