Report (value of type, attribute of next)
The "next" element with the "type" attribute set to "report" makes a report to be opened after a form is submitted.
<next type="report" report=REPORT pdf="pdf" />
- report: The name of the report.
- pdf: (optional). If set, a PDF window displaying de report is opened. If not, an HTML page displaying a link to the report is opened.
For example, after a pet vaccination form submission, a vaccination report can be automatically opened ready to be printed.
<entity name="Vaccination"> ... <next type="report" report="VaccinationReport" /> ... </entity>