Skip to main content
Question

E-mailing Reports using Event Action - Not Working for Delivery Note for Customer Order

  • February 18, 2020
  • 7 replies
  • 616 views

Forum|alt.badge.img+6

Hello,

I would like to send an E-mailing Reports using Event Action for Delivery note for customer order.

But it’s not Working. any one knows how we can achieve this?

Ultimately we want to send print delivery note pdf file in e-mail using our subject and body.

Please advise.

Thank you.

7 replies

Forum|alt.badge.img+6
  • Do Gooder (Partner)
  • 35 replies
  • February 18, 2020

can you send other emails / reports or is it just this type of report? 

Is the report being generated (PDF Archive)???

 


Forum|alt.badge.img+6
  • Author
  • Sidekick (Customer)
  • 12 replies
  • February 18, 2020

Hi,

Thank you for your reply.

I can send other report like invoice, customer statement etc.

But I can send this report only.

Yes report is being generated in report archive.

Thank you.


RobertW
Do Gooder (Customer)
Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • 5 replies
  • February 18, 2020

Hi Dipak, 

Two ways I can think about doing it is by either using the PDF_REPORT_CREATED Event or via the use of report rules. 

 

Example of Event set up 

 

 

Report Rule example: 

 

 

In the report rule you can use the action type of send email and then populate the property list as required. We also use a custom condition to check that we want the report to be emailed so might be something that you might want to think about if you use the report rule. 

 

Hope this helps :) 


Forum|alt.badge.img+6
  • Author
  • Sidekick (Customer)
  • 12 replies
  • February 18, 2020

Hi Rob,

Yes, It helps. 

If you are OK, please let me know what CC_REPORT_UTIL_API.EMAIL_REPORT api  do?

If possible please send me code

Thank you.


RobertW
Do Gooder (Customer)
Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • 5 replies
  • February 18, 2020

Hi Dipak,

 

I'm not at my computer right now so can't share the code but all the API does is using the parameters passed in by checks us it checks to see if the customer is set up to receive these emails (we have a few requirements for our customer to receive these emails). The function then returns true or false based on the result.  :)


Forum|alt.badge.img+6
  • Author
  • Sidekick (Customer)
  • 12 replies
  • February 18, 2020

Hi Rob,

No problem.

Thank you.


jbernardo
Hero (Partner)
Forum|alt.badge.img+13
  • Hero (Partner)
  • 174 replies
  • March 5, 2020

Came cross this - what is event action? can it be used in FSM 5.7


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings