Email PDF of Current Record
I am trying to create a script that would allow me to email a pdf of the current record. I'm running into problems in saving the file and specifying the subject line of the email based on two of the fields in my current record, i.e. Company Name & Quote Number.
Ideally I would want the subject line to read something line, "My Company quote for Company B - Quote Number 00002", and the file name to be named "Company B - Quote Number 00002".
I've been able to generate the PDF, and create and attach to an email. However the name is always the same based upon the path that I specified in the Save Records as PDF script.
Thank you in advance for your help with this.