I got a button on a form that run a pdf report with this command
sc_redir(report_pdf_orders_form, parm1=[glo_OrderID]); It works as expected .
I need now to insert the pdf creation and the subseguent attachement of that pdf file, during the automatic creation of a Order, to a generated mail .
I send a mail with Customer Order detail to customer e-mail but I need to attach the pdf report too.
On local it seems to be under http://127.0.0.1:8081/scriptcase/tmp/sc_pdf_20170207121315_285_report_pdf_orders_form.pdf
but when I will be on hosting server where can I intercept that pdf connected to Order created ?
How can I made the attachment then ?
Many thanks