Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
12904 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
kvě 18
8446
2
čvn 16
5536
0
bře 15
6736
3
říj 23
5758
2
led 23
5105