Article Details
Id:10286
Product:finPOWER Connect
Type:FIX
Version:1.06.00
Opened:05/07/2012
Closed:09/07/2012
Released:01/08/2012
Job: J009959
High Importance
Breaking Change

Logs; Parameters property added and utilised in VBA templates since Extended Data is incorrectly re-used

The following Log objects have an ExtendedData property which was being used to store a key/value list of parameters entered when a Document was created:

  • finAccountLog
  • finClientLog
  • finUserLog

Unfortunately, when creating an Email or SMS type Document, the parameters were overwritten with the Email or SMS details (viewable from the Log form, Audit page) thereby losing the original parameters entered.

A new 'Parameters' property has been added to all Log objects and this is now used to store the Parameters entered when creating a Document. The Parameters can be viewed from each Log form's Audit page.

The following VBA templates have been updated to use the Log's 'Parameters' object instead of extended data:

  • Account_Advice.dot
  • Account_PaymentArrangement.dot
  • Account_PaymentDishonour.dot
  • Client_Advice.dot
  • Loan_Contract_AU.dot
  • Loan_Contract_NZCCCFA.dot
  • Loan_DeclarationOfPurpose_NZCCCFA.dot
  • Loan_New.dot
  • Loan_Overdue_PrePossessionNotice.dot
  • Loan_Overdue_Reminder1.dot
  • Loan_Overdue_RepossessionAuthority.dot
  • Loan_Statement.dot
  • Loan_ThankYou.dot
  • User_Advice.dot

NOTE: Most VBA templates will not be affected since parameters are not generally used when creating a Document for a record (e.g., Create Document from the Accounts form), only when printing ad-hoc via the Report Explorer. Any VBA templates relying on parameters when created for a record (e.g., an Account) such as Statements must be reviewed and changed.

The VBA code must be updated as follows:

' Get Parameters from Log
mParameters.FromXmlString mLog.ExtendedData

Should change to:

' Get Parameters from Log
Set mParameters = mLog.Parameters.ToKeyValueList