I am entering the data using bench import csv through terminal,
Now my issue is…
I am migrating the employee master.
My employee id in old erpnext(Version 7) is EMP/007 and I want same in new erpnext(Version 11) and i am migrating nearly 50 Employees through bench import csv, but when the data is inserted I am getting employee id as EMP/00700001.
This goes for all the employee id which I have inserted.
So while importing the data, system is automatically taking the series of “00001”.
hi @Prachande_Nikhil would like to suggest these steps -might help you to overcome such issue:
first , a new custom field for your employee/Customer doctype to store such an ID,
secondly, prepare employee/customer import data with the information for this field,
Customer data import can be done via Data import tool or bench’s import-csv command
or you can do it via your custom python script uploading such data via Frappe API.
and then you can also build custom python scripts to do data import (via Frappe API engaged), to make sure all are correctly matched to the right employee instances, using that ID field values.