so someone created a saved search to pull all that inventory and receipt info together in various filters / groups - then this script just goes through everything on line at a time and decides if the amount on hand is higher or lower than the inventory on the receipt