Hi All,
I created an advanced PDF to be used to email our vendors once ACH payments were made based on a saved search.
When testing the voucher to ensure all the data was being filled in correctly I would go to the vendor payment and print voucher. The voucher that was printed via a pdf within the system would come back with all the data I was expecting.
I then created a workflow which tracks what is in the saved search for that day to kick off emails to send out to our vendors which that works as expected.
However, when the emailed PDF is generated/sent certain data is missing from the PDF that shows in the printed voucher within NS.
I am going to attach some documents to show the data that is missing.
Below is a printed voucher from NS:
Below is the emailed voucher using the workflow:
Below is the code that should inject the address from the bill under "Pay To":
<tr>
<td class="addressheader" colspan="6"><b>${record.address@label}</b></td>
<td class="totalboxtop" colspan="5"><b>${record.total@label?upper_case}</b></td>
</tr>
<tr>
<td class="address" colspan="6"><#list record.apply as apply>${apply.Transaction_BILLADDRESS}</#list></td>
<td class="totalboxmid" align="right" colspan="5">${record.total}</td>
</tr>
Below is the code that should inject the billing address line 2 under the column "Account Number":
<td colspan="3" line-height="150%" align="center">${apply.applydate}</td>
<td colspan="2">${apply.type}</td>
<td colspan="3">${apply.refnum}</td>
<td colspan="4">${apply.Transaction_BILLADDRESS2}</td>
<td colspan="6">${apply.memo}</td>
<td colspan="3" align="right">${apply.total}</td>
<td colspan="4" align="right">${apply.amount}</td>
I am not sure why the PDF would be printed perfectly fine within NS but when I try to send the PDF using the workflow the data is missing entirely.
I have verified that all the forms are using the custom PDF that I have created.
Any help would be greatly appreciated.
Thanks!