Knowledge management in extended enterprises