Hello all,
I have a custom report that has 2 subreports. [subreport2 depends on subreport1 and subreport1 depends on my main report.]
1. User enters a transmittal name as report input.
2. In my main report [JRXML], I query all documents associated with this transmittal, and list them.
3. Pass the r_object_id of the document(s) to my first subreport1.
4. In my first subreport1[JRXML], I query all the comments associated with the document and list them.
5. if a comment has a reply to it, then I pass eif_parent_ref_id to my second subreport [subreport2].
6. In my second subreport2, I query reply comments and list them.
But, my second subreport2 never gets called; where my first subreport1 gets executed properly. I followed the same mechanism of calling subreport1 for my second subreport2. I have the following packaging.
\myReport\mymainReport.jrxml
\myReport\subreport\mySubReport1.jrxml
\myReport\subreport\subreport\mySubReport2.jrxml
I also tried to put both subreports [subreport1.jrxml and subreport2.jrxml] within my 'subreport' folder, but same result.
Is there anything I am missing? Thanks.