Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

FormDataSource in Args Class using X++

$
0
0

Hi All,

Is is possible to pass a table records as FormDataSource in Args Class inspite of calling it from a Job/Class?

Because i want to loop through the multiple records in the destination class like this.

formDataSource = _args.record().dataSource(); 

for (common = formDataSource.getFirst(true) ? formDataSource.getFirst(true) : _args.record();
common;
common = formDataSource.getNext())
{
packedRecords += [common];
}


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>