I’ve been wondering if there is a way to pass some custom object (entity instance) as a parameter to a report from screen controller.
Here is what I want to achieve in general:
I have a report that has two input parameters, first one is some entity (company for instance) and the second one, let’s say it’s list of employees.
When a user opens the employee’s screen, first of all, he has to select a company, so that he sees employees that belong to the company that was selected before.
Is there a way to run the report with the first parameter as the company that I’d like to pass to report in my controller, and the second one will be the selected employees.
I’ve already figured out how to run the report with selected values as the input value, but that isn’t the final our goal.
Any help will be appreciated.
Thanks in advance.