RE: Get list of selected record from current query
Thanks for your help, I tried both methods and I cooked up a snippet of code for each one of them:
Ex with Class MultiSelectionHelper :
{
//
MultiSelectionHelper Msh;
InventQuarantineOrder InventCurrent;
//Init Msh
Msh = MultiSelectionHelper::construct();
//set Data source
Msh.parmDatasource(InventQuarantineOrder_ds);
InventCurrent = Msh.getFirst();
While(InventCurrent)
{
info(int2str(InventCurrent.RecId));
InventCurrent =Msh.getNext();
}
}
Ex 2 with GetNext(), GetFirst() of data source :
{
InventQuarantineOrder InventCurrent;
//set Data source
InventCurrent =InventQuarantineOrder_ds.getFirst();
While(InventCurrent)
{
info(int2str(InventCurrent.RecId));
InventCurrent = InventQuarantineOrder_ds.getNext();
}
}
Happy Testing :)