Skip to main content

Posts

Showing posts with the label Set date range to datasource in report fetch method using Dynamics Ax

Set date range to datasource in report fetch method in Microsoft Dynamics Ax

Set date range to datasource in report fetch method using Dynamics Ax querybuildrange  qbr; QueryRun qr = new queryrun(this.query()); ; qbr = qr.query().datasourcetable(tablenum(Inventtrans)).addrange(fieldnum(Inventtrans,DatePhysical)); qbr.value(queryrange(From_Date,To_Date)); element.send(Inventtrans); element.send(Test_1);