re_Item.COPYFILTERS(Item); te_ItemNoFlt := Item.GETFILTER("No.");The Report does a loop on the "Purchase Line" table.
IF te_ItemNoFlt <> '' THEN BEGIN CurrReport.SHOWOUTPUT( ?????? ); END ELSE BEGIN re_Item.SETRANGE("No.", "Purchase Line"."No."); CurrReport.SHOWOUTPUT(re_Item.FIND); END;But I can not complete it.
Comments
The easiest way to go I think is to first put all the items in the filter in a temporary table.
Then you can skip the lines when the item is not in this temp table.
Is there a command to test if a value satisfies a given filter?
IT-Consultant
Thank you very much also for the answer on the other topic!
Regards,
Tommaso
IT-Consultant