Adagio OrderEntry is supposed to use the most recent cost for LIFO/FIFO costed items when the qty is at zero or negative.