Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
12938 Lượt xem

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"

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 18
8466
2
thg 6 16
5562
0
thg 3 15
6771
3
thg 10 23
5819
2
thg 1 23
5163