Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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>