To execute query in axapta you can try following code    QueryRun  QR;      TestTableTestTable;      ;      QR = new QueryRun(QueryStr(QR));      if (QR.prompt())      {        while (QR.next())        {          if (QR.changed(tablenum(TestTable)))          {            TestTable = QR.get(              tablenum(TestTable));            info(TestTable.TestId);          }        }      }     
Microsoft Dynamics Ax,AIF,Axapta, Enterprise portal,,Microsoft , United State,U.S., SharePoint , BI Tools, Performance Tuning, SSRS,Business Logic,Ax ERP Errors and solution,Dynamics 365 Errors Solution,Business software .