Monday, July 8, 2019

How to find SQL query in D365:


How to find SQL query out of the AOT query:


static void AOTQuery(Args _args)
{

    QueryRun queryRun;

    ;

    queryRun = new QueryRun(queryStr(QueryName));//add any name of query here in place of QueryName

    info(queryRun.query().toString());

}

1 comment: