How to display details of a child doctype of one doctype to anothe submittable doctype


I want to display Child doctype(“F Items”) of “F Estimation” doctype to another submittable doctype “F Quotation”

Your issue will solved from the below reference video.

In my site frappe.call and frm.call is not working.
Received this error

frappe.ui.form.on('F Quotation', {
	estimation_id: function(frm) {
		// your code here
	//	frappe.db.get_value("F Estimation", {'name':frm.doc.estimation_id}, ['customer_name'], function(value){
	//	    frm.set_value("customer_name", value.customer_name);
	//	});
	if(frm.doc.estimation_id){
	    frappe.call({
	        method: 'frappe.client.get',
	        args:{
	            doctype: 'F Estimation',
	            filter: {
	                name: frm.doc.estimation_id
	            }
	        },
	        callback: function(r)
	        {
	            if(r.message){
	                console.log("------------", r.message);
	            }
	        }
	    });
	}
	
	}
	});

estimation_id is coming from which doctype? please set the doctype name properly. i every details explained in the video, so watch calmly.

No, you did not understand what I saying.

Please check the code and again watch the video.