Article Details
Id:10756
Product:finPOWER Connect
Type:FIX
Version:1.06.06
Opened:30/11/2012
Closed:30/11/2012
Released:29/01/2013
Job: J010853

Accounts form, Payments page; Bank Match not deleting

A bank match containing special characters was not deleted when clicking on the red cross next to the bank match.

Some unusual characters in the bank match were not HTML encoding correctly. What looked like a single quote was not the single quote character but a special character. This would be unusual to get such a character back from a bank.

  1. Work around.
    • Inbuilt Script: SummaryPage_Account_Payments has been updated
    • Locate the following line in the AppendBlock_BankMatches sub:
sb.AppendLine("<td>{{icon|BankTransaction}}</td><td>" & finBL.HtmlEncode(s) & "</td><td><a title='Delete' href='App://FormAction?action=BankMatchDelete&id=" & finBL.Runtime.HtmlUtilities.UrlEncode(s) & "'>{{icon|RecordDelete_Small}}</a></td>") 

*Change the line to the following line (Note:UrlEncode is changed to HtmlEncode and single quotes around the application shortcut are changed to double quotes):

sb.AppendLine("<td>{{icon|BankTransaction}}</td><td>" & finBL.HtmlEncode(s) & "</td><td><a title='Delete' href=""App://FormAction?action=BankMatchDelete&id=" & finBL.Runtime.HtmlUtilities.HtmlEncode(s) & """>{{icon|RecordDelete_Small}}</a></td>")

*The following inbuilt script has been updated: SummaryPage_Account_Payments, Version: 1.13 (30/11/2012)