原文地址:http://blog.vinaysingh.in/2011/03/fetch-data-from-temporary-table.html
Question:How to fetch data from a temporary table using query.
Solution:We can understand the concept from the following example-
//Populate the temporary table(tempTable)
//Set the range values on tempTable
qr = new QueryRun(query);
//Add this line while fetching the data from a temporary table
qr.setCursor(tempTable);
while(qr.next())
{
tempTableObject=qr.get(tableNum(TemporaryTable));
//do something..
}
转载请注明:ww12345678 的部落格 | AX Helper » [转]Microsoft Dynamics AX how to fetch data from temporary table