
Hi,
In you request, call the batch number table filtred by the items you want and grouped by ItemID.
Example :
select * from INVENTBATCH ib inner join INVENTTABLE it on ib.ITEMID = it.ITEMID
Where it.itemid in ("A0001","1000")
Group by it.ITEMID
Regards,