Checking if the salesorder already exist