Added functionality to assign priority levels to all stockouts.