Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
12889 Widoki

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"

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
maj 18
8435
2
cze 16
5518
0
mar 15
6726
3
paź 23
5752
2
sty 23
5091