I have a client that has setup a business event triggered by an ACH payment on an AP Invoice. The business event currently sends a notification email that contains an attachment generated by a report that contains the details of the AP Invoice.
The client ‘s request is to also attach any files that are attached to that AP Invoice to that same notification.
I have tried an approach where the business event would invoke a new action in APPaymentEntry that would compose the email from the email template with the attached report and then would get and attach any files attached to the APInvoice linked to the payment.
I have run into problems referencing the correct methods to generate the email notifications so the code would compile.
Is something like this possible? Is there another way I could hook into the standard Acumantica business event notification email process where I would not have to compose the email and attached report and just add the other attachments?
Thank you in advance for your input.