Weighted average cost values inventory at the average of what you paid for the units on hand. When a new receipt arrives at a different price, the average is recalculated across the old and new units.
WAC suits food distribution because it smooths frequent price changes and does not require tracking which purchase each unit came from for costing purposes, even when lots are tracked for traceability. It is one of the inventory costing methods accepted under US accounting standards, alongside FIFO and LIFO.
APFoodz values inventory at weighted average cost, including freight.