I'm getting ready to take a swing at the new nlapiSendFax() method and I've got a scary question:
I see that we merge a template and then can use that for the body of the fax, but what about merged attachments?
We can add attachments to the fax, but what about merging those attachments and, MOST importantly, how can we get additional tags into the merge of those attachments?
Here is my situation: I have an HTML fax template (heavily merged) and a PDF attachment (also heavily merged). The attachment MUST be a PDF (government form, would be insane to recreate in HTML).
The only possible option I can think of is to concatenate the Fax template merge result with the PDF merge result (if that's even possible) then pass both to the body of the fax.
Anyone have any suggestions?
UPDATE: I just read this in the docs for nlapiMergeRecord()
id [required] - The internalId of the email template
That sounds like we can't merge PDFs (or even FAX template from the wording!)