Hello. I want to create a dataview in my customization in order to get these data.
In the invoices form, From the credit memo type i want to get its detail total and then go to the application tab and select its invoice and get the Amount from the invoice in the Invoices and Memos form.



How can i write this into a query where i can create data view for my customization?
I have created this relationship joinin using the report builder for my report but i am unable to come up with the written query for this. Please help!


I simply need the written dataview query of the two joins. Thanks in advance.