Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
12955 Ansichten

I want to print a jasper report which is having a subreport in it. but when i am printing it in openerp with the help of jasper reports module it is showing the error. as "Report Error Failed to invoke method execute in class com.nantic.jasperreports.JasperServer: null"

Avatar
Verwerfen
Beste Antwort

A complete guide to create sub-reports in iReport [Jasper Reporting]: http://learnopenerp.blogspot.com/2017/11/how-to-add-subreport-in-jasper-report.html

Avatar
Verwerfen
Beste Antwort

Hi,

Hope you are using an XML data source method.

While adding subreport to main report, you need to ensure two steps done:

1. Add a new parameter to the main report with parameter class under properties, set to Object

2. While adding the subreport to main report, in the wizard select Use a JRDatasource Expression and select the parameter defined above.

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Mai 18
8473
2
Juni 16
5580
0
März 15
6791
3
Okt. 23
5828
2
Jan. 23
5171