Create report using wizard
parameters: Entity = library$BookInstance, Template type = XSLX, Report type = Report for List of entities
attributes: BookItem.Publication.Book.Name, BookItem.LibraryDepartment.Name
Link report to screen
Go to Roles and Screens tab in edit report screen
Add the library$BookPublication.browse screen from the dropdown list to the table below
Environment
Description of the bug or enhancement
Setup the project as described in https://doc.cuba-platform.com/reporting-7.2/project_setup_report.html
Define a new RunReportAction standard action and a button for it in the librarydepartment-browse.xml screen descriptor:
Create report using wizard
parameters: Entity = library$BookInstance, Template type = XSLX, Report type = Report for List of entities attributes: BookItem.Publication.Book.Name, BookItem.LibraryDepartment.Name
Link report to screen
Optional: repeat 3-4 steps with other types of reports: Report for single entity; Report for List of entities, selected by query, as described in https://doc.cuba-platform.com/reporting-7.2/single_entity_report.html and https://doc.cuba-platform.com/reporting-7.2/query_report.html (without adding buttons)
Go to Reference - Departments screen
Click Run Report button
ER
The table in the modal window contains all added reports see Figure 23. Run report in https://doc.cuba-platform.com/reporting-7.2/query_report.html
AR
The table contains no reports
Comment
Report generation works correctly in the case of complete follow the instructions described in https://doc.cuba-platform.com/reporting-7.2/single_entity_report.html and https://doc.cuba-platform.com/reporting-7.2/list_of_entities_report.html
Type of button (runReportBtn or listBtn) does not affect reports availability.![no reports by single button.PNG](https://images.zenhubusercontent.com/5f928f98512e55007e6435dc/a1b2a49e-e1e7-42c1-99dd-267b38606509)