Has anyone been able to develop a Payment Receipt Active Report for PLL which sends when a payment is made on a case?
I'm trying to configure an Active report to send when a payment is added to the case.
I have been able to create the report which works in the report designer previewer, and I've been able to create the PLL notification trigger to send the email when a payment is added to the case.
The report is designed that when a payment is added to the case, it will populate with the details of that Payment & Case where the PermitId = CA_OBJECT_ID and ReceiptId = CA_RECEIPT_ID so that only the line items matching both will populate.
This is to prevent all payments being populated on the receipt, if the case has multiple payments, and it also is to prevent multiple cases being populated on one report (in a case where a single ReceiptId touches multiple cases.
The issue I'm running into is that a parameter I have created in active reports is not being populated when the payment is added, which then cause the report not to generate, which prevents the email from sending.
For those interested I've attached the query, and the parameter settings in Active reports are as follows:
PermitId - String
ReceiptId - String
I believe the ReceiptId parameter is not working when the email is triggered, but I have no idea how to troubleshoot it.
Any advise, tips, or resources would be greatly appreciated!
