Therefore Atilla, etc.
This commit is contained in:
@@ -269,7 +269,7 @@ Public Class cProgramFunctions
|
||||
Try
|
||||
Dim abfertNr = AbfertigungsNr & "%"
|
||||
Dim docid As String = ""
|
||||
If Filiale = 4801 Then
|
||||
If Filiale = 4801 OrElse Filiale = 4802 OrElse Filiale = 4813 Then
|
||||
docid = SQL_VERAG.getValueTxtBySql("SELECT TOP 1 isnull([DocNo],-1) FROM [Therefore].[dbo].[TheCat17] WHERE [String] LIKE '" & abfertNr & "' ORDER BY [Eingabedatum] DESC", "SCANCANON")
|
||||
ElseIf Filiale = 5601 Then
|
||||
If Not IsNumeric(docid) OrElse docid <= 0 Then docid = SQL_VERAG.getValueTxtBySql("SELECT TOP 1 isnull([DocNo],-1) FROM [Therefore].[dbo].[TheCat393] WHERE [String] LIKE '" & abfertNr & "' ORDER BY [Eingabedatum] DESC", "SCANCANON")
|
||||
|
||||
Reference in New Issue
Block a user