跳至內容
選單
此問題已被標幟
2 回覆
12918 瀏覽次數

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"

頭像
捨棄
最佳答案

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

頭像
捨棄
最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
5月 18
8455
2
6月 16
5545
0
3月 15
6745
3
10月 23
5762
2
1月 23
5109