BPM to Add Email Address to SSRS Email Screen

I need to create a BPM to autofill the email address from the Customer Header when sending an AR Invoice using the SSRS Email function, but the trace logs return the following and I’m having trouble finding where to put the BPM:

ERP.Proxy.Rpt.ARInvFormImpl SubmitToAgent

Would anyone know how to go about this?

Thank you!

1 Like

We’re discussing something similar here:

You can set the email address in the pre on the bpm you referenced.

1 Like

Have you tried to use the Insert function and selecting the appropriate email from the list? It offers a number of tables to select the desired email.

1 Like

Yes, do you have APR?

1 Like

Yes. I am referencing what is available through APR.

I’m sorry Bruce, I meant Vanessa.

my main problem is I don’t know what business object or table to attach the BPM to. The tracing returned BO: ERP.Proxy.Rpt.ARInvFormImpl Method: SubmitToAgent but I’m not seeing those as options when I search in Method Directives

And we don’t have APR

1 Like

Pre-Processing on: Erp.Rpt.ARInvForm.SubmitToAgent

var row = ds.ARInvFormParam.FirstOrDefault();

row.EMailTo = "yourEmail@yourCompany.com";
row.EMailBody = "Test Email";
row.AttachmentType = "PDF";
row.FaxSubject = "Test Subject";
row.AutoAction = "SSRSClientPrint"; //Only one I could get to run email with
row.WorkstationID = ""; //Do not try to print

Edit the logic accordingly.

You forget ? :rofl:

So they’re on E10 and I’m not seeing the ARInvForm as an option
image

I don’t go back that far I’m afraid, bump to the top so someone else can see.

Thank you for trying!

1 Like