MS
This commit is contained in:
@@ -134,8 +134,8 @@ Public Class ClassSAP
|
||||
Return Nothing
|
||||
End Try
|
||||
End Function
|
||||
Private Shared WithEvents read As New ReadTable(SAPConnectionString)
|
||||
Private Shared Sub OnIncomingPackage(ByVal Sender As ReadTable, ByVal PackageResult As DataTable) Handles read.IncomingPackage
|
||||
Private Shared WithEvents oReadTbl As New ReadTable(SAPConnectionString)
|
||||
Private Shared Sub OnIncomingPackage(ByVal Sender As ReadTable, ByVal PackageResult As DataTable) Handles oReadTbl.IncomingPackage
|
||||
Try
|
||||
LOGGER.Debug("Processing data package with " +
|
||||
PackageResult.Rows.Count.ToString() + " rows")
|
||||
@@ -166,11 +166,11 @@ Public Class ClassSAP
|
||||
oReadTable.RowCount = RowLimit
|
||||
End If
|
||||
LOGGER.Debug("Table.Run executing.....")
|
||||
read = oReadTable
|
||||
read.Run()
|
||||
oReadTbl = oReadTable
|
||||
oReadTbl.Run()
|
||||
|
||||
LOGGER.Debug("Table.Run executed")
|
||||
RESULT_TABLE = read.Result
|
||||
RESULT_TABLE = oReadTbl.Result
|
||||
If Not IsNothing(NewDatatable) Then
|
||||
LOGGER.Debug($"Got [{NewDatatable.Rows.Count}] rows")
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user