TODO assigned data how to fetch another doctype

I’m assign a document in todo, but i’m fetched that assigned doctype data in another doctype how to resolve it, Pls help me