Hi Sanjay,
I don't completely understand which fields you want to link, but what you might be looking for is the Reference Field Links.
Go to Administration, Setup, General, Reference Field Links.
You will see a list of documents, and when you double click on the row, it gives you a choice of which field you want to automatically populate into the "Ref" fields.
Kind Regards,
Nick Lakasas