Not able to link Custom fields

How to create custom link field?
I have added “BIN” field as “Data” in “Item” Doctype, I want to fetch that “BIN” in Purchase Receipt doctype.
In purchase receipt I Have used “BIN” field as “Link” and has given name of master doctype i.e “Item” .