Client script fetching data on single doctype

Hi guys!! How can I fetch data on single doctype? I am trying to use cur_frm.add_fetch but it doesn’t work.

What do you mean by single DocType?
You can fetch data from master using add_fetch.

It was my fault. I used the wrong field name. Now it’s working

1 Like