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
Is it possible to include Bill/Vendor Credit Details in generated Electronic Payment Files?
Hello @Jack Daryl Espiel-Oracle --I am trying to follow a bank template format to include both Payments (CINV) and Credits (CREN).
I tried this but the credits aren't in the "payment" list:
<#list transHash[payment.internalid] as transaction>
<#if transaction.type = "vendorcredit">
<Strd>
<RfrdDocInf><Tp><CdOrPrtry><Cd>CREN</Cd></CdOrPrtry></Tp><Nb>${setLength(transaction.tranid,10)}</Nb>
</RfrdDocInf><RfrdDocAmt><CdtNoteAmt Ccy="SEK">${formatAmount(getAmount(payment),"decLessThan1")}</CdtNoteAmt></RfrdDocAmt>
</Strd>
<#else>
<Strd>
<RfrdDocInf><Tp><CdOrPrtry><Cd>CINV</Cd></CdOrPrtry></Tp><Nb>${setLength(transaction.tranid,10)}</Nb>
</RfrdDocInf><RfrdDocAmt>
<RmtdAmt Ccy="SEK">${formatAmount(getAmount(payment),"decLessThan1")}</RmtdAmt></RfrdDocAmt>
</Strd>
</#if>
</#list>
Any guidance would be appreciated. Thanks.