documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Programmatic running of reports

Open alexbudarov opened this issue 5 years ago • 3 comments

Description of the bug or enhancement

Current reporting manual does not mention that you can run reports from your code.

Use cases:

  1. Run report with parameters input (using ReportGuiManager) and download result document.

  2. Run report without parameters input and download result document. Here we can call ReportService directly.

  3. Run report and save result document (FileDescriptor) to the database linking to a business entity. Like generating an invoice or wages statement.

alexbudarov avatar Nov 20 '19 07:11 alexbudarov

see this post: https://www.cuba-platform.ru/discuss/t/generacziya-neskolkih-otchetov-v-odin-dokument/3695/6?u=budarov

he doesn't know how to launch reports from his code without GUI window

alexbudarov avatar Nov 28 '19 09:11 alexbudarov

one more topic on russian forum where person needs to run report programmatically, but doesn't know how to do that: https://www.cuba-platform.ru/discuss/t/vyvod-html-otcheta-na-ekran/3735

(run html report and display result document in component, like text area or browser frame)

alexbudarov avatar Dec 05 '19 11:12 alexbudarov

https://www.cuba-platform.ru/discuss/t/generacziya-otchetov-v-middleware/4434

alexbudarov avatar Jun 17 '20 06:06 alexbudarov