so getInputData finds all the orders that need to be reallocated, map finds all the open sales order lines for each item in those sales orders that needs to be reallocated, reduce decommits all the sales order lines that need to be reallocated and recommits them in the correct order, and afterward I need to check a box on each record that was modified so the shipping people get a heads up that things have changed.