FIFO inventory costing. Cost of goods sold and remaining inventory value using FIFO from purchase lots and a sale quantity - accounting-grade.