Hello - I don't see a dedicated `EFT` channel, so ...
# suitescript
m
Hello - I don't see a dedicated
EFT
channel, so I'll shoot here: we need to have the reference numbers of invoices paid via EFT added to the XML, so that these are visible on the bank statement (e.g. paid invoice ref numbers: 001, 002, 003) this is for SEPA payments... is this possible with EFT? what needs to be added on the EFT payment template? Thanks!
m
@Milcho Dimkov A lot of this is going to be highly dependent on what the bank's requirement is for the payment file layout, There may not be space in the import file to add that info. If there is space, then it depends on where that info is in relation to the the record the payment is being generated from. Are the ref numbers stored in a custom field on the bill payment record, or are you trying to pull info from the apply sublist of the bill payment record?
r
I usually use the
tranid
value of the bills
m
you have to be careful about customizing the EFT template. Your bank generally provides a precise model so that the xml file is accepted. Adding unnecessary fields could block the validation of your file
m
I'm aware of that - I've customized tens of templates : ) Thanks for the input everyone : )
z
Copy code
<#function getCreditReference payment>
<#assign paidTransactions = transHash[payment.internalid]>
<#assign reference = "">
<#assign paidTransactionsCount = paidTransactions?size>
<#if (paidTransactionsCount >= 1)>
    <#list paidTransactions as transaction>
       <#if transaction.custbody_poziv_na_broj?has_content>
          <#assign reference = transaction.custbody_poziv_na_broj>
       </#if>
    </#list>
</#if>
<#return reference>
</#function>
Ok, not exactly what are you looking for, but just for an example Function iterates through all paid transactions (one payment multiple invoices) and get some data. I thinki you can just replace logic with “reference = reference + transaction.YOUR_FIELD”
m
@Zoran R-DATAGRAM - thanks for the input, I think I can use this indeed : )