How to get field from diffrent doctype

Dear all ,
I am in need of your suggestion.
lets say i have two doctype (A and B);
Now i wannan build report in jinja under A doctype:In report i wanna pull filed from the doctype B.

I am little confuse and i need your help bot link or in a comment form

Thank you

Hello,

You mean the Print Format for Reports or the Print Format?

The Print Format for Reports uses a different templating engine, which means that the data it can display are what’s only being fed to it. (E.g. the returned data from [report].py that you have)

If you mean Print Format, you can use some of frappe methods. You may want to check this out:

Regards,

Ivan

Dear sir,
Thank you for the response,

I mean like I have two doctype A and B
I will have have report for A and report for B as well

I want merge both report A and B…So that i dont have to jump from a A to B or B to A…

Thank you

Hello,

How about making a new report and get the results from both reports, and after that, append their data?

Regards,

Ivan

Thank you…I am trying in that way for now…I am little to frappe google wasnt enough for me
THANK YOU SO MUCH

1 Like

Any idea how to do this @iRaySpace
@BT_Eng were you able to solve this?

how can we make 2 different reports and append the data ? have you found any solutions to this ?