I realize that this will be addressed in 7.07, but I need to get this done asap.
Scenario: I need to email a pdf inventory quote (report). I added a email button to the the Inventory Browse. It calls an Email Form. Here the user looks up the Customer, can add text, etc. On this Form is a button for generating the pdf. Once generated, there is a link to preview the pdf.
I want to attach the pdf. Where and how can I get the name of the $$$pdffile that is created in the /reports/ folder?
Also, I am guessing that it is possible to automatically generate the pdf when the Form opens. I'm really lost on which embed points to use, however.
Thanks.