Article Details
Id:12952
Product:finPOWER Connect
Type:NEW
Version:2.03.00
Opened:21/05/2015
Closed:02/06/2015
Released:09/07/2015
Job: J015518

Documents; SMS and Email Documents; 'GenerateMessage' Script event now has additional parameters

When the Script 'GenerateMessage' event is called for SMS and Email type Documents, the following additional event arguments may be available:

  • LogSource
    • A isefinLogSource value.
  • SourceObject
    • Depending on where this Document is being generated from, this may be one of the following types of object:
      • finAccountFloatingInterestRateChange
      • finAccountPaymentArrangementAdd
      • finAccountRestructure
      • finAccountTypeRuleRO
      • finBankTransactionReverse

Each of these parameters can be accessed via the GetObject method of the eventArgs parameter and then cast to the correct object type.

NOTE: This does not relate to SMS and Email Documents generated from Workflows; these are already passed additional event arguments such as Workflow and WorkflowItem.