Skip to main content

Posts

Showing posts with the label temporary table

Check SSRS Report data through job in Ax 2012

If you want to Check SSRS Report data through job in Ax 2012 without executing report then you can get idea from below code. SalesOrderValueTmp tempTable; SalesOrderValueDP dataProvider = new SalesOrderValueDP(); SalesOrderValueContract contract = new SalesOrderValueContract(); contract.parmCustAccount("Test001); contract.parmNoOfBuckets(6); dataProvider.parmDataContract(contract); dataProvider.processReport(); tempTable = dataProvider.getSalesOrderValueTmp(); while select tempTable { info(strFmt("%1,%2,%3,4",tempTable.CurrencyCode,tempTable.SalesId, tempTable.Monthname,tempTable.CurrentMonthSum)); } In this code while look is use to get data inserted in temporary table from data provider class . Contract object is SSRS Report contract class object.