Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?

Is it possible to include Bill/Vendor Credit Details in generated Electronic Payment Files?

edited Mar 20, 2023 9:16PM in Ask A Guru 2 comments

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 2 (Apr-Jun 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders