Forum Stats

  • 3,852,821 Users
  • 2,264,140 Discussions


How to call run_report_object and send an email with a pdf report as an attachament

myluism Member Posts: 965 Bronze Badge

Hi all.

I'm using Forms on Linux and would like to run a report from forms via RUN_REPORT_OBJECT. This report will be DESTYPE=MAIL. and DESFORMAT=PDF.

Assuming the mailserver is correctly configured and every time you run a report it will be a one on one output: I mean every time you run the report you will print 1 invoice: for example you run the report the first fime and you pass parameter invoice = 10, it will print that invoice only. I only need the report output as an attachment to the mail.

My question is: will i need report distribution xml file?

Best Answer