When Parts are removed from Inventory using the Average cost method, the Quantity will be deducted from the oldest active (in green) Part History record's Current Quantity column (in blue). The unit price associated with the Parts removed will be the Avg. Cost (in yellow) from the History record that the Quantity was pulled from.
Average Cost only recalculates for active Part History records.
Average Cost only recalculates when Quantity is added to Inventory, not when it is removed.