web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

How to access Query data of AOT in Ax 2012 by code

SANTOSH KUMAR SINGH Profile Picture SANTOSH KUMAR SINGH 1,224
To access Query data of AOT in Ax 2012 by code you can check code below.

TestTable TestTable;
Query q=new Query(queryStr(TestQuery));
QueryRun qr=new QueryRun(q);
while(qr.next())
{
TestTable=qr.get(tableNum( TestTable));
TestTable=qr.get(tableNum(TestTable));
info(strfmt("%1,%2", TestTable.Description, TestTable.TestId));
}

This was originally posted here.

Comments

*This post is locked for comments