Change the inventory warning to using onhand quantity