while select sum(Qty) from tmpTable group by ItemId, Normal { info(strFmt("%1, %2, %3", tmpTable.itemid, tmpTable.normal, tmpTable.qty)); }