There are many ways to accomplish this in AX, but based on my requirements I made the choice of looping through the selected records in a button's click() method.
CustInvoiceJour localCustInvoiceJour;
FormDataSource form_ds;
Common common
;
//super();
//Set form data source
form_ds = CustInvoiceJour_ds;
for(common = form_ds.getFirst(true)?form_ds.getFirst(true):CustInvoiceJour_ds.cursor();
common;
common = form_ds.getNext())
{
localCustInvoiceJour = common;
…Implementation…
}
Just curious what some of the other methods are.
ReplyDelete