Hi!
I have a request from a customer, basically I have to handle 2 situations on a report. This report is a custom report with a .rdlc fromat which was created with the ForNav Report Designer Tool (v.6.0.0.2068, on client).
The Customers request if the report has to be printed by a printer, then i cannot use colours on the document , otherwise we mark it as an electronic invoice and we have to colour some of the content.
My problem would be at this point is that I cannot find a generic event with the right parameters that would determine wheter the report will be sent to a printer or not.
My main target for these events would've been "codeunit 44 ReportManagement" but I cannot really think of any way to make this work. My best guess qould've been the OnMergeDocument event, so I could run the same report with a global boolean variable that decides if i need to colour the report or not based on the choosen ReportAction, and after that I can overwrite the DocumentStream (picture below) with my newly generated report, but as I understand it correctly, this only works with word layouts.

My setup: BC18 latest version, OnPrem
ForNav Report Designer: v.6.0.0.2068
Thanks for your advices in advance,
Tomi