I use this , this gives me whole data what if I want to get only one field’s data. then what should I use to get the specific field from a doctype list.
You’ll have to do basic custom scripting.
Refer to below link where we have setup similar coding to get data from child table of another doctype.