Data getting using queries in ax 2012
static void AddRangeToQuery(Args _args){
Query q = new Query();
QueryRun qr;
QueryBuildDataSource qbr1,qbr2;
str strTemp;
HPRWebUsers webUsers,webUsers2;
EmplTable emplTable;
;
qbr1 = q.addDataSource(tablenum(EmplTable));
qbr1.addRange(fieldNum(EmplTable, EmplId)).value("f08*");
qr = new QueryRun(q);
while (qr.next())
{
emplTable = qr.get(tablenum(EmplTable));
info(empltable.EmplId);
}
}
Thank you...!
No comments:
Post a Comment