ERPNext Data Migration Import csv file

I tried to my old ERP data to migration erpnext. i have uploaded data form csv file but data can’t link
i have uploded data from erpnext formet

i have insert following flow insert record
-> lead
-> customer
-> opportunity

i have problem in data migration contact detail … lead ,customer and opportunity link each other but contact detail can’t attach . each lead and customer so please help me how to link contact details.
Not sure what i am missing here.

What do you mean by “contact detail”?

You have to tag the correct customer, supplier or sales_partner reference.