System.IO, Zugferd, Dakosy-Import Firma gesetzt durch Division1
This commit is contained in:
@@ -3938,7 +3938,7 @@ Public Class cWorker_NCTS
|
||||
If (DY_TMP.dy_BezugsNr.Contains("ATEZ") Or DY_TMP.dy_BezugsNr.Contains("PLH")) OrElse (ATEZ IsNot Nothing AndAlso ATEZ.hasEntry) Then
|
||||
' If ATEZ.status IsNot Nothing Then
|
||||
'If ATEZ.status < 40 Then
|
||||
Dim fio As New IO.FileInfo(filePath)
|
||||
Dim fio As New System.IO.FileInfo(filePath)
|
||||
FileCopy(filePath, "\\ftps.verag.ag\FTP\ATEZ\OUT\" & fio.Name.Replace("lock_", ""))
|
||||
'End If
|
||||
' End If
|
||||
@@ -3951,7 +3951,7 @@ Public Class cWorker_NCTS
|
||||
If (dy_BezugsNr.Contains("ATEZ") Or dy_BezugsNr.Contains("PLH")) OrElse (ATEZ IsNot Nothing AndAlso ATEZ.hasEntry) Then
|
||||
' If ATEZ.status IsNot Nothing Then
|
||||
'If ATEZ.status < 40 Then
|
||||
Dim fio As New IO.FileInfo(filePath)
|
||||
Dim fio As New System.IO.FileInfo(filePath)
|
||||
FileCopy(filePath, "\\ftps.verag.ag\FTP\ATEZ\OUT\" & fio.Name.Replace("lock_", ""))
|
||||
'End If
|
||||
' End If
|
||||
@@ -3966,7 +3966,7 @@ Public Class cWorker_NCTS
|
||||
|
||||
Try
|
||||
|
||||
If Not IO.File.Exists(filePath) Then
|
||||
If Not System.IO.File.Exists(filePath) Then
|
||||
|
||||
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR("Fehler beim Senden an ATEZ FTP (IRU-NCTS-File). File existert nicht.", "" & vbNewLine & "Datei: " & filePath, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||
Exit Sub
|
||||
@@ -4016,7 +4016,7 @@ Public Class cWorker_NCTS
|
||||
Dim NCTS = cDakosyNCTSOut004.LOADByBezugsNr(dy_BezugsNr, False)
|
||||
If NCTS IsNot Nothing Then
|
||||
|
||||
Dim fio As New IO.FileInfo(filePath)
|
||||
Dim fio As New System.IO.FileInfo(filePath)
|
||||
FileCopy(filePath, "\\ftps.verag.ag\FTP\ATEZ\OUT\PDF\" & If(NCTS.ncts_MRN, fio.Name.Replace("lock_", "")))
|
||||
End If
|
||||
'End If
|
||||
|
||||
Reference in New Issue
Block a user