Article Details
Id:20014
Product:finPOWER Connect
Type:FIX
Version:4.00.01
Opened:02/09/2021
Closed:14/03/2023
Released:20/03/2023
Job: J027336
High Importance

HTML Widgets; New Account wizard; Updating Maturity Repayment details from "Direct Credit" to "Cheque" may retain Bank Account details

Deposit Accounts created via the New Account wizard HTML Widgets could save with an invalid combination of Payment Type vs Payment Method.

For example, setting the Maturity Type to "Payout All" and selecting/ entering Direct Credit details and then changing the "Payment Type" to "Cheque" would retain the Direct Credit details.

This is now validated at a business layer level but the HTML Widget control has also been updated to clear out the invalid Payment Method to avoid confusion.

The following HTML Widget has been updated:

  • HtmlWidget_AccountNew
    • Version: 1.20 (09/03/2023)

NOTE: The only change to the Template Text is the addition of the following method (plus a change to how the control is defined so it is used as the event handler):

// =========================
// apdPaymentDetailsMaturity
// =========================
function apdPaymentDetailsMaturity_PaymentMethodChange(sender, e) {
  // Handled
  if (e) e.ChangeHandled = true;
  
  // Act as if the Payment Type has changed since this may have been changed from the Client Bank Account Lookup
  cboMaturityPaymentType_Change();
}