Changed DocBox Archiving Logic so that reports are not printed again
The logic how the docbox archives reports has changed with this release.
Before this release, the report had to printed again in the background to save a copy to the docbox.
This worked well, but there were a few limitations and issues with it:
- Performance: Because the report was basically printed twice, the report execution tool longer than needed.
- Layouts: When a different layout was chosen at runtime, the archived version used the default layout
- Print Counter had to be decremented
- ...
With this release, the docbox now uses the generated pdf right before it is send to the printer. There is no need to let the report run again. This means that the archived version is exactly the version that is used for printing. There is no difference in it.
There is one exception: When a complex filter is used to print multiple documents (like for example Invoice 00001..00015), the old logic has to be used.