Notifications
Announcements
No record found.
Hi,
How do I count the rows generated by ChequeController Class?
*This post is locked for comments
You can modify the ChequeDP class (or ChequeDP_FR class if you happen to be working with FR). You can count the number of records in the temp table then put the value in a parameter, or you can do it in other ways.
Here is a couple of ways to get counts from datasources
Example 1:
info(strfmt("Total Records in Query %1",SysQuery::countTotal(queryRun)));
Example 2:
QueryRun::getQueryRowCount Method [AX 2012]
client server public static int getQueryRowCount(Query query, int maxRows)
example:
int myCount;
myCount = QueryRun::getQueryRowCount(query, 999999999);
Example 3
int numOfDSRecs;
numOfDSRecs = InventTable_ds.numberOfRowsLoaded();
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2