In Dynamics AX 2012, a new class "MultiSelectionHelper" will handle those heavy lifting task for you as the following.
Common common;
MultiSelectionHelper helper = MultiSelectionHelper::construct();
helper.parmDatasource(formDataSource);
common = helper.getFirst();
while (common.RecId != 0)
{
...
common = helper.getNext();
}
No comments:
Post a Comment