added salesitem search function.