Article Details
Id: | 12911 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 2.03.00 |
Opened: | 15/05/2015 |
Closed: | 22/05/2015 |
Released: | 09/07/2015 |
Job: | J015481 |
Breaking Change |
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