NS AdminA
11/02/2024, 4:02 AMCeligo AI
11/02/2024, 4:02 AMAI generated answer (using internal Slack threads):To add bill credits to the payment email notification template for electronic bank payments, you can modify the XML template used in the Send Email Notifications function of the Payment File Administration. Here is a sample code that was added to the standard XML template:
xml
<#if record.credit?has_content>
<table class="itemtable" style="width: 100%; margin-top: 10px;"><!-- start credit sublist --><#list record.credit as credit><#if credit_index==0>
<thead>
<tr>
<th align="center" colspan="3">Date</th>
<th colspan="5">Type</th>
<th align="right" colspan="3">Ref. Num.</th>
<th align="right" colspan="6">Applied To</th>
<th align="right" colspan="4">Credit Amount</th>
</tr>
</thead>
</#if><tr>
<td align="center" colspan="3" line-height="150%">${credit.creditdate}</td>
<td colspan="5">${credit.type}</td>
<td align="right" colspan="3">${credit.refnum}</td>
<td align="right" colspan="6">${credit.appliedto}</td>
<td align="right" colspan="4">${credit.amount}</td>
</tr>
</#list><!-- end credit--></table>
<br />
<br />
<table>
This code checks if there are any credits applied to the record. If there are, it creates a table listing the date, type, reference number, what it was applied to, and the amount of each credit.
When using this with Electronic Bank Payments, you need to use ${apply.Transaction_TRANDATE}
and the user sending the email notification via EBP needs to customize On Edit the Apply sublist on Bill Payments to add the Date column.
For automatically populating the CC email address when clicking the Email Payment Notification button on the Payment File Administration record, you can add multiple addresses in the 'email for payment notification' field on the vendor record. The addresses should be separated by a semicolon (;). If you have different email addresses to copy by vendor bill (although for the same vendor), you might need to use a script or create a workflow to send an email when the bill payment is created from EFT.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
11/02/2024, 4:02 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825651109
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.822530329
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820881724
Celigo AI
11/02/2024, 4:02 AM