NEW2.00.01 · Released 20 November 2013
NEWfinPOWER Connect
Released in
2.00.01
20 November 2013
  1. Opened4 Nov
  2. Closed4 Nov
  3. Released20 Nov
Article 11490 Job J012456

Declaration of Purpose sample VBA updated to cater for Account Applications

The following sample Declaration of Purpose VBA document has been updated to cater for Account Applications:

  • Loan_DeclarationOfPurpose_NZCCCFA.dot (Version: 1.10)

The following code changes have been made and will need to be made to any existing VBA templates that wish to support being printed from an Account Application:

  • Variable declarations section
    • Business Layer Constants added for isefinLogClass
    • mAccountApp variable added
    • mLogAccountApp variable added
  • Sub Main
    • mAccountApp and mAccountAppLog variables created in 'Create Objects' section and cleared in 'Destroy Objects' section
    • Section to 'Iterate Logs' has been updated to vary based on whether dealing with an Account Log or an Account Application Log
  • Sub PrintAccountAppDocument added
  • Sub PrintDocument
    • 'Create Bookmark' section updated
    • 'Update Bookmarks' section updated when setting 'LoanId' and 'LoanNumber' bookmarks
    • 'Clear Bookmarks' section updated
  • Sub SaveDocument updated

NOTE: All of the above changes can be located by searching for the text 'AccountApp' and 'mLogClass' in the VBA code's DocumentPrint module.