Hi,
I hope that you can help me on the following. I'm working with INFOR 10.4 and I'm customizing a report (Inventory Transactions by Order) and adding a table (whltc100 - Items Lot) in order to read other information: Lot from Supplier & Certificate Code.
On the Report I added a script:
The problem is that when I run the report I get the first 3 rows duplicated (as shown in the picture). I tried almost everything I know: DISTINCT, GROUP BY, after the selectdo I gave a value to the variables, but nothing seems to work. It keeps showing me the first 3 rows duplicated.
How I could avoid this. I'm new in BAAN/INFOR programming so any advice is really much appreciated.
Thank you very much!!!
I hope that you can help me on the following. I'm working with INFOR 10.4 and I'm customizing a report (Inventory Transactions by Order) and adding a table (whltc100 - Items Lot) in order to read other information: Lot from Supplier & Certificate Code.
On the Report I added a script:
Code:
|******************************************************************************
|* whinr140001200
|* Inventory Transactions by Order
|******************************************************************************
|****************************** declaration section ***************************
declaration:
table t whltc100
before.program:
import("whltc100.clot",whinr100.clot)
import("whltc100.item",whinr100.item)
detail.1:
before.layout:
select DISTINCT whltc100.cert,
whltc100.ltbp
from whltc100
where whltc100.clot = {:whinr100.clot}
and whltc100.item = {:whinr100.item}
| GROUP BY whltc100.cert, whltc100.ltbp
| as set with 1 rows
selectdo
on.change.check(whinr100.clot) | this is a function I read on this FORUM
endselect
How I could avoid this. I'm new in BAAN/INFOR programming so any advice is really much appreciated.
Thank you very much!!!