Article Details
Id:12005
Product:finPOWER Connect
Type:FIX
Version:2.01.00
Opened:25/06/2014
Closed:27/06/2014
Released:27/06/2014
Job: J013515

Page Sets; Account Payment Details type Page Object not working as expected

The Account Payment Details type Page Object not working as expected.

When the BankingDetails property was set from Script code, this was not being reflected in the Page Object.

The following code sample demonstrated loading an Account and loading its Payment Details:

' Create Objects
mAccount = finBL.CreateAccount()

' Controls
With pdaPaymentDetails
  .PaymentFlowDirection = isefinPaymentMethodPaymentFlowDirection.Incoming
  .Account = mAccount
End With

' Load Account
If Not mAccount.Load(cboAccount.Text) Then
  mUI.ErrorMessageShow()
End If

' Upate Payment Details
pdaPaymentDetails.BankingDetails = mAccount.BankingDetails(isefinAccountBankingDetailsType.Incoming).ToBankingDetailsForDisplay(False)