Thursday, May 5, 2016

Export to excel sheet in AX

void buttonclicked()
{
     Args                args;
    ReportRun           reportRun;

    Container           con;

    ;
    args = new Args();


    con = conins(con,1,ProjIdFilter.text());
    con = conins(con,2,PeriodNumber.valueStr());

    args.parmObject(NEW containerClass(con));
    new MenuFunction(identifierstr(TimeSheetAnalysisExcel), MenuItemType::Action).run(args);



}

download:
https://drive.google.com/file/d/0ByF76Avzw0r1cW0wNGZKUlVDdFE/view?usp=sharing

No comments:

Post a Comment

Sending Email using X++ Code in D365 F&O/ AX 7 in HTML fomat

  I was just researching on the emailing capabilities in D365 and found that SysINetMail, SysMailer and some of the smmOutlook classes are d...