ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

How to create function to map between label and field name for any doc type like method in data importer doc type

ex:if i want to upload file.csv in doc type like price list and create one with new data

Can you explain your request ? are you talking about the frappe.db.get_value and set_value methods ?