NEW2.03.00 · Released 9 July 2015
Breaking Change
NEWfinPOWER Connect
Released in
2.03.00
9 July 2015
  1. Opened15 May
  2. Closed22 May
  3. Released9 Jul
Article 12911 Job J015481

Service Logs; Business Layer functions amended

Service Log functions have been moved from the internal Database object to its own ServiceLogUtilities object (found on the root support object).

This is not publically available, apart from helper functions (under finBL.Database), namely:

Public Function ServiceLogGetDetails(ByVal pk As Integer, ByRef details As ISServiceLogDetails) As Boolean

Public Function ServiceLogsGetDetails(ByRef details As ISReadOnlyList(Of ISServiceLogDetails), Optional ByVal serviceType As String = "", Optional ByVal serviceId As String = "", Optional ByVal requestType As String = "", Optional ByVal sourcePk As Integer = 0, Optional ByVal sourceType As String = "", Optional ByVal requestStatus As Integer = 0) As Boolean

Public Function ServiceLogsGetDetailsByParentPk(ByVal parentServiceLogPk As Integer, ByRef details As ISReadOnlyList(Of ISServiceLogDetails), Optional includeParent As Boolean = False, Optional includeSuccessfulOnly As Boolean = False) As Boolean

These function have been replaced by the following:

Public Function GetServiceLog(serviceLogPk As Integer, ByRef serviceLog As ISServiceLog, Optional includeAuditLog As Boolean = False) As Boolean

Public Function GetServiceLogs(serviceLogPk As Integer, ByRef serviceLogs As ISServiceLogs, Optional includeParentLog As Boolean = False, Optional includeSuccessfulOnly As Boolean = False, Optional includeLastestServiceLogOnly As Boolean = False) As Boolean

Public Function GetLastestChildServiceLog(serviceLogPk As Integer, ByRef serviceLog As ISServiceLog) As Boolean