Hello Community,
I created a new custom report to display payment details. The report runs correctly from the Report screen when I provide the parameters DocType and RefNbr of the payment.
To automate this after releasing a payment, I created a Business Event and added an Email Template subscriber. In the Email Templates screen, I attached my custom report with the parameters defined.
However, when the Business Event triggers and sends the email, the attached report is always blank. I have tried both enabling and disabling the “Use Event as Data Source” option, but the result is the same.
Steps to Reproduce:
-
Create a custom report that takes DocType and RefNbr as parameters (works fine when run directly).
-
Create a Business Event triggered after releasing a payment.
-
Add an Email Template as a subscriber.
-
Attach the custom report in the Email Template with required parameters.
-
Trigger the event → The email is sent but the attached report is blank.
Is there anything I need to change here ?

Could someone please guide me on how to properly configure the parameters or data source so that the report generates correctly when triggered through a Business Event?




