Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
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>