Hi all,
I'm trying to create the following process:
(1) Get packing lines and fill them in a temp table shown in a form
(2) Loop through records and calculate total weight when button is clicked
However if the button code below is executed it loops through the same amount of rows that is in the datasource but in my case the itemid is not updated.
Any idea why?
void clicked() { WHSTmpPackingLine loop = whstmppackingline_ds.getFirst(); while (loop) { info(strFmt(WHSTmpPackingLine.ItemId)); loop = WHSTmpPackingLine_ds.getNext(); } super(); }