NEW1.06.00 · Released 1 August 2012
NEWfinPOWER Connect
Released in
1.06.00
1 August 2012
- Opened4 Jul
- Closed4 Jul
- Released1 Aug
Article 10268
Job J009938
Logs now validate Email and SMS details are specified when saving
Attempting to save one of the following business layer objects where the ExtendedType is set to 'Email' or 'SMS' will fail if the ExtendedData does not contain the correct information:
- finAccountLog
- finClientLog
- finSecurityStmtLog
- finSecurityStmtItemLog
- finUserLog
The ExtendedData property should be specified as a Key/Value List and for an SMS must contain the following String values:
- Phone - a semi-colon separated list of recipient phone numbers
- Message
For an Email, it must contain:
- To, CC or BCC
- Subject
The following is an example of creating an Account Log that contains SMS details (this is not a Document Log and so is not publishable, the SMS details are stored only for reference):
Dim AccountLog As finAccountLogAccountLog = gISBL.CreateAccountLog()With AccountLog.AccountId = "L10000".Subject = "TEST SMS".ExtendedType = isefinLogExtendedType.Sms.ExtendedData = gISBL.DocumentFunctions.GetLogSmsExtendedData("MyPhoneNumber", "my message")If .Save() Then' OKElse' FailedEnd IfEnd With