InventoryAdjusted flag should only be changed after all line items are processed