Fetching data from another doctype

I want to fetch date field of meeting doctype in date field of review doctype.
this is my review doctype:


what to write in options (row2) ?

Try this and Make custom script .

frappe.ui.form.on(‘Training Feedback’, {
onload: function(frm) {
frm.add_fetch(“training_event”, “course”, “course”);
frm.add_fetch(“training_event”, “event_name”, “event_name”);
frm.add_fetch(“training_event”, “trainer_name”, “trainer_name”);
}
});

Hi @Pranali_Thorve,
No need to make the date field as link, make that fieldtype as data and in options you can set title.date. Do verify the fieldname of date in your Meeting DocType and set it according to that in options.

1 Like

Thanks @shreya115

If I want to fetch data in child table(agenda in meeting) in review doctype. Then what is procedure?