ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Help creating a new doctype and add it to customer


#1

Hi,

I have a use case scenario where under Customer doctype I need to insert a table of Doctors similar to how items are added in quotations.

So basically I decided to create a new doctype called Doctor with it’s fields like full_name, specialty etc etc

Now I want to link it as a table in the Customer form

but although it shows up it only allows me to create a new one and not to search for an existing one to link that one.

Could someone point me on what I’m doing wrong in this scenario?

Thanks in advance


#2

Mark the child DocType as Is Child Table
Data field in child table will never list the previous data.

for that create another doctype and link with this child table.


#3

I see thank you. It wasn’t apparent that I had to create 2 doctypes for this situation