Skip to main content

Posts

Showing posts with the label loop

Create loop from an AX form DataSet - Ax 2009

Sometimes we need to loop through values at the form level. The following code loops (for loop) the SalesParmTable in the CloseOk() Form method.                 //Create Lines         for (localSalesParmTable = salesParmTable_ds.getFirst();               localSalesParmTable;               localSalesParmTable = salesParmTable_ds.getNext())         {               ....Implementation....         }