Article Details
Id:11490
Product:finPOWER Connect
Type:NEW
Version:2.00.01
Opened:04/11/2013
Closed:04/11/2013
Released:20/11/2013
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.