Friday, January 20, 2012

Launch AOT forms & Reports without using Classfactory from x++


static void Args_report_Job15(Args _args)
{
    Args    args;
    ReportRun reportRun;
    ;
    args = new Args();
    args.name(reportstr(custtranslist));
    reportRun = new reportRun(args);
    reportRun.init();
    reportRun.run();
}

static void Args_form_Job15(Args _args)
{
    Args    args;
    FormRun formRun;
    ;
    args = new Args();
    args.name(formstr(custtable));
    formRun = new FormRun(args);
    formRun.init();
    formRun.run();
    formRun.detach();
}

No comments:

Post a Comment

Use Chain Of Command with Examples

 Dear Friends Here is an example of using Chain of Command for form datasource methods. [ExtensionOf(formDataSourceStr(<<Form Name>...