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"
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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 5/15/14, 8:50 AM|
|Seen: 2554 times|
|Last updated: 11/25/15, 12:26 AM|