Hi Frederico,
Here is what I thought would work, but it returns a shelflife when the part has been removed from the shelf (TYPE = ISSUE OR SHIPPED).
select part, date, type, serialnumber, max(shelflife)
from transactions
group by part, date, type, serialnumber
Your comment that this may be...