I am looking to get the last receipt date of an Item with the cost and vendor.
I queried the IV30300 table with
select distinct itemnmbr, max(docdate) from IV30300 group by ITEMNMBR
Which gives me last transaction date and Item
I did run a select where DOCTYPE = '4' ...I cannot seem to get the syntax right with the max date??
I just need the receipts ...and I need the Vendor (CUSTNMBR) and cost
Can someone help with the script...I am not that proficient with SQL
Tami