Hi Everyone,
Currently we are implementing multi company with different print out document format for PO, Invoice, etc. for each company.
Here's what we've tried:
1. Create a different jasper report for each company, for example PO-1.jrxml & PO-2.jrxml, with each dataset hardcoded into its own AD_Client_ID.
2. Change the property report When No Data Type = No Pages so that when jasper company 1 is run in company 2 the result is No Pages (tested in Jaspersoft Studio, the preview result is Document is Empty)
What we hope for when executed, the two jrxmls will be processed and the results will only display 1 page for active clients and the jrxml for other companies will not be processed because of the condition When No Data Type = No Pages.
But the result is still 2 pages: 1 page for active company and 1 blank page for other company.
Is there a step missing here?
Or is there a better way to accommodate this request?
Thank you for your help.