HOW TO GET ALL THE GRID RECORDS IN DYNAMICS AX
If you want to get the records of all the selected records in the grid on a form then write the below code in the clicked method of the form,
we can loop it for multiple records and can do any task required.
for (custInvoiceJourLoc = getFirstSelection(custInvoiceJour_ds);
custInvoiceJourLoc;
custInvoiceJourLoc = custInvoiceJour_ds.getNext())
{
// do some tasks here.
}
Thanks,
Vikas Mehta.
No comments:
Post a Comment