Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
How to insert data into csv into file Payment File Format in EFT?
Hi,
I created a custom Payment File Format for Positive Pay.
I want the output file as CSV. I written code as follows.
#OUTPUT START#
<table>
<Worksheet>
<#list payments as payment>
<#assign entity = entities[payment_index]>
<row>
<Cell><Data ss:Type="String"> ${cbank.custpage_pp_custrecord_2663_acct_num} </Data></Cell>
<Cell><Data ss:Type="String"> </Data></Cell>
<Cell><Data ss:Type="String"> ${payment.trandate?string("MMddyy")} </Data></Cell>
<Cell><Data ss:Type="String"> ${buildEntityName(entity,true)} </Data></Cell>
<Cell><Data ss:Type="String"> ${formatAmount(getAmount(payment),"dec")} </Data></Cell>
<Cell><Data ss:Type="String"> </Data></Cell>
</row>
</#list>
</Worksheet>
</table>