Compare commits
27 Commits
fd14af69fb
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 880e7cd8dd | |||
| e55bb4c9d5 | |||
| 723e23c761 | |||
| 838528d035 | |||
| a74febd2db | |||
| e00ca1f441 | |||
| 393d4645bd | |||
| fd92b12a13 | |||
| f083c2f0ef | |||
| 33d192630a | |||
| 07249f427b | |||
| 40f407332c | |||
| 71a26ee1f7 | |||
| fc591a11a4 | |||
| 4397faaece | |||
| 8396ce7120 | |||
| 47929ced9b | |||
| 25fcef6103 | |||
| 4556b8cc12 | |||
| 7ed988741e | |||
| da073b6114 | |||
| 2ea01d71f9 | |||
| d485081bef | |||
| 7b979a3815 | |||
| d702783d1b | |||
| eb162cc981 | |||
| 1c1af724c2 |
@@ -1 +1 @@
|
|||||||
7.4
|
7.5
|
||||||
@@ -114,14 +114,25 @@ Public Class UPDATERfrm
|
|||||||
|
|
||||||
' If Not cut_file(File).Contains("AVISOUPDATER") And Not cut_file(File).Contains("NOT_DEL_") Then
|
' If Not cut_file(File).Contains("AVISOUPDATER") And Not cut_file(File).Contains("NOT_DEL_") Then
|
||||||
|
|
||||||
|
'----------------------------------------
|
||||||
|
'If CopyIncremental Then
|
||||||
|
' cProgrammeUpdate.copyProgramLIST(F, AppDomain.CurrentDomain.BaseDirectory, {"AVISOUPDATER", "NOT_DEL_", "Standort.txt"})
|
||||||
|
'Else
|
||||||
|
' delFiles()
|
||||||
|
' FileCopier()
|
||||||
|
'End If
|
||||||
|
'----------------------------------------
|
||||||
|
|
||||||
If CopyIncremental Then
|
If CopyIncremental Then
|
||||||
cProgrammeUpdate.copyProgramLIST(F, AppDomain.CurrentDomain.BaseDirectory, {"AVISOUPDATER", "NOT_DEL_", "Standort.txt"})
|
|
||||||
|
cProgrammeUpdate.copyProgramLIST(F, AppDomain.CurrentDomain.BaseDirectory, {"AVISOUPDATER", "NOT_DEL_", "Standort.txt"}, AddressOf UpdateProgress)
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|
||||||
delFiles()
|
delFiles()
|
||||||
FileCopier()
|
FileCopier()
|
||||||
End If
|
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
If Not System.IO.File.Exists(AppDomain.CurrentDomain.BaseDirectory & "AVISO.exe") Then
|
If Not System.IO.File.Exists(AppDomain.CurrentDomain.BaseDirectory & "AVISO.exe") Then
|
||||||
@@ -146,6 +157,37 @@ Public Class UPDATERfrm
|
|||||||
Environment.Exit(0)
|
Environment.Exit(0)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Private Sub UpdateProgress(percent As Integer, status As String)
|
||||||
|
|
||||||
|
If Me.InvokeRequired Then
|
||||||
|
|
||||||
|
Me.Invoke(
|
||||||
|
New Action(Of Integer, String)(AddressOf UpdateProgress),
|
||||||
|
percent,
|
||||||
|
status
|
||||||
|
)
|
||||||
|
|
||||||
|
Return
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
percent = Math.Max(0, Math.Min(100, percent))
|
||||||
|
|
||||||
|
ProgressBar.Minimum = 0
|
||||||
|
ProgressBar.Maximum = 100
|
||||||
|
ProgressBar.Value = percent
|
||||||
|
|
||||||
|
m_Label.Text = percent.ToString() & "%"
|
||||||
|
|
||||||
|
If status <> "" Then
|
||||||
|
RichTextBox.AppendText(status & Environment.NewLine)
|
||||||
|
RichTextBox.SelectionStart = RichTextBox.TextLength
|
||||||
|
RichTextBox.ScrollToCaret()
|
||||||
|
End If
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
Function getFByIP() As String
|
Function getFByIP() As String
|
||||||
Dim default_F = ""
|
Dim default_F = ""
|
||||||
getFByIP = ""
|
getFByIP = ""
|
||||||
@@ -490,6 +532,33 @@ Public Class UPDATERfrm
|
|||||||
Return bAns
|
Return bAns
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
Private Sub SetProgress(value As Integer, Optional status As String = "")
|
||||||
|
If Me.InvokeRequired Then
|
||||||
|
Me.Invoke(New Action(Of Integer, String)(AddressOf SetProgress), value, status)
|
||||||
|
Return
|
||||||
|
End If
|
||||||
|
|
||||||
|
value = Math.Max(0, Math.Min(100, value))
|
||||||
|
|
||||||
|
ProgressBar.Minimum = 0
|
||||||
|
ProgressBar.Maximum = 100
|
||||||
|
ProgressBar.Value = value
|
||||||
|
|
||||||
|
m_Label.Text = value.ToString() & "%"
|
||||||
|
|
||||||
|
If status <> "" Then
|
||||||
|
writeLine(RichTextBox, "[" & value.ToString() & "%] " & status)
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
Private Sub SetStatus(text As String)
|
||||||
|
If Me.InvokeRequired Then
|
||||||
|
Me.Invoke(New Action(Of String)(AddressOf SetStatus), text)
|
||||||
|
Return
|
||||||
|
End If
|
||||||
|
|
||||||
|
writeLine(RichTextBox, text)
|
||||||
|
End Sub
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
@@ -51,76 +51,251 @@ Public Class cProgrammeUpdate
|
|||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
|
||||||
Public Shared Function copyProgramLIST(ByRef sourcePfad As String, ByVal destPfad As String, ignoreFilesBeginWith As String()) As Boolean
|
Public Shared Function copyProgramLIST(ByRef sourcePfad As String, ByVal destPfad As String, ignoreFilesBeginWith As String(), Optional progressCallback As Action(Of Integer, String) = Nothing) As Boolean
|
||||||
|
|
||||||
Try
|
Try
|
||||||
|
|
||||||
If destPfad.Trim = "" Then Return False
|
If destPfad.Trim = "" Then Return False
|
||||||
If sourcePfad.Trim = "" Then Return False
|
If sourcePfad.Trim = "" Then Return False
|
||||||
|
|
||||||
If Not My.Computer.FileSystem.DirectoryExists(sourcePfad) Then
|
If Not My.Computer.FileSystem.DirectoryExists(sourcePfad) Then
|
||||||
MsgBox("ERROR_COPY_01: Quell-Ordner existiert nicht.", MsgBoxStyle.Critical, "ERROR") : Return False
|
MsgBox("ERROR_COPY_01: Quell-Ordner existiert nicht.",
|
||||||
|
MsgBoxStyle.Critical, "ERROR")
|
||||||
|
Return False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If Not My.Computer.FileSystem.DirectoryExists(destPfad) Then
|
If Not My.Computer.FileSystem.DirectoryExists(destPfad) Then
|
||||||
MsgBox("ERROR_COPY_02: Ziel-Ordner existiert nicht.", MsgBoxStyle.Critical, "ERROR") : Return False
|
MsgBox("ERROR_COPY_02: Ziel-Ordner existiert nicht.",
|
||||||
|
MsgBoxStyle.Critical, "ERROR")
|
||||||
|
Return False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
'--------------------------------------------------
|
||||||
|
' DATEILISTEN ERMITTELN
|
||||||
|
'--------------------------------------------------
|
||||||
|
|
||||||
|
progressCallback?.Invoke(0, "Dateien werden geprüft...")
|
||||||
|
|
||||||
Dim LIST_SOURCE As New List(Of cProgrammeUpdate)
|
Dim LIST_SOURCE As New List(Of cProgrammeUpdate)
|
||||||
Dim dirNameReplace_SOURCE = ""
|
Dim dirNameReplace_SOURCE = ""
|
||||||
|
|
||||||
Dim DI_SOURCE As New IO.DirectoryInfo(sourcePfad)
|
Dim DI_SOURCE As New IO.DirectoryInfo(sourcePfad)
|
||||||
RekursivGetFiles(DI_SOURCE, dirNameReplace_SOURCE, LIST_SOURCE, {})
|
|
||||||
|
RekursivGetFiles(
|
||||||
|
DI_SOURCE,
|
||||||
|
dirNameReplace_SOURCE,
|
||||||
|
LIST_SOURCE,
|
||||||
|
{}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
Dim LIST_DEST As New List(Of cProgrammeUpdate)
|
Dim LIST_DEST As New List(Of cProgrammeUpdate)
|
||||||
Dim dirNameReplace_DEST = ""
|
Dim dirNameReplace_DEST = ""
|
||||||
|
|
||||||
Dim DI_DEST As New IO.DirectoryInfo(destPfad)
|
Dim DI_DEST As New IO.DirectoryInfo(destPfad)
|
||||||
RekursivGetFiles(DI_DEST, dirNameReplace_DEST, LIST_DEST, ignoreFilesBeginWith)
|
|
||||||
|
RekursivGetFiles(
|
||||||
|
DI_DEST,
|
||||||
|
dirNameReplace_DEST,
|
||||||
|
LIST_DEST,
|
||||||
|
ignoreFilesBeginWith
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
If LIST_SOURCE.Count = 0 Then
|
If LIST_SOURCE.Count = 0 Then
|
||||||
MsgBox("ERROR_COPY_01: Quell-Daten existiert nicht.", MsgBoxStyle.Critical, "ERROR") : Return False
|
MsgBox("ERROR_COPY_01: Quell-Daten existiert nicht.",
|
||||||
|
MsgBoxStyle.Critical, "ERROR")
|
||||||
|
Return False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If LIST_DEST.Count = 0 Then
|
If LIST_DEST.Count = 0 Then
|
||||||
MsgBox("ERROR_COPY_02: Ziel-Daten existiert nicht.", MsgBoxStyle.Critical, "ERROR") : Return False
|
MsgBox("ERROR_COPY_02: Ziel-Daten existiert nicht.",
|
||||||
|
MsgBoxStyle.Critical, "ERROR")
|
||||||
|
Return False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
'ORDNER erstellen:
|
|
||||||
|
'--------------------------------------------------
|
||||||
|
' ORDNER ERSTELLEN
|
||||||
|
'--------------------------------------------------
|
||||||
|
|
||||||
For Each f In LIST_SOURCE
|
For Each f In LIST_SOURCE
|
||||||
|
|
||||||
If If(f.pud_filePathFolder, "") <> "" Then
|
If If(f.pud_filePathFolder, "") <> "" Then
|
||||||
If Not IO.Directory.Exists(dirNameReplace_DEST & "\" & f.pud_filePathFolder.Replace("\\", "\")) Then
|
|
||||||
IO.Directory.CreateDirectory(dirNameReplace_DEST & "\" & f.pud_filePathFolder.Replace("\\", "\"))
|
Dim folder =
|
||||||
|
dirNameReplace_DEST & "\" &
|
||||||
|
f.pud_filePathFolder.Replace("\\", "\")
|
||||||
|
|
||||||
|
If Not IO.Directory.Exists(folder) Then
|
||||||
|
IO.Directory.CreateDirectory(folder)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Next
|
Next
|
||||||
|
|
||||||
'Löschen der unbenötigten Files:
|
|
||||||
|
'--------------------------------------------------
|
||||||
|
' NICHT MEHR BENÖTIGTE DATEIEN LÖSCHEN
|
||||||
|
'--------------------------------------------------
|
||||||
|
|
||||||
For Each f In LIST_DEST
|
For Each f In LIST_DEST
|
||||||
|
|
||||||
If isOldFile(f, LIST_SOURCE) Then
|
If isOldFile(f, LIST_SOURCE) Then
|
||||||
IO.File.Delete(dirNameReplace_DEST & "\" & If(f.pud_filePathFolder, "") & "\" & f.pud_fileName.Replace("\\", "\"))
|
|
||||||
|
Dim d_path =
|
||||||
|
dirNameReplace_DEST & "\" &
|
||||||
|
If(f.pud_filePathFolder, "") & "\" &
|
||||||
|
f.pud_fileName.Replace("\\", "\")
|
||||||
|
|
||||||
|
IO.File.Delete(d_path)
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Next
|
Next
|
||||||
|
|
||||||
'Kopieren/Überschreiben der neuen Files:
|
|
||||||
For Each f In LIST_SOURCE
|
|
||||||
If isNewFile(f, LIST_DEST) Then
|
|
||||||
'Dim FI = New IO.FileInfo()
|
|
||||||
|
|
||||||
Dim s_path = dirNameReplace_SOURCE & "\" & If(f.pud_filePathFolder, "") & "\" & f.pud_fileName.Replace("\\", "\")
|
'--------------------------------------------------
|
||||||
Dim d_path = dirNameReplace_DEST & "\" & If(f.pud_filePathFolder, "") & "\" & f.pud_fileName.Replace("\\", "\")
|
' ERMITTELN, WELCHE DATEIEN TATSÄCHLICH
|
||||||
If fileStartsWith(f.pud_fileName, ignoreFilesBeginWith) And IO.File.Exists(d_path) Then
|
' KOPIERT WERDEN MÜSSEN
|
||||||
'Wenn Ziel-Date in der ignore-List und die Datei existiert auch, soll diese nicht kopiert werden.
|
'--------------------------------------------------
|
||||||
'Wenn Sie nicht exisistiert wir die Datei schon kopiert (zB Standort.txt)
|
|
||||||
|
Dim filesToCopy As New List(Of cProgrammeUpdate)
|
||||||
|
|
||||||
|
For Each f In LIST_SOURCE
|
||||||
|
|
||||||
|
'Bestehende Logik bleibt unverändert!
|
||||||
|
If isNewFile(f, LIST_DEST) Then
|
||||||
|
|
||||||
|
Dim d_path =
|
||||||
|
dirNameReplace_DEST & "\" &
|
||||||
|
If(f.pud_filePathFolder, "") & "\" &
|
||||||
|
f.pud_fileName.Replace("\\", "\")
|
||||||
|
|
||||||
|
'Bestehende Ignore-Logik bleibt ebenfalls erhalten
|
||||||
|
If fileStartsWith(f.pud_fileName, ignoreFilesBeginWith) AndAlso
|
||||||
|
IO.File.Exists(d_path) Then
|
||||||
|
|
||||||
|
'Nicht kopieren
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|
||||||
IO.File.Copy(s_path, d_path, True)
|
filesToCopy.Add(f)
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Next
|
Next
|
||||||
|
|
||||||
|
|
||||||
|
'--------------------------------------------------
|
||||||
|
' NICHTS ZU KOPIEREN
|
||||||
|
'--------------------------------------------------
|
||||||
|
|
||||||
|
If filesToCopy.Count = 0 Then
|
||||||
|
|
||||||
|
progressCallback?.Invoke(
|
||||||
|
100,
|
||||||
|
"Alle Dateien sind aktuell."
|
||||||
|
)
|
||||||
|
|
||||||
|
Return True
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
'--------------------------------------------------
|
||||||
|
' DATEIEN KOPIEREN
|
||||||
|
'--------------------------------------------------
|
||||||
|
|
||||||
|
Dim current As Integer = 0
|
||||||
|
Dim total As Integer = filesToCopy.Count
|
||||||
|
|
||||||
|
For Each f In filesToCopy
|
||||||
|
|
||||||
|
current += 1
|
||||||
|
|
||||||
|
Dim s_path =
|
||||||
|
dirNameReplace_SOURCE & "\" &
|
||||||
|
If(f.pud_filePathFolder, "") & "\" &
|
||||||
|
f.pud_fileName.Replace("\\", "\")
|
||||||
|
|
||||||
|
Dim d_path =
|
||||||
|
dirNameReplace_DEST & "\" &
|
||||||
|
If(f.pud_filePathFolder, "") & "\" &
|
||||||
|
f.pud_fileName.Replace("\\", "\")
|
||||||
|
|
||||||
|
|
||||||
|
'Relativen Dateinamen für Anzeige erstellen
|
||||||
|
Dim displayFile As String = ""
|
||||||
|
|
||||||
|
If If(f.pud_filePathFolder, "") <> "" Then
|
||||||
|
displayFile =
|
||||||
|
f.pud_filePathFolder.TrimStart("\"c) &
|
||||||
|
"\" &
|
||||||
|
f.pud_fileName
|
||||||
|
Else
|
||||||
|
displayFile = f.pud_fileName
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
'Fortschritt berechnen
|
||||||
|
Dim percent As Integer =
|
||||||
|
CInt(((current - 1) / CDbl(total)) * 100)
|
||||||
|
|
||||||
|
|
||||||
|
'Vor dem Kopieren melden
|
||||||
|
progressCallback?.Invoke(
|
||||||
|
percent,
|
||||||
|
"Kopiere: " & displayFile
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
'==================================================
|
||||||
|
' EIGENTLICHER KOPIERVORGANG
|
||||||
|
'==================================================
|
||||||
|
|
||||||
|
IO.File.Copy(
|
||||||
|
s_path,
|
||||||
|
d_path,
|
||||||
|
True
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
'Fortschritt nach dem Kopieren
|
||||||
|
percent =
|
||||||
|
CInt((current / CDbl(total)) * 100)
|
||||||
|
|
||||||
|
progressCallback?.Invoke(
|
||||||
|
percent,
|
||||||
|
"Kopiert: " & displayFile
|
||||||
|
)
|
||||||
|
|
||||||
|
Next
|
||||||
|
|
||||||
|
|
||||||
|
progressCallback?.Invoke(
|
||||||
|
100,
|
||||||
|
"Update abgeschlossen. " &
|
||||||
|
filesToCopy.Count.ToString() &
|
||||||
|
" Datei(en) aktualisiert."
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
|
|
||||||
MsgBox(ex.Message & ex.StackTrace)
|
MsgBox(ex.Message & ex.StackTrace)
|
||||||
|
|
||||||
Return False
|
Return False
|
||||||
|
|
||||||
End Try
|
End Try
|
||||||
' If isNewFile(destPfad) Then Return FileCopier(sourcePfad, destPfad)
|
|
||||||
|
|
||||||
Return True
|
Return True
|
||||||
|
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Public Shared Function fileStartsWith(fileName As String, ignoreFilesBeginWith As String())
|
Public Shared Function fileStartsWith(fileName As String, ignoreFilesBeginWith As String())
|
||||||
|
|||||||
15
Aviso/ATEZ/frmATEZ_EZA.Designer.vb
generated
@@ -56,9 +56,11 @@ Partial Class frmATEZ_EZA
|
|||||||
Me.btnPrio_Export = New System.Windows.Forms.Button()
|
Me.btnPrio_Export = New System.Windows.Forms.Button()
|
||||||
Me.btnPrio_ftz = New System.Windows.Forms.Button()
|
Me.btnPrio_ftz = New System.Windows.Forms.Button()
|
||||||
Me.Panel1 = New System.Windows.Forms.Panel()
|
Me.Panel1 = New System.Windows.Forms.Panel()
|
||||||
|
Me.PictureBox1 = New System.Windows.Forms.PictureBox()
|
||||||
Me.pnlHead.SuspendLayout()
|
Me.pnlHead.SuspendLayout()
|
||||||
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
Me.Panel1.SuspendLayout()
|
Me.Panel1.SuspendLayout()
|
||||||
|
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
Me.SuspendLayout()
|
Me.SuspendLayout()
|
||||||
'
|
'
|
||||||
'btnSend
|
'btnSend
|
||||||
@@ -83,6 +85,7 @@ Partial Class frmATEZ_EZA
|
|||||||
'
|
'
|
||||||
Me.pnlHead.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
|
Me.pnlHead.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
|
||||||
Me.pnlHead.BackColor = System.Drawing.Color.White
|
Me.pnlHead.BackColor = System.Drawing.Color.White
|
||||||
|
Me.pnlHead.Controls.Add(Me.PictureBox1)
|
||||||
Me.pnlHead.Controls.Add(Me.Button1)
|
Me.pnlHead.Controls.Add(Me.Button1)
|
||||||
Me.pnlHead.Controls.Add(Me.Button2)
|
Me.pnlHead.Controls.Add(Me.Button2)
|
||||||
Me.pnlHead.Controls.Add(Me.Label1)
|
Me.pnlHead.Controls.Add(Me.Label1)
|
||||||
@@ -447,6 +450,16 @@ Partial Class frmATEZ_EZA
|
|||||||
Me.Panel1.Size = New System.Drawing.Size(470, 54)
|
Me.Panel1.Size = New System.Drawing.Size(470, 54)
|
||||||
Me.Panel1.TabIndex = 164
|
Me.Panel1.TabIndex = 164
|
||||||
'
|
'
|
||||||
|
'PictureBox1
|
||||||
|
'
|
||||||
|
Me.PictureBox1.BackgroundImage = Global.AVISO.My.Resources.Resources.dakosy_de
|
||||||
|
Me.PictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
||||||
|
Me.PictureBox1.Location = New System.Drawing.Point(572, 34)
|
||||||
|
Me.PictureBox1.Name = "PictureBox1"
|
||||||
|
Me.PictureBox1.Size = New System.Drawing.Size(100, 50)
|
||||||
|
Me.PictureBox1.TabIndex = 164
|
||||||
|
Me.PictureBox1.TabStop = False
|
||||||
|
'
|
||||||
'frmATEZ_EZA
|
'frmATEZ_EZA
|
||||||
'
|
'
|
||||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
@@ -470,6 +483,7 @@ Partial Class frmATEZ_EZA
|
|||||||
Me.pnlHead.PerformLayout()
|
Me.pnlHead.PerformLayout()
|
||||||
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).EndInit()
|
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
Me.Panel1.ResumeLayout(False)
|
Me.Panel1.ResumeLayout(False)
|
||||||
|
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
Me.ResumeLayout(False)
|
Me.ResumeLayout(False)
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
@@ -505,4 +519,5 @@ Partial Class frmATEZ_EZA
|
|||||||
Friend WithEvents btnPrio_Export As Button
|
Friend WithEvents btnPrio_Export As Button
|
||||||
Friend WithEvents btnPrio_ftz As Button
|
Friend WithEvents btnPrio_ftz As Button
|
||||||
Friend WithEvents Panel1 As Panel
|
Friend WithEvents Panel1 As Panel
|
||||||
|
Friend WithEvents PictureBox1 As PictureBox
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ Public Class frmATEZ_EZA
|
|||||||
Dim NCTS As DAKOSY_Worker.cDakosyNCTSOut = Nothing
|
Dim NCTS As DAKOSY_Worker.cDakosyNCTSOut = Nothing
|
||||||
Dim openExisting As Boolean = False
|
Dim openExisting As Boolean = False
|
||||||
Dim id As Integer = -1
|
Dim id As Integer = -1
|
||||||
Dim dgv As DataGridView = Nothing
|
|
||||||
Dim atez_data As cATEZ_NCTS_DATA
|
Dim atez_data As cATEZ_NCTS_DATA
|
||||||
' Dim atez = New cATEZ_NCTS_IN("ATEZ")
|
' Dim atez = New cATEZ_NCTS_IN("ATEZ")
|
||||||
Dim allSelected As Boolean = False
|
Dim allSelected As Boolean = False
|
||||||
@@ -35,12 +34,11 @@ Public Class frmATEZ_EZA
|
|||||||
Property BezugsNr As String = ""
|
Property BezugsNr As String = ""
|
||||||
Property SENDUNG As VERAG_PROG_ALLGEMEIN.cSendungen
|
Property SENDUNG As VERAG_PROG_ALLGEMEIN.cSendungen
|
||||||
|
|
||||||
Sub New(AVISO As VERAG_PROG_ALLGEMEIN.cAviso, SENDUNG As VERAG_PROG_ALLGEMEIN.cSendungen, JAHR As Integer, Optional _dgv As DataGridView = Nothing)
|
Sub New(AVISO As VERAG_PROG_ALLGEMEIN.cAviso, SENDUNG As VERAG_PROG_ALLGEMEIN.cSendungen, JAHR As Integer)
|
||||||
|
|
||||||
' Dieser Aufruf ist für den Designer erforderlich.
|
' Dieser Aufruf ist für den Designer erforderlich.
|
||||||
InitializeComponent()
|
InitializeComponent()
|
||||||
|
|
||||||
If _dgv IsNot Nothing Then Me.dgv = _dgv
|
|
||||||
Me.AVISO = AVISO
|
Me.AVISO = AVISO
|
||||||
Me.SENDUNG = SENDUNG
|
Me.SENDUNG = SENDUNG
|
||||||
Me.JAHR = JAHR
|
Me.JAHR = JAHR
|
||||||
@@ -80,26 +78,6 @@ Public Class frmATEZ_EZA
|
|||||||
Try
|
Try
|
||||||
|
|
||||||
|
|
||||||
'If Button1.Text = "JSON" Then
|
|
||||||
' If Not atez.setJson(atez_data) Then MsgBox("Fehler beim Erstellen der Daten")
|
|
||||||
' atez.setJsonPDF(atez_data, dgvAnhaenge)
|
|
||||||
|
|
||||||
' Dim data As New DataObject()
|
|
||||||
' data.SetData(DataFormats.Text, atez_data.json)
|
|
||||||
' Clipboard.SetDataObject(data)
|
|
||||||
' Me.Cursor = Cursors.Default
|
|
||||||
' MsgBox("JSON-Daten in Zwischenablage gespeichert")
|
|
||||||
' Exit Sub
|
|
||||||
'End If
|
|
||||||
|
|
||||||
'If atez_data.status = "Sent" Then
|
|
||||||
' Exit Sub
|
|
||||||
'End If
|
|
||||||
|
|
||||||
''auskommentiert, weil Sendungen ohne ANhang auch geschickt werden sollen: M.Akceylan
|
|
||||||
''If Not checkAttachment() Then
|
|
||||||
'' Exit Sub
|
|
||||||
''End If
|
|
||||||
|
|
||||||
|
|
||||||
If Not checkMandatoryField() Then
|
If Not checkMandatoryField() Then
|
||||||
@@ -154,9 +132,14 @@ Public Class frmATEZ_EZA
|
|||||||
'If btnPrio_CommInv.Tag = 1 Then combineItemsPriorityDocumentType = "packing_list"
|
'If btnPrio_CommInv.Tag = 1 Then combineItemsPriorityDocumentType = "packing_list"
|
||||||
|
|
||||||
|
|
||||||
|
Dim environment = cRelayHubEnvironment.PROD
|
||||||
|
If VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM Then environment = cRelayHubEnvironment.TEST
|
||||||
|
|
||||||
|
|
||||||
Dim ATEZ_RH_EZA As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubJobOrderRequest With {
|
Dim ATEZ_RH_EZA As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubJobOrderRequest With {
|
||||||
|
.environment = environment,
|
||||||
.referenceNo = ioReference,
|
.referenceNo = ioReference,
|
||||||
.outputApplication = "dakosy/sftp/verg",'.outputApplication = "dakosy/sftp/vera",
|
.outputApplication = cRelayHubOutputApplication.Dakosy, '"dakosy/sftp/verg",'.outputApplication = "dakosy/sftp/vera",
|
||||||
.regimeType = "IMPORT",' .customer = "AVISO",
|
.regimeType = "IMPORT",' .customer = "AVISO",
|
||||||
.dispatchCountry = "TR",'"TR",
|
.dispatchCountry = "TR",'"TR",
|
||||||
.destinationCountry = "DE", 'Default, wird später überschrieben!! (Pflichtfeld)
|
.destinationCountry = "DE", 'Default, wird später überschrieben!! (Pflichtfeld)
|
||||||
@@ -170,27 +153,27 @@ Public Class frmATEZ_EZA
|
|||||||
New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDeclaration With {
|
New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDeclaration With {
|
||||||
.objectIdentification = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubObjectIdentification With {
|
.objectIdentification = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubObjectIdentification With {
|
||||||
.objectName = lblBezugsnummer.Text,'& "_TEST"
|
.objectName = lblBezugsnummer.Text,'& "_TEST"
|
||||||
.objectAlias = ioReference,
|
.objectAlias = ioReference,
|
||||||
.declarationType = "EZA-D",
|
.declarationType = "EZA-D",
|
||||||
.shipmentId = "123",
|
.shipmentId = SENDUNG.tblSnd_SendungID,
|
||||||
.avisoId = "456"
|
.avisoId = SENDUNG.tblSnd_AvisoID
|
||||||
},
|
|
||||||
.headerData = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubHeaderData With {
|
|
||||||
.agentContact = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAgentContact With {
|
|
||||||
.contactPersonName = If(VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.Fullname, ""),
|
|
||||||
.contactPersonPhoneNumber = getTelefon(),
|
|
||||||
.contactPersonPosition = "Zolldeklarant/in",
|
|
||||||
.contactPersonEmail = If(String.IsNullOrEmpty(VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_email), getDefaultMail_FIRMA(), VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_email)
|
|
||||||
},
|
},
|
||||||
.declarantIsConsignee = True,
|
.headerData = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubHeaderData With {
|
||||||
.representationRelationshipCode = "",'-1, '??????????????????????????????????????????????????????????????
|
.agentContact = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAgentContact With {
|
||||||
.inputTaxDeduction = True,'"",'"true",
|
.contactPersonName = If(VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.Fullname, ""),
|
||||||
.procedureCodeRequested = procedureCodeRequested.ToString,' .goodsStatus = "",'"EU",
|
.contactPersonPhoneNumber = getTelefon(),
|
||||||
.transportMeansArrivalIdentity = txtLKWId.Text,
|
.contactPersonPosition = "Zolldeklarant/in",
|
||||||
.transportMeansNationalityCode = If(AVISO.LKW_Nationalitaet, "")
|
.contactPersonEmail = If(String.IsNullOrEmpty(VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_email), getDefaultMail_FIRMA(), VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_email)
|
||||||
}
|
},
|
||||||
}
|
.declarantIsConsignee = True,
|
||||||
|
.representationRelationshipCode = "",'-1, '??????????????????????????????????????????????????????????????
|
||||||
|
.inputTaxDeduction = True,'"",'"true",
|
||||||
|
.procedureCodeRequested = procedureCodeRequested.ToString,' .goodsStatus = "",'"EU",
|
||||||
|
.transportMeansArrivalIdentity = txtLKWId.Text,
|
||||||
|
.transportMeansNationalityCode = If(AVISO.LKW_Nationalitaet, "")
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
.additionalSettings = New cRelayHubAdditionalSettings With {
|
.additionalSettings = New cRelayHubAdditionalSettings With {
|
||||||
.combineOptions = AdditionalSettings,
|
.combineOptions = AdditionalSettings,
|
||||||
@@ -813,7 +796,7 @@ Public Class frmATEZ_EZA
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click
|
Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click
|
||||||
cRelayHubToken.DeleteStore()
|
cRelayHubToken.DeleteAllStores()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles btnAgg_Tnr.Click, btnAgg_desc.Click, btnAgg_Origin.Click, btnAgg_Unit.Click
|
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles btnAgg_Tnr.Click, btnAgg_desc.Click, btnAgg_Origin.Click, btnAgg_Unit.Click
|
||||||
|
|||||||
487
Aviso/ATEZ/frmATEZ_MIC.Designer.vb
generated
Normal file
@@ -0,0 +1,487 @@
|
|||||||
|
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
|
||||||
|
Partial Class frmATEZ_MIC
|
||||||
|
Inherits System.Windows.Forms.Form
|
||||||
|
|
||||||
|
'Das Formular überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
|
||||||
|
<System.Diagnostics.DebuggerNonUserCode()>
|
||||||
|
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||||
|
Try
|
||||||
|
If disposing AndAlso components IsNot Nothing Then
|
||||||
|
components.Dispose()
|
||||||
|
End If
|
||||||
|
Finally
|
||||||
|
MyBase.Dispose(disposing)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
'Wird vom Windows Form-Designer benötigt.
|
||||||
|
Private components As System.ComponentModel.IContainer
|
||||||
|
|
||||||
|
'Hinweis: Die folgende Prozedur ist für den Windows Form-Designer erforderlich.
|
||||||
|
'Das Bearbeiten ist mit dem Windows Form-Designer möglich.
|
||||||
|
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
||||||
|
<System.Diagnostics.DebuggerStepThrough()>
|
||||||
|
Private Sub InitializeComponent()
|
||||||
|
Me.components = New System.ComponentModel.Container()
|
||||||
|
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmATEZ_MIC))
|
||||||
|
Me.btnSend = New System.Windows.Forms.Button()
|
||||||
|
Me.pnlHead = New System.Windows.Forms.Panel()
|
||||||
|
Me.PictureBox1 = New System.Windows.Forms.PictureBox()
|
||||||
|
Me.Button1 = New System.Windows.Forms.Button()
|
||||||
|
Me.Button2 = New System.Windows.Forms.Button()
|
||||||
|
Me.Label1 = New System.Windows.Forms.Label()
|
||||||
|
Me.lblInfo = New System.Windows.Forms.Label()
|
||||||
|
Me.Label8 = New System.Windows.Forms.Label()
|
||||||
|
Me.cboStammreferenz = New VERAG_PROG_ALLGEMEIN.MyComboBox()
|
||||||
|
Me.txtLKWId = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||||
|
Me.Label3 = New System.Windows.Forms.Label()
|
||||||
|
Me.Label9 = New System.Windows.Forms.Label()
|
||||||
|
Me.sbAdressierteZollstelle = New VERAG_PROG_ALLGEMEIN.MySearchBox()
|
||||||
|
Me.lblBezugsnummer = New System.Windows.Forms.Label()
|
||||||
|
Me.Button3 = New System.Windows.Forms.Button()
|
||||||
|
Me.Label6 = New System.Windows.Forms.Label()
|
||||||
|
Me.lblAnh = New System.Windows.Forms.Label()
|
||||||
|
Me.btnAgg_Tnr = New System.Windows.Forms.Button()
|
||||||
|
Me.Label2 = New System.Windows.Forms.Label()
|
||||||
|
Me.btnAgg_Origin = New System.Windows.Forms.Button()
|
||||||
|
Me.btnAgg_Unit = New System.Windows.Forms.Button()
|
||||||
|
Me.btnAgg_desc = New System.Windows.Forms.Button()
|
||||||
|
Me.dgvAnhaenge = New VERAG_PROG_ALLGEMEIN.MyDatagridview(Me.components)
|
||||||
|
Me.columnName = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||||
|
Me.btnPrio_CommInv = New System.Windows.Forms.Button()
|
||||||
|
Me.Label5 = New System.Windows.Forms.Label()
|
||||||
|
Me.btnPrio_eFatura = New System.Windows.Forms.Button()
|
||||||
|
Me.btnPrio_Export = New System.Windows.Forms.Button()
|
||||||
|
Me.btnPrio_ftz = New System.Windows.Forms.Button()
|
||||||
|
Me.Panel1 = New System.Windows.Forms.Panel()
|
||||||
|
Me.pnlHead.SuspendLayout()
|
||||||
|
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
|
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
|
Me.Panel1.SuspendLayout()
|
||||||
|
Me.SuspendLayout()
|
||||||
|
'
|
||||||
|
'btnSend
|
||||||
|
'
|
||||||
|
Me.btnSend.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.btnSend.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnSend.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center
|
||||||
|
Me.btnSend.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.0!)
|
||||||
|
Me.btnSend.Image = Global.AVISO.My.Resources.Resources.ico_atez_declarantAI
|
||||||
|
Me.btnSend.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
|
||||||
|
Me.btnSend.Location = New System.Drawing.Point(473, 343)
|
||||||
|
Me.btnSend.Margin = New System.Windows.Forms.Padding(2)
|
||||||
|
Me.btnSend.Name = "btnSend"
|
||||||
|
Me.btnSend.Padding = New System.Windows.Forms.Padding(5, 0, 5, 0)
|
||||||
|
Me.btnSend.Size = New System.Drawing.Size(205, 58)
|
||||||
|
Me.btnSend.TabIndex = 26
|
||||||
|
Me.btnSend.Text = "An ATEZ senden >>"
|
||||||
|
Me.btnSend.TextAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||||
|
Me.btnSend.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'pnlHead
|
||||||
|
'
|
||||||
|
Me.pnlHead.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
|
||||||
|
Me.pnlHead.BackColor = System.Drawing.Color.White
|
||||||
|
Me.pnlHead.Controls.Add(Me.PictureBox1)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Button1)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Button2)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Label1)
|
||||||
|
Me.pnlHead.Controls.Add(Me.lblInfo)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Label8)
|
||||||
|
Me.pnlHead.Controls.Add(Me.cboStammreferenz)
|
||||||
|
Me.pnlHead.Controls.Add(Me.txtLKWId)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Label3)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Label9)
|
||||||
|
Me.pnlHead.Controls.Add(Me.sbAdressierteZollstelle)
|
||||||
|
Me.pnlHead.Controls.Add(Me.lblBezugsnummer)
|
||||||
|
Me.pnlHead.Location = New System.Drawing.Point(3, 2)
|
||||||
|
Me.pnlHead.Name = "pnlHead"
|
||||||
|
Me.pnlHead.Size = New System.Drawing.Size(675, 151)
|
||||||
|
Me.pnlHead.TabIndex = 112
|
||||||
|
'
|
||||||
|
'PictureBox1
|
||||||
|
'
|
||||||
|
Me.PictureBox1.BackgroundImage = Global.AVISO.My.Resources.Resources.mic_nl
|
||||||
|
Me.PictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
||||||
|
Me.PictureBox1.Location = New System.Drawing.Point(572, 34)
|
||||||
|
Me.PictureBox1.Name = "PictureBox1"
|
||||||
|
Me.PictureBox1.Size = New System.Drawing.Size(100, 50)
|
||||||
|
Me.PictureBox1.TabIndex = 159
|
||||||
|
Me.PictureBox1.TabStop = False
|
||||||
|
'
|
||||||
|
'Button1
|
||||||
|
'
|
||||||
|
Me.Button1.Location = New System.Drawing.Point(553, 117)
|
||||||
|
Me.Button1.Name = "Button1"
|
||||||
|
Me.Button1.Size = New System.Drawing.Size(122, 23)
|
||||||
|
Me.Button1.TabIndex = 153
|
||||||
|
Me.Button1.Text = "Clear Token Cache"
|
||||||
|
Me.Button1.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'Button2
|
||||||
|
'
|
||||||
|
Me.Button2.Location = New System.Drawing.Point(610, 96)
|
||||||
|
Me.Button2.Name = "Button2"
|
||||||
|
Me.Button2.Size = New System.Drawing.Size(65, 23)
|
||||||
|
Me.Button2.TabIndex = 158
|
||||||
|
Me.Button2.Text = "json"
|
||||||
|
Me.Button2.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'Label1
|
||||||
|
'
|
||||||
|
Me.Label1.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.Label1.AutoSize = True
|
||||||
|
Me.Label1.BackColor = System.Drawing.Color.White
|
||||||
|
Me.Label1.Location = New System.Drawing.Point(387, 13)
|
||||||
|
Me.Label1.Name = "Label1"
|
||||||
|
Me.Label1.Size = New System.Drawing.Size(89, 13)
|
||||||
|
Me.Label1.TabIndex = 106
|
||||||
|
Me.Label1.Text = "Bezugsnummer:"
|
||||||
|
'
|
||||||
|
'lblInfo
|
||||||
|
'
|
||||||
|
Me.lblInfo.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
|
Me.lblInfo.ForeColor = System.Drawing.Color.Red
|
||||||
|
Me.lblInfo.Location = New System.Drawing.Point(3, 32)
|
||||||
|
Me.lblInfo.Name = "lblInfo"
|
||||||
|
Me.lblInfo.Size = New System.Drawing.Size(460, 21)
|
||||||
|
Me.lblInfo.TabIndex = 148
|
||||||
|
'
|
||||||
|
'Label8
|
||||||
|
'
|
||||||
|
Me.Label8.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.Label8.AutoSize = True
|
||||||
|
Me.Label8.Location = New System.Drawing.Point(6, 61)
|
||||||
|
Me.Label8.Name = "Label8"
|
||||||
|
Me.Label8.Size = New System.Drawing.Size(86, 13)
|
||||||
|
Me.Label8.TabIndex = 146
|
||||||
|
Me.Label8.Text = "Stammreferenz:"
|
||||||
|
Me.Label8.TextAlign = System.Drawing.ContentAlignment.TopRight
|
||||||
|
Me.Label8.Visible = False
|
||||||
|
'
|
||||||
|
'cboStammreferenz
|
||||||
|
'
|
||||||
|
Me.cboStammreferenz._allowedValuesFreiText = Nothing
|
||||||
|
Me.cboStammreferenz._allowFreiText = False
|
||||||
|
Me.cboStammreferenz._value = ""
|
||||||
|
Me.cboStammreferenz.BackColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer))
|
||||||
|
Me.cboStammreferenz.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
|
||||||
|
Me.cboStammreferenz.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||||
|
Me.cboStammreferenz.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.0!)
|
||||||
|
Me.cboStammreferenz.FormattingEnabled = True
|
||||||
|
Me.cboStammreferenz.Location = New System.Drawing.Point(151, 56)
|
||||||
|
Me.cboStammreferenz.Name = "cboStammreferenz"
|
||||||
|
Me.cboStammreferenz.Size = New System.Drawing.Size(255, 24)
|
||||||
|
Me.cboStammreferenz.TabIndex = 145
|
||||||
|
Me.cboStammreferenz.Visible = False
|
||||||
|
'
|
||||||
|
'txtLKWId
|
||||||
|
'
|
||||||
|
Me.txtLKWId._DateTimeOnly = False
|
||||||
|
Me.txtLKWId._numbersOnly = False
|
||||||
|
Me.txtLKWId._numbersOnlyKommastellen = ""
|
||||||
|
Me.txtLKWId._numbersOnlyTrennzeichen = True
|
||||||
|
Me.txtLKWId._Prozent = False
|
||||||
|
Me.txtLKWId._ShortDateNew = False
|
||||||
|
Me.txtLKWId._ShortDateOnly = False
|
||||||
|
Me.txtLKWId._TimeOnly = False
|
||||||
|
Me.txtLKWId._TimeOnly_Seconds = False
|
||||||
|
Me.txtLKWId._value = ""
|
||||||
|
Me.txtLKWId._Waehrung = False
|
||||||
|
Me.txtLKWId._WaehrungZeichen = True
|
||||||
|
Me.txtLKWId.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.0!)
|
||||||
|
Me.txtLKWId.ForeColor = System.Drawing.Color.Black
|
||||||
|
Me.txtLKWId.Location = New System.Drawing.Point(151, 86)
|
||||||
|
Me.txtLKWId.MaxLineLength = -1
|
||||||
|
Me.txtLKWId.MaxLines_Warning = ""
|
||||||
|
Me.txtLKWId.MaxLines_Warning_Label = Nothing
|
||||||
|
Me.txtLKWId.Name = "txtLKWId"
|
||||||
|
Me.txtLKWId.Size = New System.Drawing.Size(255, 23)
|
||||||
|
Me.txtLKWId.TabIndex = 144
|
||||||
|
'
|
||||||
|
'Label3
|
||||||
|
'
|
||||||
|
Me.Label3.AutoSize = True
|
||||||
|
Me.Label3.Location = New System.Drawing.Point(6, 91)
|
||||||
|
Me.Label3.Name = "Label3"
|
||||||
|
Me.Label3.Size = New System.Drawing.Size(48, 13)
|
||||||
|
Me.Label3.TabIndex = 113
|
||||||
|
Me.Label3.Text = "LKW-KZ:"
|
||||||
|
'
|
||||||
|
'Label9
|
||||||
|
'
|
||||||
|
Me.Label9.AutoSize = True
|
||||||
|
Me.Label9.Location = New System.Drawing.Point(6, 117)
|
||||||
|
Me.Label9.Name = "Label9"
|
||||||
|
Me.Label9.Size = New System.Drawing.Size(117, 13)
|
||||||
|
Me.Label9.TabIndex = 110
|
||||||
|
Me.Label9.Text = "Adressierte-Zollstelle:"
|
||||||
|
'
|
||||||
|
'sbAdressierteZollstelle
|
||||||
|
'
|
||||||
|
Me.sbAdressierteZollstelle._allowFreitext = False
|
||||||
|
Me.sbAdressierteZollstelle._AllowSetValue = False
|
||||||
|
Me.sbAdressierteZollstelle._allowSpaceAsSplitter = False
|
||||||
|
Me.sbAdressierteZollstelle._autoSizeGross = False
|
||||||
|
Me.sbAdressierteZollstelle._hideIfListEmpty = True
|
||||||
|
Me.sbAdressierteZollstelle._value = ""
|
||||||
|
Me.sbAdressierteZollstelle.conn_art = "FMZOLL"
|
||||||
|
Me.sbAdressierteZollstelle.dgvpos = "LEFT"
|
||||||
|
Me.sbAdressierteZollstelle.DISPLAY_PARAM = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.0!)
|
||||||
|
Me.sbAdressierteZollstelle.INVISIBLE_COLUMNS = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.key_visible = False
|
||||||
|
Me.sbAdressierteZollstelle.KEYPARAM = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.Location = New System.Drawing.Point(151, 112)
|
||||||
|
Me.sbAdressierteZollstelle.Name = "sbAdressierteZollstelle"
|
||||||
|
Me.sbAdressierteZollstelle.searchActive = True
|
||||||
|
Me.sbAdressierteZollstelle.Size = New System.Drawing.Size(255, 23)
|
||||||
|
Me.sbAdressierteZollstelle.SQL_ORDER_BY = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.SQL_SELECT = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.SQL_WHERE = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.SQL_WhereParamList = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.TabIndex = 111
|
||||||
|
Me.sbAdressierteZollstelle.usrcntl = Nothing
|
||||||
|
'
|
||||||
|
'lblBezugsnummer
|
||||||
|
'
|
||||||
|
Me.lblBezugsnummer.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.lblBezugsnummer.BackColor = System.Drawing.Color.White
|
||||||
|
Me.lblBezugsnummer.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
|
Me.lblBezugsnummer.Location = New System.Drawing.Point(475, 8)
|
||||||
|
Me.lblBezugsnummer.Name = "lblBezugsnummer"
|
||||||
|
Me.lblBezugsnummer.Size = New System.Drawing.Size(193, 23)
|
||||||
|
Me.lblBezugsnummer.TabIndex = 107
|
||||||
|
Me.lblBezugsnummer.Text = "4800/000000/17 AAA"
|
||||||
|
Me.lblBezugsnummer.TextAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||||
|
'
|
||||||
|
'Button3
|
||||||
|
'
|
||||||
|
Me.Button3.Location = New System.Drawing.Point(473, 157)
|
||||||
|
Me.Button3.Name = "Button3"
|
||||||
|
Me.Button3.Size = New System.Drawing.Size(205, 25)
|
||||||
|
Me.Button3.TabIndex = 152
|
||||||
|
Me.Button3.Text = "alle Anhänge auswählen"
|
||||||
|
Me.Button3.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'Label6
|
||||||
|
'
|
||||||
|
Me.Label6.Location = New System.Drawing.Point(9, 168)
|
||||||
|
Me.Label6.Name = "Label6"
|
||||||
|
Me.Label6.Size = New System.Drawing.Size(135, 13)
|
||||||
|
Me.Label6.TabIndex = 147
|
||||||
|
Me.Label6.Text = "Dokumente:"
|
||||||
|
'
|
||||||
|
'lblAnh
|
||||||
|
'
|
||||||
|
Me.lblAnh.Location = New System.Drawing.Point(332, 168)
|
||||||
|
Me.lblAnh.Name = "lblAnh"
|
||||||
|
Me.lblAnh.Size = New System.Drawing.Size(135, 13)
|
||||||
|
Me.lblAnh.TabIndex = 151
|
||||||
|
Me.lblAnh.Visible = False
|
||||||
|
'
|
||||||
|
'btnAgg_Tnr
|
||||||
|
'
|
||||||
|
Me.btnAgg_Tnr.BackColor = System.Drawing.Color.DeepSkyBlue
|
||||||
|
Me.btnAgg_Tnr.Location = New System.Drawing.Point(76, 3)
|
||||||
|
Me.btnAgg_Tnr.Name = "btnAgg_Tnr"
|
||||||
|
Me.btnAgg_Tnr.Size = New System.Drawing.Size(83, 23)
|
||||||
|
Me.btnAgg_Tnr.TabIndex = 154
|
||||||
|
Me.btnAgg_Tnr.Tag = "1"
|
||||||
|
Me.btnAgg_Tnr.Text = "Tarifnummer"
|
||||||
|
Me.btnAgg_Tnr.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'Label2
|
||||||
|
'
|
||||||
|
Me.Label2.Font = New System.Drawing.Font("Segoe UI", 8.0!)
|
||||||
|
Me.Label2.Location = New System.Drawing.Point(3, 8)
|
||||||
|
Me.Label2.Name = "Label2"
|
||||||
|
Me.Label2.Size = New System.Drawing.Size(103, 17)
|
||||||
|
Me.Label2.TabIndex = 149
|
||||||
|
Me.Label2.Text = "Aggregieren:"
|
||||||
|
'
|
||||||
|
'btnAgg_Origin
|
||||||
|
'
|
||||||
|
Me.btnAgg_Origin.BackColor = System.Drawing.Color.DeepSkyBlue
|
||||||
|
Me.btnAgg_Origin.Location = New System.Drawing.Point(162, 3)
|
||||||
|
Me.btnAgg_Origin.Name = "btnAgg_Origin"
|
||||||
|
Me.btnAgg_Origin.Size = New System.Drawing.Size(92, 23)
|
||||||
|
Me.btnAgg_Origin.TabIndex = 155
|
||||||
|
Me.btnAgg_Origin.Tag = "1"
|
||||||
|
Me.btnAgg_Origin.Text = "Ursprungsland"
|
||||||
|
Me.btnAgg_Origin.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'btnAgg_Unit
|
||||||
|
'
|
||||||
|
Me.btnAgg_Unit.Location = New System.Drawing.Point(257, 3)
|
||||||
|
Me.btnAgg_Unit.Name = "btnAgg_Unit"
|
||||||
|
Me.btnAgg_Unit.Size = New System.Drawing.Size(79, 23)
|
||||||
|
Me.btnAgg_Unit.TabIndex = 156
|
||||||
|
Me.btnAgg_Unit.Tag = "0"
|
||||||
|
Me.btnAgg_Unit.Text = "Maßeinheit"
|
||||||
|
Me.btnAgg_Unit.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'btnAgg_desc
|
||||||
|
'
|
||||||
|
Me.btnAgg_desc.Location = New System.Drawing.Point(339, 3)
|
||||||
|
Me.btnAgg_desc.Name = "btnAgg_desc"
|
||||||
|
Me.btnAgg_desc.Size = New System.Drawing.Size(126, 23)
|
||||||
|
Me.btnAgg_desc.TabIndex = 157
|
||||||
|
Me.btnAgg_desc.Tag = "0"
|
||||||
|
Me.btnAgg_desc.Text = "Warenbeschreibung"
|
||||||
|
Me.btnAgg_desc.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'dgvAnhaenge
|
||||||
|
'
|
||||||
|
Me.dgvAnhaenge.AKTUALISIERUNGS_INTERVALL = -1
|
||||||
|
Me.dgvAnhaenge.AllowUserToAddRows = False
|
||||||
|
Me.dgvAnhaenge.AllowUserToDeleteRows = False
|
||||||
|
Me.dgvAnhaenge.AllowUserToResizeColumns = False
|
||||||
|
Me.dgvAnhaenge.AllowUserToResizeRows = False
|
||||||
|
Me.dgvAnhaenge.BackgroundColor = System.Drawing.Color.White
|
||||||
|
Me.dgvAnhaenge.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
||||||
|
Me.dgvAnhaenge.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.columnName})
|
||||||
|
Me.dgvAnhaenge.Location = New System.Drawing.Point(3, 184)
|
||||||
|
Me.dgvAnhaenge.Name = "dgvAnhaenge"
|
||||||
|
Me.dgvAnhaenge.ReadOnly = True
|
||||||
|
Me.dgvAnhaenge.RowHeadersVisible = False
|
||||||
|
Me.dgvAnhaenge.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
|
||||||
|
Me.dgvAnhaenge.Size = New System.Drawing.Size(675, 158)
|
||||||
|
Me.dgvAnhaenge.TabIndex = 112
|
||||||
|
'
|
||||||
|
'columnName
|
||||||
|
'
|
||||||
|
Me.columnName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill
|
||||||
|
Me.columnName.HeaderText = "Name"
|
||||||
|
Me.columnName.Name = "columnName"
|
||||||
|
Me.columnName.ReadOnly = True
|
||||||
|
'
|
||||||
|
'btnPrio_CommInv
|
||||||
|
'
|
||||||
|
Me.btnPrio_CommInv.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnPrio_CommInv.Location = New System.Drawing.Point(76, 28)
|
||||||
|
Me.btnPrio_CommInv.Name = "btnPrio_CommInv"
|
||||||
|
Me.btnPrio_CommInv.Size = New System.Drawing.Size(116, 23)
|
||||||
|
Me.btnPrio_CommInv.TabIndex = 159
|
||||||
|
Me.btnPrio_CommInv.Tag = "0"
|
||||||
|
Me.btnPrio_CommInv.Text = "Handelsrechnung"
|
||||||
|
Me.btnPrio_CommInv.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'Label5
|
||||||
|
'
|
||||||
|
Me.Label5.Font = New System.Drawing.Font("Segoe UI", 8.0!)
|
||||||
|
Me.Label5.Location = New System.Drawing.Point(3, 33)
|
||||||
|
Me.Label5.Name = "Label5"
|
||||||
|
Me.Label5.Size = New System.Drawing.Size(103, 17)
|
||||||
|
Me.Label5.TabIndex = 160
|
||||||
|
Me.Label5.Text = "Priorität:"
|
||||||
|
'
|
||||||
|
'btnPrio_eFatura
|
||||||
|
'
|
||||||
|
Me.btnPrio_eFatura.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnPrio_eFatura.Location = New System.Drawing.Point(195, 28)
|
||||||
|
Me.btnPrio_eFatura.Name = "btnPrio_eFatura"
|
||||||
|
Me.btnPrio_eFatura.Size = New System.Drawing.Size(69, 23)
|
||||||
|
Me.btnPrio_eFatura.TabIndex = 161
|
||||||
|
Me.btnPrio_eFatura.Tag = "0"
|
||||||
|
Me.btnPrio_eFatura.Text = "eFatura"
|
||||||
|
Me.btnPrio_eFatura.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'btnPrio_Export
|
||||||
|
'
|
||||||
|
Me.btnPrio_Export.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnPrio_Export.Location = New System.Drawing.Point(267, 28)
|
||||||
|
Me.btnPrio_Export.Name = "btnPrio_Export"
|
||||||
|
Me.btnPrio_Export.Size = New System.Drawing.Size(69, 23)
|
||||||
|
Me.btnPrio_Export.TabIndex = 162
|
||||||
|
Me.btnPrio_Export.Tag = "0"
|
||||||
|
Me.btnPrio_Export.Text = "Ausfuhr"
|
||||||
|
Me.btnPrio_Export.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'btnPrio_ftz
|
||||||
|
'
|
||||||
|
Me.btnPrio_ftz.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnPrio_ftz.Location = New System.Drawing.Point(339, 28)
|
||||||
|
Me.btnPrio_ftz.Name = "btnPrio_ftz"
|
||||||
|
Me.btnPrio_ftz.Size = New System.Drawing.Size(69, 23)
|
||||||
|
Me.btnPrio_ftz.TabIndex = 163
|
||||||
|
Me.btnPrio_ftz.Tag = "0"
|
||||||
|
Me.btnPrio_ftz.Text = "FTZ"
|
||||||
|
Me.btnPrio_ftz.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'Panel1
|
||||||
|
'
|
||||||
|
Me.Panel1.BackColor = System.Drawing.SystemColors.InactiveBorder
|
||||||
|
Me.Panel1.Controls.Add(Me.btnPrio_CommInv)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnAgg_Tnr)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnPrio_ftz)
|
||||||
|
Me.Panel1.Controls.Add(Me.Label2)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnPrio_Export)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnAgg_Origin)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnPrio_eFatura)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnAgg_Unit)
|
||||||
|
Me.Panel1.Controls.Add(Me.Label5)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnAgg_desc)
|
||||||
|
Me.Panel1.Location = New System.Drawing.Point(0, 343)
|
||||||
|
Me.Panel1.Name = "Panel1"
|
||||||
|
Me.Panel1.Size = New System.Drawing.Size(470, 54)
|
||||||
|
Me.Panel1.TabIndex = 164
|
||||||
|
'
|
||||||
|
'frmATEZ_MIC
|
||||||
|
'
|
||||||
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||||
|
Me.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
|
||||||
|
Me.BackColor = System.Drawing.SystemColors.InactiveBorder
|
||||||
|
Me.ClientSize = New System.Drawing.Size(680, 409)
|
||||||
|
Me.Controls.Add(Me.Button3)
|
||||||
|
Me.Controls.Add(Me.lblAnh)
|
||||||
|
Me.Controls.Add(Me.pnlHead)
|
||||||
|
Me.Controls.Add(Me.Label6)
|
||||||
|
Me.Controls.Add(Me.btnSend)
|
||||||
|
Me.Controls.Add(Me.dgvAnhaenge)
|
||||||
|
Me.Controls.Add(Me.Panel1)
|
||||||
|
Me.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
|
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
|
||||||
|
Me.Name = "frmATEZ_MIC"
|
||||||
|
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
|
||||||
|
Me.Text = "ATEZ UK"
|
||||||
|
Me.pnlHead.ResumeLayout(False)
|
||||||
|
Me.pnlHead.PerformLayout()
|
||||||
|
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
|
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
|
Me.Panel1.ResumeLayout(False)
|
||||||
|
Me.ResumeLayout(False)
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
Friend WithEvents btnSend As Button
|
||||||
|
Friend WithEvents pnlHead As Panel
|
||||||
|
Friend WithEvents lblInfo As Label
|
||||||
|
Friend WithEvents Label6 As Label
|
||||||
|
Friend WithEvents Label8 As Label
|
||||||
|
Friend WithEvents cboStammreferenz As VERAG_PROG_ALLGEMEIN.MyComboBox
|
||||||
|
Friend WithEvents txtLKWId As VERAG_PROG_ALLGEMEIN.MyTextBox
|
||||||
|
Friend WithEvents Label3 As Label
|
||||||
|
Friend WithEvents dgvAnhaenge As VERAG_PROG_ALLGEMEIN.MyDatagridview
|
||||||
|
Friend WithEvents columnName As DataGridViewTextBoxColumn
|
||||||
|
Friend WithEvents Label9 As Label
|
||||||
|
Friend WithEvents sbAdressierteZollstelle As VERAG_PROG_ALLGEMEIN.MySearchBox
|
||||||
|
Friend WithEvents Label1 As Label
|
||||||
|
Friend WithEvents lblBezugsnummer As Label
|
||||||
|
Friend WithEvents lblAnh As Label
|
||||||
|
Friend WithEvents Button3 As Button
|
||||||
|
Friend WithEvents Button1 As Button
|
||||||
|
Friend WithEvents btnAgg_Tnr As Button
|
||||||
|
Friend WithEvents Label2 As Label
|
||||||
|
Friend WithEvents btnAgg_Origin As Button
|
||||||
|
Friend WithEvents btnAgg_Unit As Button
|
||||||
|
Friend WithEvents btnAgg_desc As Button
|
||||||
|
Friend WithEvents Button2 As Button
|
||||||
|
Friend WithEvents btnPrio_CommInv As Button
|
||||||
|
Friend WithEvents Label5 As Label
|
||||||
|
Friend WithEvents btnPrio_eFatura As Button
|
||||||
|
Friend WithEvents btnPrio_Export As Button
|
||||||
|
Friend WithEvents btnPrio_ftz As Button
|
||||||
|
Friend WithEvents Panel1 As Panel
|
||||||
|
Friend WithEvents PictureBox1 As PictureBox
|
||||||
|
End Class
|
||||||
1256
Aviso/ATEZ/frmATEZ_MIC.resx
Normal file
727
Aviso/ATEZ/frmATEZ_MIC.vb
Normal file
@@ -0,0 +1,727 @@
|
|||||||
|
|
||||||
|
Imports com.esendex.sdk.optouts.models
|
||||||
|
Imports DAKOSY_Worker
|
||||||
|
Imports DAKOSY_Worker.eZollTypes
|
||||||
|
Imports SDL
|
||||||
|
Imports VERAG_PROG_ALLGEMEIN
|
||||||
|
Imports VERAG_PROG_ALLGEMEIN.cRelayHub
|
||||||
|
|
||||||
|
|
||||||
|
Public Class frmATEZ_MIC
|
||||||
|
|
||||||
|
Dim ART As String = ""
|
||||||
|
Dim FilialenNr As Integer
|
||||||
|
Dim AbfertigungsNr As Integer
|
||||||
|
Dim JAHR As Integer = Now.ToString("yy")
|
||||||
|
Public isSTAMMREF As Boolean = False
|
||||||
|
Public STAMMREF As String = ""
|
||||||
|
Public CopyFromZA_Id As Integer = -1
|
||||||
|
Dim FIRMA_DY = VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA
|
||||||
|
Dim ZOLL_SYSTEM = "MODALTRANS"
|
||||||
|
Dim DY As DAKOSY_Worker.cDakosy_Zollanmeldungen = Nothing
|
||||||
|
Public ATT As List(Of String)
|
||||||
|
Dim AVISO As New cAviso
|
||||||
|
Dim zusatz As String
|
||||||
|
Dim cDy_ART As String = If(FIRMA_DY = "ATILLA", "T2", "T1")
|
||||||
|
Dim VermerkeDAL As New cVermerkeDAL
|
||||||
|
Dim NCTS As DAKOSY_Worker.cDakosyNCTSOut = Nothing
|
||||||
|
Dim openExisting As Boolean = False
|
||||||
|
Dim id As Integer = -1
|
||||||
|
Dim dgv As DataGridView = Nothing
|
||||||
|
Dim atez_data As cATEZ_NCTS_DATA
|
||||||
|
' Dim atez = New cATEZ_NCTS_IN("ATEZ")
|
||||||
|
Dim allSelected As Boolean = False
|
||||||
|
|
||||||
|
Property BezugsNr As String = ""
|
||||||
|
Property SENDUNG As VERAG_PROG_ALLGEMEIN.cSendungen
|
||||||
|
|
||||||
|
Sub New(AVISO As VERAG_PROG_ALLGEMEIN.cAviso, SENDUNG As VERAG_PROG_ALLGEMEIN.cSendungen, JAHR As Integer, Optional _dgv As DataGridView = Nothing)
|
||||||
|
|
||||||
|
' Dieser Aufruf ist für den Designer erforderlich.
|
||||||
|
InitializeComponent()
|
||||||
|
|
||||||
|
If _dgv IsNot Nothing Then Me.dgv = _dgv
|
||||||
|
Me.AVISO = AVISO
|
||||||
|
Me.SENDUNG = SENDUNG
|
||||||
|
Me.JAHR = JAHR
|
||||||
|
|
||||||
|
If SENDUNG IsNot Nothing Then
|
||||||
|
Me.FilialenNr = SENDUNG.FilialenNr
|
||||||
|
Me.AbfertigungsNr = SENDUNG.AbfertigungsNr
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Fügen Sie Initialisierungen nach dem InitializeComponent()-Aufruf hinzu.
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
Sub New(_id As Integer, AVISO As VERAG_PROG_ALLGEMEIN.cAviso, SENDUNG As VERAG_PROG_ALLGEMEIN.cSendungen, JAHR As Integer)
|
||||||
|
|
||||||
|
' Dieser Aufruf ist für den Designer erforderlich.
|
||||||
|
InitializeComponent()
|
||||||
|
openExisting = True
|
||||||
|
id = _id
|
||||||
|
|
||||||
|
Me.AVISO = AVISO
|
||||||
|
Me.SENDUNG = SENDUNG
|
||||||
|
Me.JAHR = JAHR
|
||||||
|
|
||||||
|
If SENDUNG IsNot Nothing Then
|
||||||
|
Me.FilialenNr = SENDUNG.FilialenNr
|
||||||
|
Me.AbfertigungsNr = SENDUNG.AbfertigungsNr
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
' Fügen Sie Initialisierungen nach dem InitializeComponent()-Aufruf hinzu.
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles btnSend.Click, Button2.Click
|
||||||
|
Try
|
||||||
|
If Not checkMandatoryField() Then Exit Sub
|
||||||
|
|
||||||
|
Me.Cursor = Cursors.WaitCursor
|
||||||
|
lblInfo.Text = ""
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Referenz
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
Dim ioReferenceLRN As String = lblBezugsnummer.Text
|
||||||
|
Dim ioReference As String = lblBezugsnummer.Text & Now.ToString("ddMMyyyy_HHmmss")
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' RelayHub Request - MIC NL Import
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
'Dim environment = If(VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM, cRelayHubEnvironment.TEST, cRelayHubEnvironment.PROD)
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' RelayHub Request - MIC NL Import
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
Dim environment = cRelayHubEnvironment.TEST
|
||||||
|
|
||||||
|
Dim ATEZ_RH_EZA As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubJobOrderRequest With {
|
||||||
|
.environment = environment,
|
||||||
|
.referenceNo = ioReference,
|
||||||
|
.regimeType = "IM",
|
||||||
|
.outputApplication = cRelayHubOutputApplication.MIC_NL_IMPORT,
|
||||||
|
.dispatchCountry = "TR",
|
||||||
|
.destinationCountry = "NL",
|
||||||
|
.additionalData = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAdditionalData With {
|
||||||
|
.micImportShipment = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubMicImportShipment With {
|
||||||
|
.company = "NL",
|
||||||
|
.plant = "IN",
|
||||||
|
.connectionId = "MICWebService",
|
||||||
|
.partnerId = ioReferenceLRN,
|
||||||
|
.partyId = "party-id-003",
|
||||||
|
.shipmentId = ioReferenceLRN,
|
||||||
|
.actionCode = "DIF",
|
||||||
|
.shipmentType = "E"
|
||||||
|
},
|
||||||
|
.declaration = New List(Of VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDeclaration) From {
|
||||||
|
New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDeclaration With {
|
||||||
|
.addresses = New List(Of VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAddress)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
.additionalSettings = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAdditionalSettings With {
|
||||||
|
.disableOutbound = True,
|
||||||
|
.disableValidation = False
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Dokumente
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
ATEZ_RH_EZA.documents = New List(Of VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDocument)
|
||||||
|
|
||||||
|
For Each r As DataGridViewRow In dgvAnhaenge.Rows
|
||||||
|
Dim isSelected As Boolean = If(DBNull.Value Is r.Cells("anh_selekt").Value, False, r.Cells("anh_selekt").Value)
|
||||||
|
|
||||||
|
If isSelected Then
|
||||||
|
Dim DOC As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDocument
|
||||||
|
DOC.fileType = VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHub_sendToRelayHub_JobOrderRequest.getRelayHub_AnhDesc(r.Cells("anh_Art").Value)
|
||||||
|
DOC.type = "base64"
|
||||||
|
DOC.filename = r.Cells("anh_Name").Value
|
||||||
|
|
||||||
|
Try
|
||||||
|
Dim dateiBytes As Byte() = IO.File.ReadAllBytes(VERAG_PROG_ALLGEMEIN.cDATENSERVER.GET_PDFPath_BY_DocID(r.Cells("anh_docId").Value))
|
||||||
|
DOC.base64String = Convert.ToBase64String(dateiBytes)
|
||||||
|
ATEZ_RH_EZA.documents.Add(DOC)
|
||||||
|
Catch ex As Exception
|
||||||
|
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||||
|
End Try
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Empfänger / Consignee - CN
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
If SENDUNG.tblSnd_EmpfaengerKdNr > 0 Then
|
||||||
|
Dim AD As New cAdressen(SENDUNG.tblSnd_EmpfaengerKdNr)
|
||||||
|
Dim KD As New cKunde(SENDUNG.tblSnd_EmpfaengerKdNr)
|
||||||
|
Dim CN As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAddress
|
||||||
|
|
||||||
|
CN.addressType = "CN"
|
||||||
|
CN.participantEORI = If(KD.EORITIN, "")
|
||||||
|
CN.participantSubsidiaryNumber = If(KD.EORITIN_NL, "")
|
||||||
|
CN.companyName = AD.Name_1
|
||||||
|
CN.streetAndNumber = AD.Straße
|
||||||
|
CN.postalCode = AD.PLZ
|
||||||
|
CN.city = AD.Ort
|
||||||
|
CN.countryCode = SDL.cProgramFunctions.getISO2Land(AD.LandKz)
|
||||||
|
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).addresses.Add(CN)
|
||||||
|
If Not String.IsNullOrWhiteSpace(CN.countryCode) Then ATEZ_RH_EZA.destinationCountry = CN.countryCode
|
||||||
|
End If
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Absender / Consignor - CZ
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
If SENDUNG.tblSnd_AbsenderKdNr > 0 Then
|
||||||
|
Dim AD As New cAdressen(SENDUNG.tblSnd_AbsenderKdNr)
|
||||||
|
Dim KD As New cKunde(SENDUNG.tblSnd_AbsenderKdNr)
|
||||||
|
Dim CZ As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAddress
|
||||||
|
|
||||||
|
CZ.addressType = "CZ"
|
||||||
|
CZ.participantEORI = If(KD.EORITIN, "")
|
||||||
|
CZ.participantSubsidiaryNumber = If(KD.EORITIN_NL, "")
|
||||||
|
CZ.companyName = AD.Name_1
|
||||||
|
CZ.streetAndNumber = AD.Straße
|
||||||
|
CZ.postalCode = AD.PLZ
|
||||||
|
CZ.city = AD.Ort
|
||||||
|
CZ.countryCode = SDL.cProgramFunctions.getISO2Land(AD.LandKz)
|
||||||
|
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).addresses.Add(CZ)
|
||||||
|
If Not String.IsNullOrWhiteSpace(CZ.countryCode) Then ATEZ_RH_EZA.dispatchCountry = CZ.countryCode
|
||||||
|
End If
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Pflichtfelder
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
ATEZ_RH_EZA.dispatchCountry = If(ATEZ_RH_EZA.dispatchCountry, "").Trim().ToUpperInvariant()
|
||||||
|
ATEZ_RH_EZA.destinationCountry = If(ATEZ_RH_EZA.destinationCountry, "").Trim().ToUpperInvariant()
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' JSON anzeigen
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
If sender Is Button2 Then
|
||||||
|
MsgBox(VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHub_sendToRelayHub_JobOrderRequest.getJSON(ATEZ_RH_EZA))
|
||||||
|
Me.Cursor = Cursors.Default
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Senden
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
Dim RESP = VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHub_sendToRelayHub_JobOrderRequest.query_declarations(ATEZ_RH_EZA)
|
||||||
|
|
||||||
|
If RESP.Success Then
|
||||||
|
MsgBox("Erfolgreich an RelayHub / MIC gesendet!" & vbNewLine & "Job Order: " & If(RESP.Data?.jobOrderNo, "") & vbNewLine & "Processing ID: " & If(RESP.Data?.jobOrderProcessingId, ""))
|
||||||
|
Me.Close()
|
||||||
|
Else
|
||||||
|
MsgBox("ERROR" & vbNewLine & RESP.Details, MsgBoxStyle.OkOnly, RESP.Message)
|
||||||
|
End If
|
||||||
|
|
||||||
|
Me.Cursor = Cursors.Default
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||||
|
Me.Cursor = Cursors.Default
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
Private Function getTelefon() As String
|
||||||
|
Dim defaultDW = "200"
|
||||||
|
Select Case VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA
|
||||||
|
Case "ATILLA" : Return "0043 7711 28450"
|
||||||
|
Case "AMBAR" : Return "0049 8651 9962492"
|
||||||
|
Case "UNISPED" : defaultDW = "800"
|
||||||
|
Case "IMEX" : defaultDW = "602"
|
||||||
|
Case "VERAG" : defaultDW = "200"
|
||||||
|
End Select
|
||||||
|
|
||||||
|
Dim dw = VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_durchwahl
|
||||||
|
Return "0049 8503 7973999 " &
|
||||||
|
If(String.IsNullOrEmpty(dw) OrElse dw.Length >= 5, defaultDW, dw)
|
||||||
|
End Function
|
||||||
|
Private Function getDefaultMail_FIRMA() As String
|
||||||
|
Select Case VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA
|
||||||
|
Case "VERAG" : Return "quickstop@verag.ag"
|
||||||
|
Case "IMEX" : Return "steuerbescheide@imex-group.at"
|
||||||
|
Case "UNISPED" : Return "office@unisped.at"
|
||||||
|
Case "AMBAR" : Return "office@ambarlog.com"
|
||||||
|
End Select
|
||||||
|
Return "quickstop@verag.ag"
|
||||||
|
End Function
|
||||||
|
'Private Function sendAtezData(atezData As cATEZ_NCTS_DATA, atez As cATEZ_NCTS_IN) As Boolean
|
||||||
|
|
||||||
|
' Dim failreDesc As String
|
||||||
|
|
||||||
|
' Dim authResp = atez.authenticate("NCTS")
|
||||||
|
' If authResp <> "200" Then
|
||||||
|
|
||||||
|
' failreDesc = "Authentifizierung fehlgeschlagen"
|
||||||
|
' lblInfo.Text = failreDesc & " - " & authResp & vbNewLine & "Vorgang abgebrochen" & vbNewLine & " Bitte wiederholen!"
|
||||||
|
' Dim resultAuthentifizierung As MsgBoxResult = MsgBox("Fehler beim Authentifizieren" & vbNewLine & failreDesc & vbNewLine & "Soll NCTS als Entwurf gespeichert werden?", vbYesNoCancel)
|
||||||
|
|
||||||
|
' If resultAuthentifizierung = vbYes Then
|
||||||
|
' atezData.status = "Draft"
|
||||||
|
' atezData.fehlerbeschreibung = failreDesc
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
' Else
|
||||||
|
' atezData.status = "Failure"
|
||||||
|
' atezData.fehlerbeschreibung = failreDesc
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' Return False
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' atezData.sessionId = atez.sessionID
|
||||||
|
|
||||||
|
|
||||||
|
' If Not atez.setJsonNCTS(atezData) Then
|
||||||
|
' MsgBox("Fehler beim Erstellen der Daten" & vbNewLine & "Vorgang abgebrochen!")
|
||||||
|
' atezData.status = "Failure"
|
||||||
|
' atezData.fehlerbeschreibung = "Fehler beim Erstellen der Daten"
|
||||||
|
' Return atezData.SAVE
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' If checkAttachment() Then
|
||||||
|
' If Not atez.setJsonPDF(atezData, dgvAnhaenge) Then
|
||||||
|
' MsgBox("Fehler beim Erstellen der PDF-Daten!" & vbNewLine & "Vorgang abgebrochen!")
|
||||||
|
' atezData.status = "Failure"
|
||||||
|
' atezData.fehlerbeschreibung = "Fehler beim Erstellen der PDF-Daten!"
|
||||||
|
' Return atezData.SAVE
|
||||||
|
' End If
|
||||||
|
' End If
|
||||||
|
|
||||||
|
|
||||||
|
' Dim azetId = atez.SendRequestWithAuthHeader("application/json", failreDesc, "/api/integrations/verag", "POST")
|
||||||
|
|
||||||
|
' If failreDesc <> "" Then
|
||||||
|
' If atezData.status = "Draft" Then
|
||||||
|
' MsgBox("Fehler beim Senden" & vbNewLine & failreDesc)
|
||||||
|
' atezData.fehlerbeschreibung = failreDesc
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
|
||||||
|
' End If
|
||||||
|
' Dim result As MsgBoxResult = MsgBox("Fehler beim Senden" & vbNewLine & failreDesc & vbNewLine & "Soll NCTS als Entwurf gespeichert werden?", vbYesNoCancel)
|
||||||
|
' If result = vbYes Then
|
||||||
|
' atezData.status = "Draft"
|
||||||
|
' atezData.fehlerbeschreibung = failreDesc
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
' Else
|
||||||
|
' atezData.status = "Failure"
|
||||||
|
' atezData.fehlerbeschreibung = failreDesc
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' lblInfo.Text = "Fehler in der API "
|
||||||
|
|
||||||
|
' Else
|
||||||
|
|
||||||
|
' If azetId = "-1" Then
|
||||||
|
' atezData.fehlerbeschreibung = "Request has been sent, but no header received!"
|
||||||
|
' Else
|
||||||
|
' atezData.fehlerbeschreibung = ""
|
||||||
|
' End If
|
||||||
|
' atezData.status = "Sent"
|
||||||
|
' atezData.atezId = IIf(azetId IsNot Nothing, azetId, "")
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
|
||||||
|
' End If
|
||||||
|
|
||||||
|
'End Function
|
||||||
|
|
||||||
|
Function getBezugsnr(ByRef BezugsNr)
|
||||||
|
Dim BezugsNrTmp = ""
|
||||||
|
BezugsNrTmp = SENDUNG.FilialenNr & "/" & SENDUNG.AbfertigungsNr
|
||||||
|
BezugsNr = BezugsNrTmp
|
||||||
|
zusatz = "A"
|
||||||
|
|
||||||
|
If dgv IsNot Nothing AndAlso dgv.Rows.Count > 0 Then
|
||||||
|
BezugsNr = BezugsNrTmp & "/" & zusatz
|
||||||
|
For Each r As DataGridViewRow In dgv.Rows
|
||||||
|
If r.Cells("BezugsNr").Value = BezugsNr Then
|
||||||
|
|
||||||
|
If zusatz.Length = 1 Then
|
||||||
|
zusatz = Chr(Asc(zusatz.ToString) + 1)
|
||||||
|
Else
|
||||||
|
zusatz = zusatz.Substring(0, 1) & Chr(Asc(zusatz.Substring(0, 2).ToString) + 1)
|
||||||
|
End If
|
||||||
|
|
||||||
|
If zusatz = "Z" Then zusatz = "AA"
|
||||||
|
End If
|
||||||
|
BezugsNr = BezugsNrTmp & "/" & zusatz
|
||||||
|
Next
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
While DAKOSY_Worker.cDakosy_Zollanmeldungen.ExistsBezugsNr(BezugsNr) 'IsNot Nothing
|
||||||
|
BezugsNr = BezugsNrTmp & "/" & zusatz
|
||||||
|
|
||||||
|
If zusatz.Length = 1 Then
|
||||||
|
zusatz = Chr(Asc(zusatz.ToString) + 1)
|
||||||
|
Else
|
||||||
|
zusatz = zusatz.Substring(0, 1) & Chr(Asc(zusatz.Substring(0, 2).ToString) + 1)
|
||||||
|
End If
|
||||||
|
|
||||||
|
If zusatz = "Z" Then zusatz = "AA"
|
||||||
|
End While
|
||||||
|
|
||||||
|
lblBezugsnummer.Text = BezugsNr
|
||||||
|
Return BezugsNr
|
||||||
|
End Function
|
||||||
|
|
||||||
|
|
||||||
|
Private Sub frmATEZNCTS_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||||
|
|
||||||
|
'Select Case FIRMA_DY
|
||||||
|
' Case "VERAG" : txtDyMandant.Text = "VERG"
|
||||||
|
' txtDyNiederlassung.Text = VERAG_PROG_ALLGEMEIN.cAllgemein.NIEDERLASSUNG
|
||||||
|
|
||||||
|
' Select Case FilialenNr
|
||||||
|
' Case "5103" : txtDyNiederlassung.Text = "WAI"
|
||||||
|
|
||||||
|
' End Select
|
||||||
|
|
||||||
|
|
||||||
|
' Case "ATILLA" : txtDyMandant.Text = "ATIL" : txtDyNiederlassung.Text = "SUW"
|
||||||
|
' Case "UNISPED" : txtDyMandant.Text = "UNAT" : txtDyNiederlassung.Text = "ATSPED"
|
||||||
|
' Case "IMEX" : txtDyMandant.Text = "IMEX" : txtDyNiederlassung.Text = "IME"
|
||||||
|
' Case "AMBAR" : txtDyMandant.Text = "ATIL" : txtDyNiederlassung.Text = "AMBWO"
|
||||||
|
'End Select
|
||||||
|
FIRMA_DY = cDakosyFunftions.getFirma_DY(FilialenNr.ToString, Me, "EZA")
|
||||||
|
'txtDyMandant.Text = cDakosyFunftions.getIOPartner(FIRMA_DY, "EZA")
|
||||||
|
'txtDyNiederlassung.Text = cDakosyFunftions.getDivision(FIRMA_DY, "EZA")
|
||||||
|
|
||||||
|
'Label4.Text = If(VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_DAKOSY_SB, "-").ToString
|
||||||
|
|
||||||
|
initSeachboxes()
|
||||||
|
lblAnh.Visible = True
|
||||||
|
|
||||||
|
|
||||||
|
If openExisting Then
|
||||||
|
|
||||||
|
If id > 0 Then
|
||||||
|
' atez_data = New cATEZ_NCTS_DATA(id)
|
||||||
|
initAttachment()
|
||||||
|
If atez_data.atezId <> "" Then
|
||||||
|
lblInfo.Text = "Atez-ID " & atez_data.atezId
|
||||||
|
Else
|
||||||
|
lblInfo.Text = "Status: " & IIf(atez_data.fehlerbeschreibung <> "", atez_data.status & "- " & atez_data.fehlerbeschreibung, atez_data.status)
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
lblBezugsnummer.Text = atez_data.VERAG_LRN
|
||||||
|
|
||||||
|
'cboStammreferenz.fillWithSQL("SELECT [dySr_Stammreferenz],[dySr_Bezeichnung] FROM [tblDakosy_Stammreferenzen] WHERE dySr_Land='DE' AND dySr_Verfahren='EZA' and dySr_dy_Mandant='" & txtDyMandant.Text & "' and dySr_dy_Niederlassung IN ('','" & txtDyNiederlassung.Text & "' " & If(txtDyMandant.Text = "UNAT", ", 'ATSPED' ", "") & ") and dySr_visible=1", False, "FMZOLL", True)
|
||||||
|
'cboStammreferenz.changeItem(atez_data.DAKOSY_TemplateCode)
|
||||||
|
'cboProzedur.changeItem(atez_data.DAKOSY_Procedure)
|
||||||
|
|
||||||
|
txtLKWId.Text = atez_data.LicensePlateContainerNo
|
||||||
|
|
||||||
|
'sbBestimmungsZollstelle.SET_VALUE(atez_data.DestinationCustomsOffice)
|
||||||
|
sbAdressierteZollstelle.SET_VALUE(atez_data.DepartureCustomsOffice)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If atez_data.status = "Draft" Then
|
||||||
|
btnSend.Text = "An ATEZ senden -->"
|
||||||
|
pnlHead.Enabled = True
|
||||||
|
btnSend.Enabled = True
|
||||||
|
'initAttachment()
|
||||||
|
|
||||||
|
Else
|
||||||
|
btnSend.Text = "JSON"
|
||||||
|
pnlHead.Enabled = False
|
||||||
|
dgvAnhaenge.ReadOnly = True
|
||||||
|
btnSend.Enabled = True
|
||||||
|
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
btnSend.Enabled = False
|
||||||
|
End If
|
||||||
|
|
||||||
|
Else
|
||||||
|
' atez_data = New cATEZ_NCTS_DATA()
|
||||||
|
initAttachment()
|
||||||
|
'Button1.Text = "An ATEZ senden -->"
|
||||||
|
pnlHead.Enabled = True
|
||||||
|
|
||||||
|
'cboStammreferenz.fillWithSQL("SELECT [dySr_Stammreferenz],[dySr_Bezeichnung] FROM [tblDakosy_Stammreferenzen] WHERE dySr_Land='DE' AND dySr_Verfahren='EZA' and dySr_dy_Mandant='" & txtDyMandant.Text & "' and dySr_dy_Niederlassung IN ('','" & txtDyNiederlassung.Text & "' " & If(txtDyMandant.Text = "UNAT", ", 'ATSPED' ", "") & ") and dySr_visible=1", False, "FMZOLL", True)
|
||||||
|
'cboStammreferenz.changeItem("")
|
||||||
|
|
||||||
|
getBezugsnr(BezugsNr)
|
||||||
|
txtLKWId.Text = AVISO.LKW_Nr
|
||||||
|
|
||||||
|
' sbBestimmungsZollstelle.SET_VALUE(SENDUNG.NCTS_Bestimmungszollstelle)
|
||||||
|
|
||||||
|
If AVISO.Grenzstelle.Replace("???", "") = "" Then
|
||||||
|
sbAdressierteZollstelle.SET_VALUE(AVISO.Zollstelle)
|
||||||
|
Else
|
||||||
|
|
||||||
|
Dim GRZ As New VERAG_PROG_ALLGEMEIN.cGrenzstelle(AVISO.Grenzstelle)
|
||||||
|
If GRZ IsNot Nothing AndAlso GRZ.hasEntry Then
|
||||||
|
If GRZ.grz_ZollamtDST IsNot Nothing Then
|
||||||
|
sbAdressierteZollstelle.SET_VALUE(GRZ.grz_ZollamtDST)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
End If
|
||||||
|
'initAttachment()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Sub initAttachment()
|
||||||
|
Dim hSQL As String = " SELECT [anh_id],anh_Datum,[anh_Name],[anh_docId],
|
||||||
|
|
||||||
|
case WHEN [anh_size] > 0 Then ROUND([anh_size] / 1000000,2) End as anh_size,
|
||||||
|
[anh_Art],[anh_Typ] FROM [tblAvisoAnhaenge]
|
||||||
|
WHERE [anh_AvisoId]=" & AVISO.AvisoID & "AND (anh_SendungsId is null OR anh_SendungsId <=0 OR anh_SendungsId='" & SENDUNG.tblSnd_SendungID & "') And anh_Typ NOT IN ('MSG', 'SONSTIGES')
|
||||||
|
ORDER BY anh_SendungsId desc,
|
||||||
|
case
|
||||||
|
when [anh_Art] = 'ATR-EUR1' then 0
|
||||||
|
when [anh_Art] = 'Rechnung' then 1
|
||||||
|
when [anh_Art] = 'eFatura' then 1.1
|
||||||
|
when [anh_Art] = 'CMR' then 2
|
||||||
|
when [anh_Art] = 'Ausfuhr' then 3
|
||||||
|
when [anh_Art] = 'Vorpapier' then 4
|
||||||
|
when [anh_Art] = 'Packliste' then 5
|
||||||
|
when [anh_Art] = 'Auftrag' then 6
|
||||||
|
when [anh_Art] = 'Auftrag' then 7
|
||||||
|
when [anh_Art] = 'Dispoliste' then 8
|
||||||
|
when [anh_Art] = 'Vorkasse' then 9
|
||||||
|
when [anh_Art] = 'Überweisungsbeleg' then 10
|
||||||
|
when [anh_Art] = 'Vollmacht' then 11
|
||||||
|
when [anh_Art] = 'ATB' then 12
|
||||||
|
when [anh_Art] = 'ATA' then 13
|
||||||
|
when [anh_Art] = 'Sonstiges' then 99
|
||||||
|
when [anh_Art] ='' then 15
|
||||||
|
|
||||||
|
END, [anh_Reihenfolge],[anh_id]"
|
||||||
|
|
||||||
|
Dim dt = VermerkeDAL.Anzeigen_Vermerke(hSQL)
|
||||||
|
|
||||||
|
Dim col As DataColumn
|
||||||
|
col = dt.Columns.Add("anh_selekt", GetType(Boolean))
|
||||||
|
col.SetOrdinal(0)
|
||||||
|
dgvAnhaenge.Columns.Clear()
|
||||||
|
dgvAnhaenge.DataSource = dt
|
||||||
|
If dgvAnhaenge.RowCount = 0 Then dgvAnhaenge.Columns.Clear() : Exit Sub
|
||||||
|
|
||||||
|
With dgvAnhaenge
|
||||||
|
|
||||||
|
.Enabled = True
|
||||||
|
.ReadOnly = False
|
||||||
|
|
||||||
|
.RowTemplate.MinimumHeight = 30
|
||||||
|
.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells
|
||||||
|
.Columns("anh_id").Visible = False 'VermerkID nicht anzeigenconMenuVermerke
|
||||||
|
.Columns("anh_docId").Visible = False 'AvisoID nicht anzeigen
|
||||||
|
' .Columns("anh_Art").Visible = False 'AvisoID nicht anzeigen
|
||||||
|
|
||||||
|
.Columns("anh_selekt").Width = 25
|
||||||
|
.Columns("anh_selekt").HeaderText = ""
|
||||||
|
.Columns("anh_selekt").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
|
||||||
|
|
||||||
|
.Columns("anh_Datum").MinimumWidth = 50
|
||||||
|
.Columns("anh_Datum").HeaderText = "Datum"
|
||||||
|
.Columns("anh_Datum").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
|
||||||
|
.Columns("anh_Datum").ReadOnly = True
|
||||||
|
|
||||||
|
|
||||||
|
.Columns("anh_Name").MinimumWidth = 150
|
||||||
|
.Columns("anh_Name").HeaderText = "Name"
|
||||||
|
.Columns("anh_Name").AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill
|
||||||
|
.Columns("anh_Name").ReadOnly = True
|
||||||
|
|
||||||
|
.Columns("anh_Art").MinimumWidth = 50
|
||||||
|
.Columns("anh_Art").HeaderText = "Art"
|
||||||
|
.Columns("anh_Art").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
|
||||||
|
.Columns("anh_Art").ReadOnly = True
|
||||||
|
|
||||||
|
.Columns("anh_Typ").Width = 50
|
||||||
|
.Columns("anh_Typ").HeaderText = "Typ"
|
||||||
|
.Columns("anh_Typ").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
|
||||||
|
.Columns("anh_Typ").ReadOnly = True
|
||||||
|
|
||||||
|
.Columns("anh_size").Width = 50
|
||||||
|
.Columns("anh_size").HeaderText = "Größe in MB"
|
||||||
|
.Columns("anh_size").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
|
||||||
|
.Columns("anh_size").ReadOnly = True
|
||||||
|
|
||||||
|
End With
|
||||||
|
|
||||||
|
For Each doc As DataGridViewRow In dgvAnhaenge.Rows
|
||||||
|
|
||||||
|
If Not IsDBNull(doc.Cells("anh_size").Value) AndAlso doc.Cells("anh_size").Value > 0 Then
|
||||||
|
Dim size = (doc.Cells("anh_size").Value)
|
||||||
|
If size < 1 Then
|
||||||
|
doc.DefaultCellStyle.BackColor = Color.LightGreen
|
||||||
|
ElseIf size > 1 AndAlso size < 5 Then
|
||||||
|
doc.DefaultCellStyle.BackColor = Color.LightYellow
|
||||||
|
Else
|
||||||
|
doc.DefaultCellStyle.BackColor = Color.IndianRed
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
Next
|
||||||
|
|
||||||
|
If atez_data IsNot Nothing AndAlso atez_data.selectedDocuments <> "" Then
|
||||||
|
|
||||||
|
For Each doc As DataGridViewRow In dgvAnhaenge.Rows
|
||||||
|
If atez_data.selectedDocuments.Contains(doc.Cells("anh_docId").Value) Then doc.Cells("anh_selekt").Value = True
|
||||||
|
|
||||||
|
Next
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
Sub initSeachboxes()
|
||||||
|
|
||||||
|
sbAdressierteZollstelle.initSearchBox(Me.FindForm, "[Code] ,[Code] as Nr,Description as Dienststelle,left(Code,2) as Land,[Description] +' (' +left(Code,2)+')' as display FROM [tbl_DY_ZollDE_C0141_Zollstellen]", {" [Code]", "Description"}, " (StartDate is null OR StartDate< GETDATE()) AND (EndDate is null OR EndDate> GETDATE()) ", " left(Code,2),[Description]", "Code", "display", "FMZOLL", , 400, 200, {"display", "Code"})
|
||||||
|
'sbBestimmungsZollstelle.initSearchBox(Me.FindForm, "[Code] ,[Code] as Nr,Description as Dienststelle,left(Code,2) as Land,[Description] +' (' +left(Code,2)+')' as display FROM [tbl_DY_ZollDE_C0141_Zollstellen]", {" [Code]", "Description"}, " (StartDate is null OR StartDate< GETDATE()) AND (EndDate is null OR EndDate> GETDATE()) ", " left(Code,2),[Description]", "Code", "display", "FMZOLL", , 400, 200, {"display", "Code"})
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Public Function checkAttachment() As Boolean
|
||||||
|
|
||||||
|
Dim selectedDocuments As Boolean = False
|
||||||
|
|
||||||
|
For Each Row In dgvAnhaenge.Rows
|
||||||
|
|
||||||
|
selectedDocuments = IIf(DBNull.Value Is Row.Cells("anh_selekt").Value, False, Row.Cells("anh_selekt").Value)
|
||||||
|
If selectedDocuments Then Exit For
|
||||||
|
Next
|
||||||
|
|
||||||
|
|
||||||
|
'If Not selectedDocuments Then
|
||||||
|
' lblInfo.Text = "kein Anhang selektiert"
|
||||||
|
' Cursor = Cursors.Default
|
||||||
|
' Return selectedDocuments
|
||||||
|
'End If
|
||||||
|
|
||||||
|
Return selectedDocuments
|
||||||
|
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Public Function checkMandatoryField() As Boolean
|
||||||
|
|
||||||
|
|
||||||
|
'TODO
|
||||||
|
Return True
|
||||||
|
|
||||||
|
|
||||||
|
End Function
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Private Sub dgvAnhaenge_CellDoubleClick(sender As Object, e As DataGridViewCellEventArgs) Handles dgvAnhaenge.CellDoubleClick
|
||||||
|
Try
|
||||||
|
|
||||||
|
If dgvAnhaenge.SelectedRows.Count > 0 Then
|
||||||
|
Dim docPath = VERAG_PROG_ALLGEMEIN.cDATENSERVER.GET_PDFPath_BY_DocID(dgvAnhaenge.SelectedRows(0).Cells("anh_docId").Value)
|
||||||
|
If Not IO.File.Exists(docPath) Then
|
||||||
|
MsgBox("Die Datei existiert nicht!")
|
||||||
|
Else
|
||||||
|
If docPath.ToString.ToLower.EndsWith(".msg") Then ' MSG - Mails --> lokale Kopie, sonst Fehler (bereits von Benutzer soUndSo geöffnet)
|
||||||
|
Dim docPathTMP = VERAG_PROG_ALLGEMEIN.cFormularManager.getTMPPath_MSG()
|
||||||
|
System.IO.File.Copy(docPath, docPathTMP)
|
||||||
|
Process.Start(docPathTMP)
|
||||||
|
Else
|
||||||
|
Process.Start(docPath)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Private Sub dgvAnhaenge_CellClick(sender As Object, e As DataGridViewCellEventArgs) Handles dgvAnhaenge.CellClick
|
||||||
|
|
||||||
|
Dim countAnh As Double = 0
|
||||||
|
If dgvAnhaenge.RowCount > 0 Then
|
||||||
|
|
||||||
|
If dgvAnhaenge.Columns(e.ColumnIndex).Name = "anh_selekt" Then
|
||||||
|
|
||||||
|
If Not IsDBNull(dgvAnhaenge.CurrentRow.Cells("anh_selekt").Value) AndAlso dgvAnhaenge.CurrentRow.Cells("anh_selekt").Value = True Then
|
||||||
|
countAnh += IIf(dgvAnhaenge.CurrentRow.Cells("anh_size").Value IsNot DBNull.Value, dgvAnhaenge.CurrentRow.Cells("anh_size").Value, 0)
|
||||||
|
End If
|
||||||
|
|
||||||
|
For Each Row As DataGridViewRow In dgvAnhaenge.Rows
|
||||||
|
If Row.Cells("anh_selekt").Value IsNot DBNull.Value AndAlso Row.Cells("anh_selekt").Value = True AndAlso Row.Cells("anh_size").Value IsNot DBNull.Value Then
|
||||||
|
countAnh += IIf(Row.Cells("anh_size").Value IsNot DBNull.Value, Row.Cells("anh_size").Value, 0)
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
|
||||||
|
lblAnh.Text = "Anhang in MB: " & countAnh.ToString
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
|
||||||
|
If dgvAnhaenge.RowCount > 0 Then
|
||||||
|
Dim countAnh As Double = 0
|
||||||
|
For Each Row As DataGridViewRow In dgvAnhaenge.Rows
|
||||||
|
If allSelected Then
|
||||||
|
Row.Cells("anh_selekt").Value = True
|
||||||
|
countAnh += IIf(Row.Cells("anh_size").Value IsNot DBNull.Value, Row.Cells("anh_size").Value, 0)
|
||||||
|
Else
|
||||||
|
Row.Cells("anh_selekt").Value = False
|
||||||
|
countAnh = 0
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
allSelected = Not allSelected
|
||||||
|
lblAnh.Text = "Anhang in MB: " & countAnh.ToString
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click
|
||||||
|
cRelayHubToken.DeleteAllStores()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles btnAgg_Tnr.Click, btnAgg_desc.Click, btnAgg_Origin.Click, btnAgg_Unit.Click
|
||||||
|
If sender.Tag = 0 Then
|
||||||
|
sender.Tag = 1
|
||||||
|
sender.BackColor = Color.DeepSkyBlue
|
||||||
|
Else
|
||||||
|
sender.Tag = 0
|
||||||
|
sender.BackColor = SystemColors.Control
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
Private Sub Buttonprio_Click(sender As Object, e As EventArgs) Handles btnPrio_CommInv.Click, btnPrio_ftz.Click, btnPrio_eFatura.Click, btnPrio_Export.Click
|
||||||
|
|
||||||
|
If sender IsNot btnPrio_CommInv Then btnPrio_CommInv.Tag = 0 : btnPrio_CommInv.BackColor = SystemColors.Control
|
||||||
|
If sender IsNot btnPrio_eFatura Then btnPrio_eFatura.Tag = 0 : btnPrio_eFatura.BackColor = SystemColors.Control
|
||||||
|
If sender IsNot btnPrio_Export Then btnPrio_Export.Tag = 0 : btnPrio_Export.BackColor = SystemColors.Control
|
||||||
|
If sender IsNot btnPrio_ftz Then btnPrio_ftz.Tag = 0 : btnPrio_ftz.BackColor = SystemColors.Control
|
||||||
|
|
||||||
|
|
||||||
|
If sender.Tag = 0 Then
|
||||||
|
sender.Tag = 1
|
||||||
|
sender.BackColor = Color.DeepSkyBlue
|
||||||
|
Else
|
||||||
|
sender.Tag = 0
|
||||||
|
sender.BackColor = SystemColors.Control
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
End Class
|
||||||
487
Aviso/ATEZ/frmATEZ_TELOTEC.Designer.vb
generated
Normal file
@@ -0,0 +1,487 @@
|
|||||||
|
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
|
||||||
|
Partial Class frmATEZ_TELOTEC
|
||||||
|
Inherits System.Windows.Forms.Form
|
||||||
|
|
||||||
|
'Das Formular überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
|
||||||
|
<System.Diagnostics.DebuggerNonUserCode()>
|
||||||
|
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||||
|
Try
|
||||||
|
If disposing AndAlso components IsNot Nothing Then
|
||||||
|
components.Dispose()
|
||||||
|
End If
|
||||||
|
Finally
|
||||||
|
MyBase.Dispose(disposing)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
'Wird vom Windows Form-Designer benötigt.
|
||||||
|
Private components As System.ComponentModel.IContainer
|
||||||
|
|
||||||
|
'Hinweis: Die folgende Prozedur ist für den Windows Form-Designer erforderlich.
|
||||||
|
'Das Bearbeiten ist mit dem Windows Form-Designer möglich.
|
||||||
|
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
||||||
|
<System.Diagnostics.DebuggerStepThrough()>
|
||||||
|
Private Sub InitializeComponent()
|
||||||
|
Me.components = New System.ComponentModel.Container()
|
||||||
|
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmATEZ_TELOTEC))
|
||||||
|
Me.btnSend = New System.Windows.Forms.Button()
|
||||||
|
Me.pnlHead = New System.Windows.Forms.Panel()
|
||||||
|
Me.PictureBox1 = New System.Windows.Forms.PictureBox()
|
||||||
|
Me.Button1 = New System.Windows.Forms.Button()
|
||||||
|
Me.Button2 = New System.Windows.Forms.Button()
|
||||||
|
Me.Label1 = New System.Windows.Forms.Label()
|
||||||
|
Me.lblInfo = New System.Windows.Forms.Label()
|
||||||
|
Me.Label8 = New System.Windows.Forms.Label()
|
||||||
|
Me.cboStammreferenz = New VERAG_PROG_ALLGEMEIN.MyComboBox()
|
||||||
|
Me.txtLKWId = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||||
|
Me.Label3 = New System.Windows.Forms.Label()
|
||||||
|
Me.Label9 = New System.Windows.Forms.Label()
|
||||||
|
Me.sbAdressierteZollstelle = New VERAG_PROG_ALLGEMEIN.MySearchBox()
|
||||||
|
Me.lblBezugsnummer = New System.Windows.Forms.Label()
|
||||||
|
Me.Button3 = New System.Windows.Forms.Button()
|
||||||
|
Me.Label6 = New System.Windows.Forms.Label()
|
||||||
|
Me.lblAnh = New System.Windows.Forms.Label()
|
||||||
|
Me.btnAgg_Tnr = New System.Windows.Forms.Button()
|
||||||
|
Me.Label2 = New System.Windows.Forms.Label()
|
||||||
|
Me.btnAgg_Origin = New System.Windows.Forms.Button()
|
||||||
|
Me.btnAgg_Unit = New System.Windows.Forms.Button()
|
||||||
|
Me.btnAgg_desc = New System.Windows.Forms.Button()
|
||||||
|
Me.dgvAnhaenge = New VERAG_PROG_ALLGEMEIN.MyDatagridview(Me.components)
|
||||||
|
Me.columnName = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||||
|
Me.btnPrio_CommInv = New System.Windows.Forms.Button()
|
||||||
|
Me.Label5 = New System.Windows.Forms.Label()
|
||||||
|
Me.btnPrio_eFatura = New System.Windows.Forms.Button()
|
||||||
|
Me.btnPrio_Export = New System.Windows.Forms.Button()
|
||||||
|
Me.btnPrio_ftz = New System.Windows.Forms.Button()
|
||||||
|
Me.Panel1 = New System.Windows.Forms.Panel()
|
||||||
|
Me.pnlHead.SuspendLayout()
|
||||||
|
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
|
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
|
Me.Panel1.SuspendLayout()
|
||||||
|
Me.SuspendLayout()
|
||||||
|
'
|
||||||
|
'btnSend
|
||||||
|
'
|
||||||
|
Me.btnSend.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.btnSend.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnSend.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center
|
||||||
|
Me.btnSend.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.0!)
|
||||||
|
Me.btnSend.Image = Global.AVISO.My.Resources.Resources.ico_atez_declarantAI
|
||||||
|
Me.btnSend.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
|
||||||
|
Me.btnSend.Location = New System.Drawing.Point(473, 343)
|
||||||
|
Me.btnSend.Margin = New System.Windows.Forms.Padding(2)
|
||||||
|
Me.btnSend.Name = "btnSend"
|
||||||
|
Me.btnSend.Padding = New System.Windows.Forms.Padding(5, 0, 5, 0)
|
||||||
|
Me.btnSend.Size = New System.Drawing.Size(205, 58)
|
||||||
|
Me.btnSend.TabIndex = 26
|
||||||
|
Me.btnSend.Text = "An ATEZ senden >>"
|
||||||
|
Me.btnSend.TextAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||||
|
Me.btnSend.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'pnlHead
|
||||||
|
'
|
||||||
|
Me.pnlHead.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
|
||||||
|
Me.pnlHead.BackColor = System.Drawing.Color.White
|
||||||
|
Me.pnlHead.Controls.Add(Me.PictureBox1)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Button1)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Button2)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Label1)
|
||||||
|
Me.pnlHead.Controls.Add(Me.lblInfo)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Label8)
|
||||||
|
Me.pnlHead.Controls.Add(Me.cboStammreferenz)
|
||||||
|
Me.pnlHead.Controls.Add(Me.txtLKWId)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Label3)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Label9)
|
||||||
|
Me.pnlHead.Controls.Add(Me.sbAdressierteZollstelle)
|
||||||
|
Me.pnlHead.Controls.Add(Me.lblBezugsnummer)
|
||||||
|
Me.pnlHead.Location = New System.Drawing.Point(3, 2)
|
||||||
|
Me.pnlHead.Name = "pnlHead"
|
||||||
|
Me.pnlHead.Size = New System.Drawing.Size(675, 151)
|
||||||
|
Me.pnlHead.TabIndex = 112
|
||||||
|
'
|
||||||
|
'PictureBox1
|
||||||
|
'
|
||||||
|
Me.PictureBox1.BackgroundImage = Global.AVISO.My.Resources.Resources.teleotc_at
|
||||||
|
Me.PictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
||||||
|
Me.PictureBox1.Location = New System.Drawing.Point(572, 34)
|
||||||
|
Me.PictureBox1.Name = "PictureBox1"
|
||||||
|
Me.PictureBox1.Size = New System.Drawing.Size(100, 50)
|
||||||
|
Me.PictureBox1.TabIndex = 159
|
||||||
|
Me.PictureBox1.TabStop = False
|
||||||
|
'
|
||||||
|
'Button1
|
||||||
|
'
|
||||||
|
Me.Button1.Location = New System.Drawing.Point(553, 117)
|
||||||
|
Me.Button1.Name = "Button1"
|
||||||
|
Me.Button1.Size = New System.Drawing.Size(122, 23)
|
||||||
|
Me.Button1.TabIndex = 153
|
||||||
|
Me.Button1.Text = "Clear Token Cache"
|
||||||
|
Me.Button1.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'Button2
|
||||||
|
'
|
||||||
|
Me.Button2.Location = New System.Drawing.Point(610, 96)
|
||||||
|
Me.Button2.Name = "Button2"
|
||||||
|
Me.Button2.Size = New System.Drawing.Size(65, 23)
|
||||||
|
Me.Button2.TabIndex = 158
|
||||||
|
Me.Button2.Text = "json"
|
||||||
|
Me.Button2.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'Label1
|
||||||
|
'
|
||||||
|
Me.Label1.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.Label1.AutoSize = True
|
||||||
|
Me.Label1.BackColor = System.Drawing.Color.White
|
||||||
|
Me.Label1.Location = New System.Drawing.Point(387, 13)
|
||||||
|
Me.Label1.Name = "Label1"
|
||||||
|
Me.Label1.Size = New System.Drawing.Size(89, 13)
|
||||||
|
Me.Label1.TabIndex = 106
|
||||||
|
Me.Label1.Text = "Bezugsnummer:"
|
||||||
|
'
|
||||||
|
'lblInfo
|
||||||
|
'
|
||||||
|
Me.lblInfo.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
|
Me.lblInfo.ForeColor = System.Drawing.Color.Red
|
||||||
|
Me.lblInfo.Location = New System.Drawing.Point(3, 32)
|
||||||
|
Me.lblInfo.Name = "lblInfo"
|
||||||
|
Me.lblInfo.Size = New System.Drawing.Size(460, 21)
|
||||||
|
Me.lblInfo.TabIndex = 148
|
||||||
|
'
|
||||||
|
'Label8
|
||||||
|
'
|
||||||
|
Me.Label8.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.Label8.AutoSize = True
|
||||||
|
Me.Label8.Location = New System.Drawing.Point(6, 61)
|
||||||
|
Me.Label8.Name = "Label8"
|
||||||
|
Me.Label8.Size = New System.Drawing.Size(86, 13)
|
||||||
|
Me.Label8.TabIndex = 146
|
||||||
|
Me.Label8.Text = "Stammreferenz:"
|
||||||
|
Me.Label8.TextAlign = System.Drawing.ContentAlignment.TopRight
|
||||||
|
Me.Label8.Visible = False
|
||||||
|
'
|
||||||
|
'cboStammreferenz
|
||||||
|
'
|
||||||
|
Me.cboStammreferenz._allowedValuesFreiText = Nothing
|
||||||
|
Me.cboStammreferenz._allowFreiText = False
|
||||||
|
Me.cboStammreferenz._value = ""
|
||||||
|
Me.cboStammreferenz.BackColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer))
|
||||||
|
Me.cboStammreferenz.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
|
||||||
|
Me.cboStammreferenz.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||||
|
Me.cboStammreferenz.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.0!)
|
||||||
|
Me.cboStammreferenz.FormattingEnabled = True
|
||||||
|
Me.cboStammreferenz.Location = New System.Drawing.Point(151, 56)
|
||||||
|
Me.cboStammreferenz.Name = "cboStammreferenz"
|
||||||
|
Me.cboStammreferenz.Size = New System.Drawing.Size(255, 24)
|
||||||
|
Me.cboStammreferenz.TabIndex = 145
|
||||||
|
Me.cboStammreferenz.Visible = False
|
||||||
|
'
|
||||||
|
'txtLKWId
|
||||||
|
'
|
||||||
|
Me.txtLKWId._DateTimeOnly = False
|
||||||
|
Me.txtLKWId._numbersOnly = False
|
||||||
|
Me.txtLKWId._numbersOnlyKommastellen = ""
|
||||||
|
Me.txtLKWId._numbersOnlyTrennzeichen = True
|
||||||
|
Me.txtLKWId._Prozent = False
|
||||||
|
Me.txtLKWId._ShortDateNew = False
|
||||||
|
Me.txtLKWId._ShortDateOnly = False
|
||||||
|
Me.txtLKWId._TimeOnly = False
|
||||||
|
Me.txtLKWId._TimeOnly_Seconds = False
|
||||||
|
Me.txtLKWId._value = ""
|
||||||
|
Me.txtLKWId._Waehrung = False
|
||||||
|
Me.txtLKWId._WaehrungZeichen = True
|
||||||
|
Me.txtLKWId.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.0!)
|
||||||
|
Me.txtLKWId.ForeColor = System.Drawing.Color.Black
|
||||||
|
Me.txtLKWId.Location = New System.Drawing.Point(151, 86)
|
||||||
|
Me.txtLKWId.MaxLineLength = -1
|
||||||
|
Me.txtLKWId.MaxLines_Warning = ""
|
||||||
|
Me.txtLKWId.MaxLines_Warning_Label = Nothing
|
||||||
|
Me.txtLKWId.Name = "txtLKWId"
|
||||||
|
Me.txtLKWId.Size = New System.Drawing.Size(255, 23)
|
||||||
|
Me.txtLKWId.TabIndex = 144
|
||||||
|
'
|
||||||
|
'Label3
|
||||||
|
'
|
||||||
|
Me.Label3.AutoSize = True
|
||||||
|
Me.Label3.Location = New System.Drawing.Point(6, 91)
|
||||||
|
Me.Label3.Name = "Label3"
|
||||||
|
Me.Label3.Size = New System.Drawing.Size(48, 13)
|
||||||
|
Me.Label3.TabIndex = 113
|
||||||
|
Me.Label3.Text = "LKW-KZ:"
|
||||||
|
'
|
||||||
|
'Label9
|
||||||
|
'
|
||||||
|
Me.Label9.AutoSize = True
|
||||||
|
Me.Label9.Location = New System.Drawing.Point(6, 117)
|
||||||
|
Me.Label9.Name = "Label9"
|
||||||
|
Me.Label9.Size = New System.Drawing.Size(117, 13)
|
||||||
|
Me.Label9.TabIndex = 110
|
||||||
|
Me.Label9.Text = "Adressierte-Zollstelle:"
|
||||||
|
'
|
||||||
|
'sbAdressierteZollstelle
|
||||||
|
'
|
||||||
|
Me.sbAdressierteZollstelle._allowFreitext = False
|
||||||
|
Me.sbAdressierteZollstelle._AllowSetValue = False
|
||||||
|
Me.sbAdressierteZollstelle._allowSpaceAsSplitter = False
|
||||||
|
Me.sbAdressierteZollstelle._autoSizeGross = False
|
||||||
|
Me.sbAdressierteZollstelle._hideIfListEmpty = True
|
||||||
|
Me.sbAdressierteZollstelle._value = ""
|
||||||
|
Me.sbAdressierteZollstelle.conn_art = "FMZOLL"
|
||||||
|
Me.sbAdressierteZollstelle.dgvpos = "LEFT"
|
||||||
|
Me.sbAdressierteZollstelle.DISPLAY_PARAM = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.0!)
|
||||||
|
Me.sbAdressierteZollstelle.INVISIBLE_COLUMNS = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.key_visible = False
|
||||||
|
Me.sbAdressierteZollstelle.KEYPARAM = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.Location = New System.Drawing.Point(151, 112)
|
||||||
|
Me.sbAdressierteZollstelle.Name = "sbAdressierteZollstelle"
|
||||||
|
Me.sbAdressierteZollstelle.searchActive = True
|
||||||
|
Me.sbAdressierteZollstelle.Size = New System.Drawing.Size(255, 23)
|
||||||
|
Me.sbAdressierteZollstelle.SQL_ORDER_BY = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.SQL_SELECT = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.SQL_WHERE = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.SQL_WhereParamList = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.TabIndex = 111
|
||||||
|
Me.sbAdressierteZollstelle.usrcntl = Nothing
|
||||||
|
'
|
||||||
|
'lblBezugsnummer
|
||||||
|
'
|
||||||
|
Me.lblBezugsnummer.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.lblBezugsnummer.BackColor = System.Drawing.Color.White
|
||||||
|
Me.lblBezugsnummer.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
|
Me.lblBezugsnummer.Location = New System.Drawing.Point(475, 8)
|
||||||
|
Me.lblBezugsnummer.Name = "lblBezugsnummer"
|
||||||
|
Me.lblBezugsnummer.Size = New System.Drawing.Size(193, 23)
|
||||||
|
Me.lblBezugsnummer.TabIndex = 107
|
||||||
|
Me.lblBezugsnummer.Text = "4800/000000/17 AAA"
|
||||||
|
Me.lblBezugsnummer.TextAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||||
|
'
|
||||||
|
'Button3
|
||||||
|
'
|
||||||
|
Me.Button3.Location = New System.Drawing.Point(473, 157)
|
||||||
|
Me.Button3.Name = "Button3"
|
||||||
|
Me.Button3.Size = New System.Drawing.Size(205, 25)
|
||||||
|
Me.Button3.TabIndex = 152
|
||||||
|
Me.Button3.Text = "alle Anhänge auswählen"
|
||||||
|
Me.Button3.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'Label6
|
||||||
|
'
|
||||||
|
Me.Label6.Location = New System.Drawing.Point(9, 168)
|
||||||
|
Me.Label6.Name = "Label6"
|
||||||
|
Me.Label6.Size = New System.Drawing.Size(135, 13)
|
||||||
|
Me.Label6.TabIndex = 147
|
||||||
|
Me.Label6.Text = "Dokumente:"
|
||||||
|
'
|
||||||
|
'lblAnh
|
||||||
|
'
|
||||||
|
Me.lblAnh.Location = New System.Drawing.Point(332, 168)
|
||||||
|
Me.lblAnh.Name = "lblAnh"
|
||||||
|
Me.lblAnh.Size = New System.Drawing.Size(135, 13)
|
||||||
|
Me.lblAnh.TabIndex = 151
|
||||||
|
Me.lblAnh.Visible = False
|
||||||
|
'
|
||||||
|
'btnAgg_Tnr
|
||||||
|
'
|
||||||
|
Me.btnAgg_Tnr.BackColor = System.Drawing.Color.DeepSkyBlue
|
||||||
|
Me.btnAgg_Tnr.Location = New System.Drawing.Point(76, 3)
|
||||||
|
Me.btnAgg_Tnr.Name = "btnAgg_Tnr"
|
||||||
|
Me.btnAgg_Tnr.Size = New System.Drawing.Size(83, 23)
|
||||||
|
Me.btnAgg_Tnr.TabIndex = 154
|
||||||
|
Me.btnAgg_Tnr.Tag = "1"
|
||||||
|
Me.btnAgg_Tnr.Text = "Tarifnummer"
|
||||||
|
Me.btnAgg_Tnr.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'Label2
|
||||||
|
'
|
||||||
|
Me.Label2.Font = New System.Drawing.Font("Segoe UI", 8.0!)
|
||||||
|
Me.Label2.Location = New System.Drawing.Point(3, 8)
|
||||||
|
Me.Label2.Name = "Label2"
|
||||||
|
Me.Label2.Size = New System.Drawing.Size(103, 17)
|
||||||
|
Me.Label2.TabIndex = 149
|
||||||
|
Me.Label2.Text = "Aggregieren:"
|
||||||
|
'
|
||||||
|
'btnAgg_Origin
|
||||||
|
'
|
||||||
|
Me.btnAgg_Origin.BackColor = System.Drawing.Color.DeepSkyBlue
|
||||||
|
Me.btnAgg_Origin.Location = New System.Drawing.Point(162, 3)
|
||||||
|
Me.btnAgg_Origin.Name = "btnAgg_Origin"
|
||||||
|
Me.btnAgg_Origin.Size = New System.Drawing.Size(92, 23)
|
||||||
|
Me.btnAgg_Origin.TabIndex = 155
|
||||||
|
Me.btnAgg_Origin.Tag = "1"
|
||||||
|
Me.btnAgg_Origin.Text = "Ursprungsland"
|
||||||
|
Me.btnAgg_Origin.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'btnAgg_Unit
|
||||||
|
'
|
||||||
|
Me.btnAgg_Unit.Location = New System.Drawing.Point(257, 3)
|
||||||
|
Me.btnAgg_Unit.Name = "btnAgg_Unit"
|
||||||
|
Me.btnAgg_Unit.Size = New System.Drawing.Size(79, 23)
|
||||||
|
Me.btnAgg_Unit.TabIndex = 156
|
||||||
|
Me.btnAgg_Unit.Tag = "0"
|
||||||
|
Me.btnAgg_Unit.Text = "Maßeinheit"
|
||||||
|
Me.btnAgg_Unit.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'btnAgg_desc
|
||||||
|
'
|
||||||
|
Me.btnAgg_desc.Location = New System.Drawing.Point(339, 3)
|
||||||
|
Me.btnAgg_desc.Name = "btnAgg_desc"
|
||||||
|
Me.btnAgg_desc.Size = New System.Drawing.Size(126, 23)
|
||||||
|
Me.btnAgg_desc.TabIndex = 157
|
||||||
|
Me.btnAgg_desc.Tag = "0"
|
||||||
|
Me.btnAgg_desc.Text = "Warenbeschreibung"
|
||||||
|
Me.btnAgg_desc.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'dgvAnhaenge
|
||||||
|
'
|
||||||
|
Me.dgvAnhaenge.AKTUALISIERUNGS_INTERVALL = -1
|
||||||
|
Me.dgvAnhaenge.AllowUserToAddRows = False
|
||||||
|
Me.dgvAnhaenge.AllowUserToDeleteRows = False
|
||||||
|
Me.dgvAnhaenge.AllowUserToResizeColumns = False
|
||||||
|
Me.dgvAnhaenge.AllowUserToResizeRows = False
|
||||||
|
Me.dgvAnhaenge.BackgroundColor = System.Drawing.Color.White
|
||||||
|
Me.dgvAnhaenge.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
||||||
|
Me.dgvAnhaenge.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.columnName})
|
||||||
|
Me.dgvAnhaenge.Location = New System.Drawing.Point(3, 184)
|
||||||
|
Me.dgvAnhaenge.Name = "dgvAnhaenge"
|
||||||
|
Me.dgvAnhaenge.ReadOnly = True
|
||||||
|
Me.dgvAnhaenge.RowHeadersVisible = False
|
||||||
|
Me.dgvAnhaenge.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
|
||||||
|
Me.dgvAnhaenge.Size = New System.Drawing.Size(675, 158)
|
||||||
|
Me.dgvAnhaenge.TabIndex = 112
|
||||||
|
'
|
||||||
|
'columnName
|
||||||
|
'
|
||||||
|
Me.columnName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill
|
||||||
|
Me.columnName.HeaderText = "Name"
|
||||||
|
Me.columnName.Name = "columnName"
|
||||||
|
Me.columnName.ReadOnly = True
|
||||||
|
'
|
||||||
|
'btnPrio_CommInv
|
||||||
|
'
|
||||||
|
Me.btnPrio_CommInv.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnPrio_CommInv.Location = New System.Drawing.Point(76, 28)
|
||||||
|
Me.btnPrio_CommInv.Name = "btnPrio_CommInv"
|
||||||
|
Me.btnPrio_CommInv.Size = New System.Drawing.Size(116, 23)
|
||||||
|
Me.btnPrio_CommInv.TabIndex = 159
|
||||||
|
Me.btnPrio_CommInv.Tag = "0"
|
||||||
|
Me.btnPrio_CommInv.Text = "Handelsrechnung"
|
||||||
|
Me.btnPrio_CommInv.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'Label5
|
||||||
|
'
|
||||||
|
Me.Label5.Font = New System.Drawing.Font("Segoe UI", 8.0!)
|
||||||
|
Me.Label5.Location = New System.Drawing.Point(3, 33)
|
||||||
|
Me.Label5.Name = "Label5"
|
||||||
|
Me.Label5.Size = New System.Drawing.Size(103, 17)
|
||||||
|
Me.Label5.TabIndex = 160
|
||||||
|
Me.Label5.Text = "Priorität:"
|
||||||
|
'
|
||||||
|
'btnPrio_eFatura
|
||||||
|
'
|
||||||
|
Me.btnPrio_eFatura.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnPrio_eFatura.Location = New System.Drawing.Point(195, 28)
|
||||||
|
Me.btnPrio_eFatura.Name = "btnPrio_eFatura"
|
||||||
|
Me.btnPrio_eFatura.Size = New System.Drawing.Size(69, 23)
|
||||||
|
Me.btnPrio_eFatura.TabIndex = 161
|
||||||
|
Me.btnPrio_eFatura.Tag = "0"
|
||||||
|
Me.btnPrio_eFatura.Text = "eFatura"
|
||||||
|
Me.btnPrio_eFatura.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'btnPrio_Export
|
||||||
|
'
|
||||||
|
Me.btnPrio_Export.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnPrio_Export.Location = New System.Drawing.Point(267, 28)
|
||||||
|
Me.btnPrio_Export.Name = "btnPrio_Export"
|
||||||
|
Me.btnPrio_Export.Size = New System.Drawing.Size(69, 23)
|
||||||
|
Me.btnPrio_Export.TabIndex = 162
|
||||||
|
Me.btnPrio_Export.Tag = "0"
|
||||||
|
Me.btnPrio_Export.Text = "Ausfuhr"
|
||||||
|
Me.btnPrio_Export.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'btnPrio_ftz
|
||||||
|
'
|
||||||
|
Me.btnPrio_ftz.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnPrio_ftz.Location = New System.Drawing.Point(339, 28)
|
||||||
|
Me.btnPrio_ftz.Name = "btnPrio_ftz"
|
||||||
|
Me.btnPrio_ftz.Size = New System.Drawing.Size(69, 23)
|
||||||
|
Me.btnPrio_ftz.TabIndex = 163
|
||||||
|
Me.btnPrio_ftz.Tag = "0"
|
||||||
|
Me.btnPrio_ftz.Text = "FTZ"
|
||||||
|
Me.btnPrio_ftz.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'Panel1
|
||||||
|
'
|
||||||
|
Me.Panel1.BackColor = System.Drawing.SystemColors.InactiveBorder
|
||||||
|
Me.Panel1.Controls.Add(Me.btnPrio_CommInv)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnAgg_Tnr)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnPrio_ftz)
|
||||||
|
Me.Panel1.Controls.Add(Me.Label2)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnPrio_Export)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnAgg_Origin)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnPrio_eFatura)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnAgg_Unit)
|
||||||
|
Me.Panel1.Controls.Add(Me.Label5)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnAgg_desc)
|
||||||
|
Me.Panel1.Location = New System.Drawing.Point(0, 343)
|
||||||
|
Me.Panel1.Name = "Panel1"
|
||||||
|
Me.Panel1.Size = New System.Drawing.Size(470, 54)
|
||||||
|
Me.Panel1.TabIndex = 164
|
||||||
|
'
|
||||||
|
'frmATEZ_TELOTEC
|
||||||
|
'
|
||||||
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||||
|
Me.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
|
||||||
|
Me.BackColor = System.Drawing.SystemColors.InactiveBorder
|
||||||
|
Me.ClientSize = New System.Drawing.Size(680, 409)
|
||||||
|
Me.Controls.Add(Me.Button3)
|
||||||
|
Me.Controls.Add(Me.lblAnh)
|
||||||
|
Me.Controls.Add(Me.pnlHead)
|
||||||
|
Me.Controls.Add(Me.Label6)
|
||||||
|
Me.Controls.Add(Me.btnSend)
|
||||||
|
Me.Controls.Add(Me.dgvAnhaenge)
|
||||||
|
Me.Controls.Add(Me.Panel1)
|
||||||
|
Me.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
|
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
|
||||||
|
Me.Name = "frmATEZ_TELOTEC"
|
||||||
|
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
|
||||||
|
Me.Text = "ATEZ UK"
|
||||||
|
Me.pnlHead.ResumeLayout(False)
|
||||||
|
Me.pnlHead.PerformLayout()
|
||||||
|
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
|
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
|
Me.Panel1.ResumeLayout(False)
|
||||||
|
Me.ResumeLayout(False)
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
Friend WithEvents btnSend As Button
|
||||||
|
Friend WithEvents pnlHead As Panel
|
||||||
|
Friend WithEvents lblInfo As Label
|
||||||
|
Friend WithEvents Label6 As Label
|
||||||
|
Friend WithEvents Label8 As Label
|
||||||
|
Friend WithEvents cboStammreferenz As VERAG_PROG_ALLGEMEIN.MyComboBox
|
||||||
|
Friend WithEvents txtLKWId As VERAG_PROG_ALLGEMEIN.MyTextBox
|
||||||
|
Friend WithEvents Label3 As Label
|
||||||
|
Friend WithEvents dgvAnhaenge As VERAG_PROG_ALLGEMEIN.MyDatagridview
|
||||||
|
Friend WithEvents columnName As DataGridViewTextBoxColumn
|
||||||
|
Friend WithEvents Label9 As Label
|
||||||
|
Friend WithEvents sbAdressierteZollstelle As VERAG_PROG_ALLGEMEIN.MySearchBox
|
||||||
|
Friend WithEvents Label1 As Label
|
||||||
|
Friend WithEvents lblBezugsnummer As Label
|
||||||
|
Friend WithEvents lblAnh As Label
|
||||||
|
Friend WithEvents Button3 As Button
|
||||||
|
Friend WithEvents Button1 As Button
|
||||||
|
Friend WithEvents btnAgg_Tnr As Button
|
||||||
|
Friend WithEvents Label2 As Label
|
||||||
|
Friend WithEvents btnAgg_Origin As Button
|
||||||
|
Friend WithEvents btnAgg_Unit As Button
|
||||||
|
Friend WithEvents btnAgg_desc As Button
|
||||||
|
Friend WithEvents Button2 As Button
|
||||||
|
Friend WithEvents btnPrio_CommInv As Button
|
||||||
|
Friend WithEvents Label5 As Label
|
||||||
|
Friend WithEvents btnPrio_eFatura As Button
|
||||||
|
Friend WithEvents btnPrio_Export As Button
|
||||||
|
Friend WithEvents btnPrio_ftz As Button
|
||||||
|
Friend WithEvents Panel1 As Panel
|
||||||
|
Friend WithEvents PictureBox1 As PictureBox
|
||||||
|
End Class
|
||||||
1256
Aviso/ATEZ/frmATEZ_TELOTEC.resx
Normal file
760
Aviso/ATEZ/frmATEZ_TELOTEC.vb
Normal file
@@ -0,0 +1,760 @@
|
|||||||
|
|
||||||
|
Imports com.esendex.sdk.optouts.models
|
||||||
|
Imports DAKOSY_Worker
|
||||||
|
Imports DAKOSY_Worker.eZollTypes
|
||||||
|
Imports SDL
|
||||||
|
Imports VERAG_PROG_ALLGEMEIN
|
||||||
|
Imports VERAG_PROG_ALLGEMEIN.cRelayHub
|
||||||
|
|
||||||
|
|
||||||
|
Public Class frmATEZ_TELOTEC
|
||||||
|
|
||||||
|
Dim ART As String = ""
|
||||||
|
Dim FilialenNr As Integer
|
||||||
|
Dim AbfertigungsNr As Integer
|
||||||
|
Dim JAHR As Integer = Now.ToString("yy")
|
||||||
|
Public isSTAMMREF As Boolean = False
|
||||||
|
Public STAMMREF As String = ""
|
||||||
|
Public CopyFromZA_Id As Integer = -1
|
||||||
|
Dim FIRMA_DY = VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA
|
||||||
|
Dim ZOLL_SYSTEM = "MODALTRANS"
|
||||||
|
Dim DY As DAKOSY_Worker.cDakosy_Zollanmeldungen = Nothing
|
||||||
|
Public ATT As List(Of String)
|
||||||
|
Dim AVISO As New cAviso
|
||||||
|
Dim zusatz As String
|
||||||
|
Dim cDy_ART As String = If(FIRMA_DY = "ATILLA", "T2", "T1")
|
||||||
|
Dim VermerkeDAL As New cVermerkeDAL
|
||||||
|
Dim NCTS As DAKOSY_Worker.cDakosyNCTSOut = Nothing
|
||||||
|
Dim openExisting As Boolean = False
|
||||||
|
Dim id As Integer = -1
|
||||||
|
Dim dgv As DataGridView = Nothing
|
||||||
|
Dim atez_data As cATEZ_NCTS_DATA
|
||||||
|
' Dim atez = New cATEZ_NCTS_IN("ATEZ")
|
||||||
|
Dim allSelected As Boolean = False
|
||||||
|
|
||||||
|
Property BezugsNr As String = ""
|
||||||
|
Property SENDUNG As VERAG_PROG_ALLGEMEIN.cSendungen
|
||||||
|
|
||||||
|
Sub New(AVISO As VERAG_PROG_ALLGEMEIN.cAviso, SENDUNG As VERAG_PROG_ALLGEMEIN.cSendungen, JAHR As Integer
|
||||||
|
)
|
||||||
|
|
||||||
|
' Dieser Aufruf ist für den Designer erforderlich.
|
||||||
|
InitializeComponent()
|
||||||
|
Me.AVISO = AVISO
|
||||||
|
Me.SENDUNG = SENDUNG
|
||||||
|
Me.JAHR = JAHR
|
||||||
|
|
||||||
|
If SENDUNG IsNot Nothing Then
|
||||||
|
Me.FilialenNr = SENDUNG.FilialenNr
|
||||||
|
Me.AbfertigungsNr = SENDUNG.AbfertigungsNr
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Fügen Sie Initialisierungen nach dem InitializeComponent()-Aufruf hinzu.
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
Sub New(_id As Integer, AVISO As VERAG_PROG_ALLGEMEIN.cAviso, SENDUNG As VERAG_PROG_ALLGEMEIN.cSendungen, JAHR As Integer)
|
||||||
|
|
||||||
|
' Dieser Aufruf ist für den Designer erforderlich.
|
||||||
|
InitializeComponent()
|
||||||
|
openExisting = True
|
||||||
|
id = _id
|
||||||
|
|
||||||
|
Me.AVISO = AVISO
|
||||||
|
Me.SENDUNG = SENDUNG
|
||||||
|
Me.JAHR = JAHR
|
||||||
|
|
||||||
|
If SENDUNG IsNot Nothing Then
|
||||||
|
Me.FilialenNr = SENDUNG.FilialenNr
|
||||||
|
Me.AbfertigungsNr = SENDUNG.AbfertigungsNr
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
' Fügen Sie Initialisierungen nach dem InitializeComponent()-Aufruf hinzu.
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles btnSend.Click, Button2.Click
|
||||||
|
Try
|
||||||
|
If Not checkMandatoryField() Then Exit Sub
|
||||||
|
|
||||||
|
Me.Cursor = Cursors.WaitCursor
|
||||||
|
lblInfo.Text = ""
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Referenz
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
Dim ioReference As String = lblBezugsnummer.Text & Now.ToString("ddMMyyyy_HHmmss")
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Aggregierung
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
Dim AdditionalSettings As New List(Of String)
|
||||||
|
If btnAgg_desc.Tag = 1 Then AdditionalSettings.Add("description")
|
||||||
|
If btnAgg_Tnr.Tag = 1 Then AdditionalSettings.Add("commodity_code")
|
||||||
|
If btnAgg_Origin.Tag = 1 Then AdditionalSettings.Add("country_of_origin")
|
||||||
|
If btnAgg_Unit.Tag = 1 Then AdditionalSettings.Add("unit_type")
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' RelayHub Request - Modaltrans UK
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
Dim environment = cRelayHubEnvironment.TEST
|
||||||
|
If VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM Then environment = cRelayHubEnvironment.TEST
|
||||||
|
|
||||||
|
Dim ATEZ_RH_EZA As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubJobOrderRequest With {
|
||||||
|
.environment = environment,
|
||||||
|
.referenceNo = ioReference,
|
||||||
|
.outputApplication = cRelayHubOutputApplication.Modaltrans,
|
||||||
|
.regimeType = "IMPORT",
|
||||||
|
.dispatchCountry = "TR",
|
||||||
|
.destinationCountry = "GB",
|
||||||
|
.additionalData = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAdditionalData With {
|
||||||
|
.transaction = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubTransaction With {
|
||||||
|
.ioReference = ioReference
|
||||||
|
},
|
||||||
|
.declaration = New List(Of VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDeclaration) From {
|
||||||
|
New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDeclaration With {
|
||||||
|
.objectIdentification = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubObjectIdentification With {
|
||||||
|
.objectName = lblBezugsnummer.Text,
|
||||||
|
.objectAlias = ioReference,
|
||||||
|
.shipmentId = SENDUNG.tblSnd_SendungID,
|
||||||
|
.avisoId = SENDUNG.tblSnd_AvisoID
|
||||||
|
},
|
||||||
|
.headerData = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubHeaderData With {
|
||||||
|
.agentContact = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAgentContact With {
|
||||||
|
.contactPersonName = If(VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.Fullname, ""),
|
||||||
|
.contactPersonPhoneNumber = getTelefon(),
|
||||||
|
.contactPersonPosition = "Customs Declarant",
|
||||||
|
.contactPersonEmail = If(String.IsNullOrEmpty(VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_email), getDefaultMail_FIRMA(), VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_email)
|
||||||
|
},
|
||||||
|
.serviceCode = "cds",
|
||||||
|
.docType = "import",
|
||||||
|
.declarationType = "IMD",
|
||||||
|
.declarantEori = "GB************",
|
||||||
|
.procedureCodeRequested = "4000",
|
||||||
|
.transportMeansArrivalIdentity = txtLKWId.Text,
|
||||||
|
.transportMeansNationalityCode = If(AVISO.LKW_Nationalitaet, "")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
.additionalSettings = New cRelayHubAdditionalSettings With {
|
||||||
|
.combineOptions = AdditionalSettings,
|
||||||
|
.disableOutbound = False,
|
||||||
|
.disableDocumentConverter = False,
|
||||||
|
.disableAiToCommon = False,
|
||||||
|
.disableValidation = False,
|
||||||
|
.targetLang = "en"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Vorpapier / T1
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
If If(SENDUNG.tblSnd_Vorpapier, "") <> "" Then
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).headerData.previousAdministrativeReferenceType = "T1"
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).headerData.previousAdministrativeReferenceNumber = SENDUNG.tblSnd_Vorpapier
|
||||||
|
End If
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Dokumente
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
ATEZ_RH_EZA.documents = New List(Of cRelayHub.cRelayHubDocument)
|
||||||
|
|
||||||
|
For Each r As DataGridViewRow In dgvAnhaenge.Rows
|
||||||
|
Dim isSelected As Boolean = If(DBNull.Value Is r.Cells("anh_selekt").Value, False, r.Cells("anh_selekt").Value)
|
||||||
|
|
||||||
|
If isSelected Then
|
||||||
|
Dim DOC As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDocument
|
||||||
|
DOC.fileType = VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHub_sendToRelayHub_JobOrderRequest.getRelayHub_AnhDesc(r.Cells("anh_Art").Value)
|
||||||
|
DOC.type = "base64"
|
||||||
|
DOC.filename = r.Cells("anh_Name").Value
|
||||||
|
|
||||||
|
Try
|
||||||
|
Dim dateiBytes As Byte() = IO.File.ReadAllBytes(VERAG_PROG_ALLGEMEIN.cDATENSERVER.GET_PDFPath_BY_DocID(r.Cells("anh_docId").Value))
|
||||||
|
DOC.base64String = Convert.ToBase64String(dateiBytes)
|
||||||
|
ATEZ_RH_EZA.documents.Add(DOC)
|
||||||
|
Catch ex As Exception
|
||||||
|
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||||
|
End Try
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Adressen
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).addresses = New List(Of cRelayHub.cRelayHubAddress)
|
||||||
|
|
||||||
|
' Empfänger / Consignee
|
||||||
|
If SENDUNG.tblSnd_EmpfaengerKdNr > 0 Then
|
||||||
|
Dim AD As New cAdressen(SENDUNG.tblSnd_EmpfaengerKdNr)
|
||||||
|
Dim KD As New cKunde(SENDUNG.tblSnd_EmpfaengerKdNr)
|
||||||
|
Dim CN As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAddress
|
||||||
|
|
||||||
|
CN.addressType = "CN"
|
||||||
|
CN.participantEORI = If(KD.EORITIN, "")
|
||||||
|
CN.participantSubsidiaryNumber = If(KD.EORITIN_NL, "")
|
||||||
|
CN.companyName = AD.Name_1
|
||||||
|
CN.streetAndNumber = AD.Straße
|
||||||
|
CN.postalCode = AD.PLZ
|
||||||
|
CN.city = AD.Ort
|
||||||
|
CN.countryCode = SDL.cProgramFunctions.getISO2Land(AD.LandKz)
|
||||||
|
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).addresses.Add(CN)
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).headerData.destinationCountry = CN.countryCode
|
||||||
|
ATEZ_RH_EZA.destinationCountry = CN.countryCode
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Absender / Consignor
|
||||||
|
If SENDUNG.tblSnd_AbsenderKdNr > 0 Then
|
||||||
|
Dim AD As New cAdressen(SENDUNG.tblSnd_AbsenderKdNr)
|
||||||
|
Dim KD As New cKunde(SENDUNG.tblSnd_AbsenderKdNr)
|
||||||
|
Dim CZ As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAddress
|
||||||
|
|
||||||
|
CZ.addressType = "CZ"
|
||||||
|
CZ.participantEORI = If(KD.EORITIN, "")
|
||||||
|
CZ.participantSubsidiaryNumber = If(KD.EORITIN_NL, "")
|
||||||
|
CZ.companyName = AD.Name_1
|
||||||
|
CZ.streetAndNumber = AD.Straße
|
||||||
|
CZ.postalCode = AD.PLZ
|
||||||
|
CZ.city = AD.Ort
|
||||||
|
CZ.countryCode = SDL.cProgramFunctions.getISO2Land(AD.LandKz)
|
||||||
|
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).addresses.Add(CZ)
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).headerData.departureCountry = CZ.countryCode
|
||||||
|
ATEZ_RH_EZA.dispatchCountry = CZ.countryCode
|
||||||
|
End If
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Pflichtfelder absichern
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
ATEZ_RH_EZA.dispatchCountry = If(ATEZ_RH_EZA.dispatchCountry, "")
|
||||||
|
ATEZ_RH_EZA.destinationCountry = If(ATEZ_RH_EZA.destinationCountry, "")
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' JSON anzeigen
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
If sender Is Button2 Then
|
||||||
|
MsgBox(VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHub_sendToRelayHub_JobOrderRequest.getJSON(ATEZ_RH_EZA))
|
||||||
|
Me.Cursor = Cursors.Default
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Senden
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
Dim RESP = VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHub_sendToRelayHub_JobOrderRequest.query_declarations(ATEZ_RH_EZA)
|
||||||
|
|
||||||
|
If RESP.Success Then
|
||||||
|
MsgBox("Erfolgreich an Modaltrans gesendet!")
|
||||||
|
Me.Close()
|
||||||
|
Else
|
||||||
|
MsgBox("ERROR" & vbNewLine & RESP.Details, MsgBoxStyle.OkOnly, RESP.Message)
|
||||||
|
End If
|
||||||
|
|
||||||
|
Me.Cursor = Cursors.Default
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||||
|
Me.Cursor = Cursors.Default
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
Private Function getTelefon() As String
|
||||||
|
Dim defaultDW = "200"
|
||||||
|
Select Case VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA
|
||||||
|
Case "ATILLA" : Return "0043 7711 28450"
|
||||||
|
Case "AMBAR" : Return "0049 8651 9962492"
|
||||||
|
Case "UNISPED" : defaultDW = "800"
|
||||||
|
Case "IMEX" : defaultDW = "602"
|
||||||
|
Case "VERAG" : defaultDW = "200"
|
||||||
|
End Select
|
||||||
|
|
||||||
|
Dim dw = VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_durchwahl
|
||||||
|
Return "0049 8503 7973999 " &
|
||||||
|
If(String.IsNullOrEmpty(dw) OrElse dw.Length >= 5, defaultDW, dw)
|
||||||
|
End Function
|
||||||
|
Private Function getDefaultMail_FIRMA() As String
|
||||||
|
Select Case VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA
|
||||||
|
Case "VERAG" : Return "quickstop@verag.ag"
|
||||||
|
Case "IMEX" : Return "steuerbescheide@imex-group.at"
|
||||||
|
Case "UNISPED" : Return "office@unisped.at"
|
||||||
|
Case "AMBAR" : Return "office@ambarlog.com"
|
||||||
|
End Select
|
||||||
|
Return "quickstop@verag.ag"
|
||||||
|
End Function
|
||||||
|
'Private Function sendAtezData(atezData As cATEZ_NCTS_DATA, atez As cATEZ_NCTS_IN) As Boolean
|
||||||
|
|
||||||
|
' Dim failreDesc As String
|
||||||
|
|
||||||
|
' Dim authResp = atez.authenticate("NCTS")
|
||||||
|
' If authResp <> "200" Then
|
||||||
|
|
||||||
|
' failreDesc = "Authentifizierung fehlgeschlagen"
|
||||||
|
' lblInfo.Text = failreDesc & " - " & authResp & vbNewLine & "Vorgang abgebrochen" & vbNewLine & " Bitte wiederholen!"
|
||||||
|
' Dim resultAuthentifizierung As MsgBoxResult = MsgBox("Fehler beim Authentifizieren" & vbNewLine & failreDesc & vbNewLine & "Soll NCTS als Entwurf gespeichert werden?", vbYesNoCancel)
|
||||||
|
|
||||||
|
' If resultAuthentifizierung = vbYes Then
|
||||||
|
' atezData.status = "Draft"
|
||||||
|
' atezData.fehlerbeschreibung = failreDesc
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
' Else
|
||||||
|
' atezData.status = "Failure"
|
||||||
|
' atezData.fehlerbeschreibung = failreDesc
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' Return False
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' atezData.sessionId = atez.sessionID
|
||||||
|
|
||||||
|
|
||||||
|
' If Not atez.setJsonNCTS(atezData) Then
|
||||||
|
' MsgBox("Fehler beim Erstellen der Daten" & vbNewLine & "Vorgang abgebrochen!")
|
||||||
|
' atezData.status = "Failure"
|
||||||
|
' atezData.fehlerbeschreibung = "Fehler beim Erstellen der Daten"
|
||||||
|
' Return atezData.SAVE
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' If checkAttachment() Then
|
||||||
|
' If Not atez.setJsonPDF(atezData, dgvAnhaenge) Then
|
||||||
|
' MsgBox("Fehler beim Erstellen der PDF-Daten!" & vbNewLine & "Vorgang abgebrochen!")
|
||||||
|
' atezData.status = "Failure"
|
||||||
|
' atezData.fehlerbeschreibung = "Fehler beim Erstellen der PDF-Daten!"
|
||||||
|
' Return atezData.SAVE
|
||||||
|
' End If
|
||||||
|
' End If
|
||||||
|
|
||||||
|
|
||||||
|
' Dim azetId = atez.SendRequestWithAuthHeader("application/json", failreDesc, "/api/integrations/verag", "POST")
|
||||||
|
|
||||||
|
' If failreDesc <> "" Then
|
||||||
|
' If atezData.status = "Draft" Then
|
||||||
|
' MsgBox("Fehler beim Senden" & vbNewLine & failreDesc)
|
||||||
|
' atezData.fehlerbeschreibung = failreDesc
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
|
||||||
|
' End If
|
||||||
|
' Dim result As MsgBoxResult = MsgBox("Fehler beim Senden" & vbNewLine & failreDesc & vbNewLine & "Soll NCTS als Entwurf gespeichert werden?", vbYesNoCancel)
|
||||||
|
' If result = vbYes Then
|
||||||
|
' atezData.status = "Draft"
|
||||||
|
' atezData.fehlerbeschreibung = failreDesc
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
' Else
|
||||||
|
' atezData.status = "Failure"
|
||||||
|
' atezData.fehlerbeschreibung = failreDesc
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' lblInfo.Text = "Fehler in der API "
|
||||||
|
|
||||||
|
' Else
|
||||||
|
|
||||||
|
' If azetId = "-1" Then
|
||||||
|
' atezData.fehlerbeschreibung = "Request has been sent, but no header received!"
|
||||||
|
' Else
|
||||||
|
' atezData.fehlerbeschreibung = ""
|
||||||
|
' End If
|
||||||
|
' atezData.status = "Sent"
|
||||||
|
' atezData.atezId = IIf(azetId IsNot Nothing, azetId, "")
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
|
||||||
|
' End If
|
||||||
|
|
||||||
|
'End Function
|
||||||
|
|
||||||
|
Function getBezugsnr(ByRef BezugsNr)
|
||||||
|
Dim BezugsNrTmp = ""
|
||||||
|
BezugsNrTmp = SENDUNG.FilialenNr & "/" & SENDUNG.AbfertigungsNr
|
||||||
|
BezugsNr = BezugsNrTmp
|
||||||
|
zusatz = "A"
|
||||||
|
|
||||||
|
If dgv IsNot Nothing AndAlso dgv.Rows.Count > 0 Then
|
||||||
|
BezugsNr = BezugsNrTmp & "/" & zusatz
|
||||||
|
For Each r As DataGridViewRow In dgv.Rows
|
||||||
|
If r.Cells("BezugsNr").Value = BezugsNr Then
|
||||||
|
|
||||||
|
If zusatz.Length = 1 Then
|
||||||
|
zusatz = Chr(Asc(zusatz.ToString) + 1)
|
||||||
|
Else
|
||||||
|
zusatz = zusatz.Substring(0, 1) & Chr(Asc(zusatz.Substring(0, 2).ToString) + 1)
|
||||||
|
End If
|
||||||
|
|
||||||
|
If zusatz = "Z" Then zusatz = "AA"
|
||||||
|
End If
|
||||||
|
BezugsNr = BezugsNrTmp & "/" & zusatz
|
||||||
|
Next
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
While DAKOSY_Worker.cDakosy_Zollanmeldungen.ExistsBezugsNr(BezugsNr) 'IsNot Nothing
|
||||||
|
BezugsNr = BezugsNrTmp & "/" & zusatz
|
||||||
|
|
||||||
|
If zusatz.Length = 1 Then
|
||||||
|
zusatz = Chr(Asc(zusatz.ToString) + 1)
|
||||||
|
Else
|
||||||
|
zusatz = zusatz.Substring(0, 1) & Chr(Asc(zusatz.Substring(0, 2).ToString) + 1)
|
||||||
|
End If
|
||||||
|
|
||||||
|
If zusatz = "Z" Then zusatz = "AA"
|
||||||
|
End While
|
||||||
|
|
||||||
|
lblBezugsnummer.Text = BezugsNr
|
||||||
|
Return BezugsNr
|
||||||
|
End Function
|
||||||
|
|
||||||
|
|
||||||
|
Private Sub frmATEZNCTS_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||||
|
|
||||||
|
'Select Case FIRMA_DY
|
||||||
|
' Case "VERAG" : txtDyMandant.Text = "VERG"
|
||||||
|
' txtDyNiederlassung.Text = VERAG_PROG_ALLGEMEIN.cAllgemein.NIEDERLASSUNG
|
||||||
|
|
||||||
|
' Select Case FilialenNr
|
||||||
|
' Case "5103" : txtDyNiederlassung.Text = "WAI"
|
||||||
|
|
||||||
|
' End Select
|
||||||
|
|
||||||
|
|
||||||
|
' Case "ATILLA" : txtDyMandant.Text = "ATIL" : txtDyNiederlassung.Text = "SUW"
|
||||||
|
' Case "UNISPED" : txtDyMandant.Text = "UNAT" : txtDyNiederlassung.Text = "ATSPED"
|
||||||
|
' Case "IMEX" : txtDyMandant.Text = "IMEX" : txtDyNiederlassung.Text = "IME"
|
||||||
|
' Case "AMBAR" : txtDyMandant.Text = "ATIL" : txtDyNiederlassung.Text = "AMBWO"
|
||||||
|
'End Select
|
||||||
|
FIRMA_DY = cDakosyFunftions.getFirma_DY(FilialenNr.ToString, Me, "EZA")
|
||||||
|
'txtDyMandant.Text = cDakosyFunftions.getIOPartner(FIRMA_DY, "EZA")
|
||||||
|
'txtDyNiederlassung.Text = cDakosyFunftions.getDivision(FIRMA_DY, "EZA")
|
||||||
|
|
||||||
|
'Label4.Text = If(VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_DAKOSY_SB, "-").ToString
|
||||||
|
|
||||||
|
initSeachboxes()
|
||||||
|
lblAnh.Visible = True
|
||||||
|
|
||||||
|
|
||||||
|
If openExisting Then
|
||||||
|
|
||||||
|
If id > 0 Then
|
||||||
|
' atez_data = New cATEZ_NCTS_DATA(id)
|
||||||
|
initAttachment()
|
||||||
|
If atez_data.atezId <> "" Then
|
||||||
|
lblInfo.Text = "Atez-ID " & atez_data.atezId
|
||||||
|
Else
|
||||||
|
lblInfo.Text = "Status: " & IIf(atez_data.fehlerbeschreibung <> "", atez_data.status & "- " & atez_data.fehlerbeschreibung, atez_data.status)
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
lblBezugsnummer.Text = atez_data.VERAG_LRN
|
||||||
|
|
||||||
|
'cboStammreferenz.fillWithSQL("SELECT [dySr_Stammreferenz],[dySr_Bezeichnung] FROM [tblDakosy_Stammreferenzen] WHERE dySr_Land='DE' AND dySr_Verfahren='EZA' and dySr_dy_Mandant='" & txtDyMandant.Text & "' and dySr_dy_Niederlassung IN ('','" & txtDyNiederlassung.Text & "' " & If(txtDyMandant.Text = "UNAT", ", 'ATSPED' ", "") & ") and dySr_visible=1", False, "FMZOLL", True)
|
||||||
|
'cboStammreferenz.changeItem(atez_data.DAKOSY_TemplateCode)
|
||||||
|
'cboProzedur.changeItem(atez_data.DAKOSY_Procedure)
|
||||||
|
|
||||||
|
txtLKWId.Text = atez_data.LicensePlateContainerNo
|
||||||
|
|
||||||
|
'sbBestimmungsZollstelle.SET_VALUE(atez_data.DestinationCustomsOffice)
|
||||||
|
sbAdressierteZollstelle.SET_VALUE(atez_data.DepartureCustomsOffice)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If atez_data.status = "Draft" Then
|
||||||
|
btnSend.Text = "An ATEZ senden -->"
|
||||||
|
pnlHead.Enabled = True
|
||||||
|
btnSend.Enabled = True
|
||||||
|
'initAttachment()
|
||||||
|
|
||||||
|
Else
|
||||||
|
btnSend.Text = "JSON"
|
||||||
|
pnlHead.Enabled = False
|
||||||
|
dgvAnhaenge.ReadOnly = True
|
||||||
|
btnSend.Enabled = True
|
||||||
|
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
btnSend.Enabled = False
|
||||||
|
End If
|
||||||
|
|
||||||
|
Else
|
||||||
|
' atez_data = New cATEZ_NCTS_DATA()
|
||||||
|
initAttachment()
|
||||||
|
'Button1.Text = "An ATEZ senden -->"
|
||||||
|
pnlHead.Enabled = True
|
||||||
|
|
||||||
|
'cboStammreferenz.fillWithSQL("SELECT [dySr_Stammreferenz],[dySr_Bezeichnung] FROM [tblDakosy_Stammreferenzen] WHERE dySr_Land='DE' AND dySr_Verfahren='EZA' and dySr_dy_Mandant='" & txtDyMandant.Text & "' and dySr_dy_Niederlassung IN ('','" & txtDyNiederlassung.Text & "' " & If(txtDyMandant.Text = "UNAT", ", 'ATSPED' ", "") & ") and dySr_visible=1", False, "FMZOLL", True)
|
||||||
|
'cboStammreferenz.changeItem("")
|
||||||
|
|
||||||
|
getBezugsnr(BezugsNr)
|
||||||
|
txtLKWId.Text = AVISO.LKW_Nr
|
||||||
|
|
||||||
|
' sbBestimmungsZollstelle.SET_VALUE(SENDUNG.NCTS_Bestimmungszollstelle)
|
||||||
|
|
||||||
|
If AVISO.Grenzstelle.Replace("???", "") = "" Then
|
||||||
|
sbAdressierteZollstelle.SET_VALUE(AVISO.Zollstelle)
|
||||||
|
Else
|
||||||
|
|
||||||
|
Dim GRZ As New VERAG_PROG_ALLGEMEIN.cGrenzstelle(AVISO.Grenzstelle)
|
||||||
|
If GRZ IsNot Nothing AndAlso GRZ.hasEntry Then
|
||||||
|
If GRZ.grz_ZollamtDST IsNot Nothing Then
|
||||||
|
sbAdressierteZollstelle.SET_VALUE(GRZ.grz_ZollamtDST)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
End If
|
||||||
|
'initAttachment()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Sub initAttachment()
|
||||||
|
Dim hSQL As String = " SELECT [anh_id],anh_Datum,[anh_Name],[anh_docId],
|
||||||
|
|
||||||
|
case WHEN [anh_size] > 0 Then ROUND([anh_size] / 1000000,2) End as anh_size,
|
||||||
|
[anh_Art],[anh_Typ] FROM [tblAvisoAnhaenge]
|
||||||
|
WHERE [anh_AvisoId]=" & AVISO.AvisoID & "AND (anh_SendungsId is null OR anh_SendungsId <=0 OR anh_SendungsId='" & SENDUNG.tblSnd_SendungID & "') And anh_Typ NOT IN ('MSG', 'SONSTIGES')
|
||||||
|
ORDER BY anh_SendungsId desc,
|
||||||
|
case
|
||||||
|
when [anh_Art] = 'ATR-EUR1' then 0
|
||||||
|
when [anh_Art] = 'Rechnung' then 1
|
||||||
|
when [anh_Art] = 'eFatura' then 1.1
|
||||||
|
when [anh_Art] = 'CMR' then 2
|
||||||
|
when [anh_Art] = 'Ausfuhr' then 3
|
||||||
|
when [anh_Art] = 'Vorpapier' then 4
|
||||||
|
when [anh_Art] = 'Packliste' then 5
|
||||||
|
when [anh_Art] = 'Auftrag' then 6
|
||||||
|
when [anh_Art] = 'Auftrag' then 7
|
||||||
|
when [anh_Art] = 'Dispoliste' then 8
|
||||||
|
when [anh_Art] = 'Vorkasse' then 9
|
||||||
|
when [anh_Art] = 'Überweisungsbeleg' then 10
|
||||||
|
when [anh_Art] = 'Vollmacht' then 11
|
||||||
|
when [anh_Art] = 'ATB' then 12
|
||||||
|
when [anh_Art] = 'ATA' then 13
|
||||||
|
when [anh_Art] = 'Sonstiges' then 99
|
||||||
|
when [anh_Art] ='' then 15
|
||||||
|
|
||||||
|
END, [anh_Reihenfolge],[anh_id]"
|
||||||
|
|
||||||
|
Dim dt = VermerkeDAL.Anzeigen_Vermerke(hSQL)
|
||||||
|
|
||||||
|
Dim col As DataColumn
|
||||||
|
col = dt.Columns.Add("anh_selekt", GetType(Boolean))
|
||||||
|
col.SetOrdinal(0)
|
||||||
|
dgvAnhaenge.Columns.Clear()
|
||||||
|
dgvAnhaenge.DataSource = dt
|
||||||
|
If dgvAnhaenge.RowCount = 0 Then dgvAnhaenge.Columns.Clear() : Exit Sub
|
||||||
|
|
||||||
|
With dgvAnhaenge
|
||||||
|
|
||||||
|
.Enabled = True
|
||||||
|
.ReadOnly = False
|
||||||
|
|
||||||
|
.RowTemplate.MinimumHeight = 30
|
||||||
|
.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells
|
||||||
|
.Columns("anh_id").Visible = False 'VermerkID nicht anzeigenconMenuVermerke
|
||||||
|
.Columns("anh_docId").Visible = False 'AvisoID nicht anzeigen
|
||||||
|
' .Columns("anh_Art").Visible = False 'AvisoID nicht anzeigen
|
||||||
|
|
||||||
|
.Columns("anh_selekt").Width = 25
|
||||||
|
.Columns("anh_selekt").HeaderText = ""
|
||||||
|
.Columns("anh_selekt").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
|
||||||
|
|
||||||
|
.Columns("anh_Datum").MinimumWidth = 50
|
||||||
|
.Columns("anh_Datum").HeaderText = "Datum"
|
||||||
|
.Columns("anh_Datum").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
|
||||||
|
.Columns("anh_Datum").ReadOnly = True
|
||||||
|
|
||||||
|
|
||||||
|
.Columns("anh_Name").MinimumWidth = 150
|
||||||
|
.Columns("anh_Name").HeaderText = "Name"
|
||||||
|
.Columns("anh_Name").AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill
|
||||||
|
.Columns("anh_Name").ReadOnly = True
|
||||||
|
|
||||||
|
.Columns("anh_Art").MinimumWidth = 50
|
||||||
|
.Columns("anh_Art").HeaderText = "Art"
|
||||||
|
.Columns("anh_Art").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
|
||||||
|
.Columns("anh_Art").ReadOnly = True
|
||||||
|
|
||||||
|
.Columns("anh_Typ").Width = 50
|
||||||
|
.Columns("anh_Typ").HeaderText = "Typ"
|
||||||
|
.Columns("anh_Typ").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
|
||||||
|
.Columns("anh_Typ").ReadOnly = True
|
||||||
|
|
||||||
|
.Columns("anh_size").Width = 50
|
||||||
|
.Columns("anh_size").HeaderText = "Größe in MB"
|
||||||
|
.Columns("anh_size").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
|
||||||
|
.Columns("anh_size").ReadOnly = True
|
||||||
|
|
||||||
|
End With
|
||||||
|
|
||||||
|
For Each doc As DataGridViewRow In dgvAnhaenge.Rows
|
||||||
|
|
||||||
|
If Not IsDBNull(doc.Cells("anh_size").Value) AndAlso doc.Cells("anh_size").Value > 0 Then
|
||||||
|
Dim size = (doc.Cells("anh_size").Value)
|
||||||
|
If size < 1 Then
|
||||||
|
doc.DefaultCellStyle.BackColor = Color.LightGreen
|
||||||
|
ElseIf size > 1 AndAlso size < 5 Then
|
||||||
|
doc.DefaultCellStyle.BackColor = Color.LightYellow
|
||||||
|
Else
|
||||||
|
doc.DefaultCellStyle.BackColor = Color.IndianRed
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
Next
|
||||||
|
|
||||||
|
If atez_data IsNot Nothing AndAlso atez_data.selectedDocuments <> "" Then
|
||||||
|
|
||||||
|
For Each doc As DataGridViewRow In dgvAnhaenge.Rows
|
||||||
|
If atez_data.selectedDocuments.Contains(doc.Cells("anh_docId").Value) Then doc.Cells("anh_selekt").Value = True
|
||||||
|
|
||||||
|
Next
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
Sub initSeachboxes()
|
||||||
|
|
||||||
|
sbAdressierteZollstelle.initSearchBox(Me.FindForm, "[Code] ,[Code] as Nr,Description as Dienststelle,left(Code,2) as Land,[Description] +' (' +left(Code,2)+')' as display FROM [tbl_DY_ZollDE_C0141_Zollstellen]", {" [Code]", "Description"}, " (StartDate is null OR StartDate< GETDATE()) AND (EndDate is null OR EndDate> GETDATE()) ", " left(Code,2),[Description]", "Code", "display", "FMZOLL", , 400, 200, {"display", "Code"})
|
||||||
|
'sbBestimmungsZollstelle.initSearchBox(Me.FindForm, "[Code] ,[Code] as Nr,Description as Dienststelle,left(Code,2) as Land,[Description] +' (' +left(Code,2)+')' as display FROM [tbl_DY_ZollDE_C0141_Zollstellen]", {" [Code]", "Description"}, " (StartDate is null OR StartDate< GETDATE()) AND (EndDate is null OR EndDate> GETDATE()) ", " left(Code,2),[Description]", "Code", "display", "FMZOLL", , 400, 200, {"display", "Code"})
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Public Function checkAttachment() As Boolean
|
||||||
|
|
||||||
|
Dim selectedDocuments As Boolean = False
|
||||||
|
|
||||||
|
For Each Row In dgvAnhaenge.Rows
|
||||||
|
|
||||||
|
selectedDocuments = IIf(DBNull.Value Is Row.Cells("anh_selekt").Value, False, Row.Cells("anh_selekt").Value)
|
||||||
|
If selectedDocuments Then Exit For
|
||||||
|
Next
|
||||||
|
|
||||||
|
|
||||||
|
'If Not selectedDocuments Then
|
||||||
|
' lblInfo.Text = "kein Anhang selektiert"
|
||||||
|
' Cursor = Cursors.Default
|
||||||
|
' Return selectedDocuments
|
||||||
|
'End If
|
||||||
|
|
||||||
|
Return selectedDocuments
|
||||||
|
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Public Function checkMandatoryField() As Boolean
|
||||||
|
|
||||||
|
|
||||||
|
'TODO
|
||||||
|
Return True
|
||||||
|
|
||||||
|
|
||||||
|
End Function
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Private Sub dgvAnhaenge_CellDoubleClick(sender As Object, e As DataGridViewCellEventArgs) Handles dgvAnhaenge.CellDoubleClick
|
||||||
|
Try
|
||||||
|
|
||||||
|
If dgvAnhaenge.SelectedRows.Count > 0 Then
|
||||||
|
Dim docPath = VERAG_PROG_ALLGEMEIN.cDATENSERVER.GET_PDFPath_BY_DocID(dgvAnhaenge.SelectedRows(0).Cells("anh_docId").Value)
|
||||||
|
If Not IO.File.Exists(docPath) Then
|
||||||
|
MsgBox("Die Datei existiert nicht!")
|
||||||
|
Else
|
||||||
|
If docPath.ToString.ToLower.EndsWith(".msg") Then ' MSG - Mails --> lokale Kopie, sonst Fehler (bereits von Benutzer soUndSo geöffnet)
|
||||||
|
Dim docPathTMP = VERAG_PROG_ALLGEMEIN.cFormularManager.getTMPPath_MSG()
|
||||||
|
System.IO.File.Copy(docPath, docPathTMP)
|
||||||
|
Process.Start(docPathTMP)
|
||||||
|
Else
|
||||||
|
Process.Start(docPath)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Private Sub dgvAnhaenge_CellClick(sender As Object, e As DataGridViewCellEventArgs) Handles dgvAnhaenge.CellClick
|
||||||
|
|
||||||
|
Dim countAnh As Double = 0
|
||||||
|
If dgvAnhaenge.RowCount > 0 Then
|
||||||
|
|
||||||
|
If dgvAnhaenge.Columns(e.ColumnIndex).Name = "anh_selekt" Then
|
||||||
|
|
||||||
|
If Not IsDBNull(dgvAnhaenge.CurrentRow.Cells("anh_selekt").Value) AndAlso dgvAnhaenge.CurrentRow.Cells("anh_selekt").Value = True Then
|
||||||
|
countAnh += IIf(dgvAnhaenge.CurrentRow.Cells("anh_size").Value IsNot DBNull.Value, dgvAnhaenge.CurrentRow.Cells("anh_size").Value, 0)
|
||||||
|
End If
|
||||||
|
|
||||||
|
For Each Row As DataGridViewRow In dgvAnhaenge.Rows
|
||||||
|
If Row.Cells("anh_selekt").Value IsNot DBNull.Value AndAlso Row.Cells("anh_selekt").Value = True AndAlso Row.Cells("anh_size").Value IsNot DBNull.Value Then
|
||||||
|
countAnh += IIf(Row.Cells("anh_size").Value IsNot DBNull.Value, Row.Cells("anh_size").Value, 0)
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
|
||||||
|
lblAnh.Text = "Anhang in MB: " & countAnh.ToString
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
|
||||||
|
If dgvAnhaenge.RowCount > 0 Then
|
||||||
|
Dim countAnh As Double = 0
|
||||||
|
For Each Row As DataGridViewRow In dgvAnhaenge.Rows
|
||||||
|
If allSelected Then
|
||||||
|
Row.Cells("anh_selekt").Value = True
|
||||||
|
countAnh += IIf(Row.Cells("anh_size").Value IsNot DBNull.Value, Row.Cells("anh_size").Value, 0)
|
||||||
|
Else
|
||||||
|
Row.Cells("anh_selekt").Value = False
|
||||||
|
countAnh = 0
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
allSelected = Not allSelected
|
||||||
|
lblAnh.Text = "Anhang in MB: " & countAnh.ToString
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click
|
||||||
|
cRelayHubToken.DeleteAllStores()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles btnAgg_Tnr.Click, btnAgg_desc.Click, btnAgg_Origin.Click, btnAgg_Unit.Click
|
||||||
|
If sender.Tag = 0 Then
|
||||||
|
sender.Tag = 1
|
||||||
|
sender.BackColor = Color.DeepSkyBlue
|
||||||
|
Else
|
||||||
|
sender.Tag = 0
|
||||||
|
sender.BackColor = SystemColors.Control
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
Private Sub Buttonprio_Click(sender As Object, e As EventArgs) Handles btnPrio_CommInv.Click, btnPrio_ftz.Click, btnPrio_eFatura.Click, btnPrio_Export.Click
|
||||||
|
|
||||||
|
If sender IsNot btnPrio_CommInv Then btnPrio_CommInv.Tag = 0 : btnPrio_CommInv.BackColor = SystemColors.Control
|
||||||
|
If sender IsNot btnPrio_eFatura Then btnPrio_eFatura.Tag = 0 : btnPrio_eFatura.BackColor = SystemColors.Control
|
||||||
|
If sender IsNot btnPrio_Export Then btnPrio_Export.Tag = 0 : btnPrio_Export.BackColor = SystemColors.Control
|
||||||
|
If sender IsNot btnPrio_ftz Then btnPrio_ftz.Tag = 0 : btnPrio_ftz.BackColor = SystemColors.Control
|
||||||
|
|
||||||
|
|
||||||
|
If sender.Tag = 0 Then
|
||||||
|
sender.Tag = 1
|
||||||
|
sender.BackColor = Color.DeepSkyBlue
|
||||||
|
Else
|
||||||
|
sender.Tag = 0
|
||||||
|
sender.BackColor = SystemColors.Control
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
End Class
|
||||||
487
Aviso/ATEZ/frmATEZ_UK_MODAL.Designer.vb
generated
Normal file
@@ -0,0 +1,487 @@
|
|||||||
|
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
|
||||||
|
Partial Class frmATEZ_UK_MODAL
|
||||||
|
Inherits System.Windows.Forms.Form
|
||||||
|
|
||||||
|
'Das Formular überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
|
||||||
|
<System.Diagnostics.DebuggerNonUserCode()>
|
||||||
|
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||||
|
Try
|
||||||
|
If disposing AndAlso components IsNot Nothing Then
|
||||||
|
components.Dispose()
|
||||||
|
End If
|
||||||
|
Finally
|
||||||
|
MyBase.Dispose(disposing)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
'Wird vom Windows Form-Designer benötigt.
|
||||||
|
Private components As System.ComponentModel.IContainer
|
||||||
|
|
||||||
|
'Hinweis: Die folgende Prozedur ist für den Windows Form-Designer erforderlich.
|
||||||
|
'Das Bearbeiten ist mit dem Windows Form-Designer möglich.
|
||||||
|
'Das Bearbeiten mit dem Code-Editor ist nicht möglich.
|
||||||
|
<System.Diagnostics.DebuggerStepThrough()>
|
||||||
|
Private Sub InitializeComponent()
|
||||||
|
Me.components = New System.ComponentModel.Container()
|
||||||
|
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmATEZ_UK_MODAL))
|
||||||
|
Me.btnSend = New System.Windows.Forms.Button()
|
||||||
|
Me.pnlHead = New System.Windows.Forms.Panel()
|
||||||
|
Me.PictureBox1 = New System.Windows.Forms.PictureBox()
|
||||||
|
Me.Button1 = New System.Windows.Forms.Button()
|
||||||
|
Me.Button2 = New System.Windows.Forms.Button()
|
||||||
|
Me.Label1 = New System.Windows.Forms.Label()
|
||||||
|
Me.lblInfo = New System.Windows.Forms.Label()
|
||||||
|
Me.Label8 = New System.Windows.Forms.Label()
|
||||||
|
Me.cboStammreferenz = New VERAG_PROG_ALLGEMEIN.MyComboBox()
|
||||||
|
Me.txtLKWId = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||||
|
Me.Label3 = New System.Windows.Forms.Label()
|
||||||
|
Me.Label9 = New System.Windows.Forms.Label()
|
||||||
|
Me.sbAdressierteZollstelle = New VERAG_PROG_ALLGEMEIN.MySearchBox()
|
||||||
|
Me.lblBezugsnummer = New System.Windows.Forms.Label()
|
||||||
|
Me.Button3 = New System.Windows.Forms.Button()
|
||||||
|
Me.Label6 = New System.Windows.Forms.Label()
|
||||||
|
Me.lblAnh = New System.Windows.Forms.Label()
|
||||||
|
Me.btnAgg_Tnr = New System.Windows.Forms.Button()
|
||||||
|
Me.Label2 = New System.Windows.Forms.Label()
|
||||||
|
Me.btnAgg_Origin = New System.Windows.Forms.Button()
|
||||||
|
Me.btnAgg_Unit = New System.Windows.Forms.Button()
|
||||||
|
Me.btnAgg_desc = New System.Windows.Forms.Button()
|
||||||
|
Me.dgvAnhaenge = New VERAG_PROG_ALLGEMEIN.MyDatagridview(Me.components)
|
||||||
|
Me.columnName = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||||
|
Me.btnPrio_CommInv = New System.Windows.Forms.Button()
|
||||||
|
Me.Label5 = New System.Windows.Forms.Label()
|
||||||
|
Me.btnPrio_eFatura = New System.Windows.Forms.Button()
|
||||||
|
Me.btnPrio_Export = New System.Windows.Forms.Button()
|
||||||
|
Me.btnPrio_ftz = New System.Windows.Forms.Button()
|
||||||
|
Me.Panel1 = New System.Windows.Forms.Panel()
|
||||||
|
Me.pnlHead.SuspendLayout()
|
||||||
|
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
|
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
|
Me.Panel1.SuspendLayout()
|
||||||
|
Me.SuspendLayout()
|
||||||
|
'
|
||||||
|
'btnSend
|
||||||
|
'
|
||||||
|
Me.btnSend.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.btnSend.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnSend.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center
|
||||||
|
Me.btnSend.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.0!)
|
||||||
|
Me.btnSend.Image = Global.AVISO.My.Resources.Resources.ico_atez_declarantAI
|
||||||
|
Me.btnSend.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
|
||||||
|
Me.btnSend.Location = New System.Drawing.Point(473, 343)
|
||||||
|
Me.btnSend.Margin = New System.Windows.Forms.Padding(2)
|
||||||
|
Me.btnSend.Name = "btnSend"
|
||||||
|
Me.btnSend.Padding = New System.Windows.Forms.Padding(5, 0, 5, 0)
|
||||||
|
Me.btnSend.Size = New System.Drawing.Size(205, 58)
|
||||||
|
Me.btnSend.TabIndex = 26
|
||||||
|
Me.btnSend.Text = "An ATEZ senden >>"
|
||||||
|
Me.btnSend.TextAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||||
|
Me.btnSend.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'pnlHead
|
||||||
|
'
|
||||||
|
Me.pnlHead.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
|
||||||
|
Me.pnlHead.BackColor = System.Drawing.Color.White
|
||||||
|
Me.pnlHead.Controls.Add(Me.PictureBox1)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Button1)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Button2)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Label1)
|
||||||
|
Me.pnlHead.Controls.Add(Me.lblInfo)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Label8)
|
||||||
|
Me.pnlHead.Controls.Add(Me.cboStammreferenz)
|
||||||
|
Me.pnlHead.Controls.Add(Me.txtLKWId)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Label3)
|
||||||
|
Me.pnlHead.Controls.Add(Me.Label9)
|
||||||
|
Me.pnlHead.Controls.Add(Me.sbAdressierteZollstelle)
|
||||||
|
Me.pnlHead.Controls.Add(Me.lblBezugsnummer)
|
||||||
|
Me.pnlHead.Location = New System.Drawing.Point(3, 2)
|
||||||
|
Me.pnlHead.Name = "pnlHead"
|
||||||
|
Me.pnlHead.Size = New System.Drawing.Size(675, 151)
|
||||||
|
Me.pnlHead.TabIndex = 112
|
||||||
|
'
|
||||||
|
'PictureBox1
|
||||||
|
'
|
||||||
|
Me.PictureBox1.BackgroundImage = Global.AVISO.My.Resources.Resources.modaltrans_uk
|
||||||
|
Me.PictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
||||||
|
Me.PictureBox1.Location = New System.Drawing.Point(572, 34)
|
||||||
|
Me.PictureBox1.Name = "PictureBox1"
|
||||||
|
Me.PictureBox1.Size = New System.Drawing.Size(100, 50)
|
||||||
|
Me.PictureBox1.TabIndex = 159
|
||||||
|
Me.PictureBox1.TabStop = False
|
||||||
|
'
|
||||||
|
'Button1
|
||||||
|
'
|
||||||
|
Me.Button1.Location = New System.Drawing.Point(553, 117)
|
||||||
|
Me.Button1.Name = "Button1"
|
||||||
|
Me.Button1.Size = New System.Drawing.Size(122, 23)
|
||||||
|
Me.Button1.TabIndex = 153
|
||||||
|
Me.Button1.Text = "Clear Token Cache"
|
||||||
|
Me.Button1.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'Button2
|
||||||
|
'
|
||||||
|
Me.Button2.Location = New System.Drawing.Point(610, 96)
|
||||||
|
Me.Button2.Name = "Button2"
|
||||||
|
Me.Button2.Size = New System.Drawing.Size(65, 23)
|
||||||
|
Me.Button2.TabIndex = 158
|
||||||
|
Me.Button2.Text = "json"
|
||||||
|
Me.Button2.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'Label1
|
||||||
|
'
|
||||||
|
Me.Label1.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.Label1.AutoSize = True
|
||||||
|
Me.Label1.BackColor = System.Drawing.Color.White
|
||||||
|
Me.Label1.Location = New System.Drawing.Point(387, 13)
|
||||||
|
Me.Label1.Name = "Label1"
|
||||||
|
Me.Label1.Size = New System.Drawing.Size(89, 13)
|
||||||
|
Me.Label1.TabIndex = 106
|
||||||
|
Me.Label1.Text = "Bezugsnummer:"
|
||||||
|
'
|
||||||
|
'lblInfo
|
||||||
|
'
|
||||||
|
Me.lblInfo.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
|
Me.lblInfo.ForeColor = System.Drawing.Color.Red
|
||||||
|
Me.lblInfo.Location = New System.Drawing.Point(3, 32)
|
||||||
|
Me.lblInfo.Name = "lblInfo"
|
||||||
|
Me.lblInfo.Size = New System.Drawing.Size(460, 21)
|
||||||
|
Me.lblInfo.TabIndex = 148
|
||||||
|
'
|
||||||
|
'Label8
|
||||||
|
'
|
||||||
|
Me.Label8.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.Label8.AutoSize = True
|
||||||
|
Me.Label8.Location = New System.Drawing.Point(6, 61)
|
||||||
|
Me.Label8.Name = "Label8"
|
||||||
|
Me.Label8.Size = New System.Drawing.Size(86, 13)
|
||||||
|
Me.Label8.TabIndex = 146
|
||||||
|
Me.Label8.Text = "Stammreferenz:"
|
||||||
|
Me.Label8.TextAlign = System.Drawing.ContentAlignment.TopRight
|
||||||
|
Me.Label8.Visible = False
|
||||||
|
'
|
||||||
|
'cboStammreferenz
|
||||||
|
'
|
||||||
|
Me.cboStammreferenz._allowedValuesFreiText = Nothing
|
||||||
|
Me.cboStammreferenz._allowFreiText = False
|
||||||
|
Me.cboStammreferenz._value = ""
|
||||||
|
Me.cboStammreferenz.BackColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer))
|
||||||
|
Me.cboStammreferenz.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
|
||||||
|
Me.cboStammreferenz.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||||
|
Me.cboStammreferenz.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.0!)
|
||||||
|
Me.cboStammreferenz.FormattingEnabled = True
|
||||||
|
Me.cboStammreferenz.Location = New System.Drawing.Point(151, 56)
|
||||||
|
Me.cboStammreferenz.Name = "cboStammreferenz"
|
||||||
|
Me.cboStammreferenz.Size = New System.Drawing.Size(255, 24)
|
||||||
|
Me.cboStammreferenz.TabIndex = 145
|
||||||
|
Me.cboStammreferenz.Visible = False
|
||||||
|
'
|
||||||
|
'txtLKWId
|
||||||
|
'
|
||||||
|
Me.txtLKWId._DateTimeOnly = False
|
||||||
|
Me.txtLKWId._numbersOnly = False
|
||||||
|
Me.txtLKWId._numbersOnlyKommastellen = ""
|
||||||
|
Me.txtLKWId._numbersOnlyTrennzeichen = True
|
||||||
|
Me.txtLKWId._Prozent = False
|
||||||
|
Me.txtLKWId._ShortDateNew = False
|
||||||
|
Me.txtLKWId._ShortDateOnly = False
|
||||||
|
Me.txtLKWId._TimeOnly = False
|
||||||
|
Me.txtLKWId._TimeOnly_Seconds = False
|
||||||
|
Me.txtLKWId._value = ""
|
||||||
|
Me.txtLKWId._Waehrung = False
|
||||||
|
Me.txtLKWId._WaehrungZeichen = True
|
||||||
|
Me.txtLKWId.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.0!)
|
||||||
|
Me.txtLKWId.ForeColor = System.Drawing.Color.Black
|
||||||
|
Me.txtLKWId.Location = New System.Drawing.Point(151, 86)
|
||||||
|
Me.txtLKWId.MaxLineLength = -1
|
||||||
|
Me.txtLKWId.MaxLines_Warning = ""
|
||||||
|
Me.txtLKWId.MaxLines_Warning_Label = Nothing
|
||||||
|
Me.txtLKWId.Name = "txtLKWId"
|
||||||
|
Me.txtLKWId.Size = New System.Drawing.Size(255, 23)
|
||||||
|
Me.txtLKWId.TabIndex = 144
|
||||||
|
'
|
||||||
|
'Label3
|
||||||
|
'
|
||||||
|
Me.Label3.AutoSize = True
|
||||||
|
Me.Label3.Location = New System.Drawing.Point(6, 91)
|
||||||
|
Me.Label3.Name = "Label3"
|
||||||
|
Me.Label3.Size = New System.Drawing.Size(48, 13)
|
||||||
|
Me.Label3.TabIndex = 113
|
||||||
|
Me.Label3.Text = "LKW-KZ:"
|
||||||
|
'
|
||||||
|
'Label9
|
||||||
|
'
|
||||||
|
Me.Label9.AutoSize = True
|
||||||
|
Me.Label9.Location = New System.Drawing.Point(6, 117)
|
||||||
|
Me.Label9.Name = "Label9"
|
||||||
|
Me.Label9.Size = New System.Drawing.Size(117, 13)
|
||||||
|
Me.Label9.TabIndex = 110
|
||||||
|
Me.Label9.Text = "Adressierte-Zollstelle:"
|
||||||
|
'
|
||||||
|
'sbAdressierteZollstelle
|
||||||
|
'
|
||||||
|
Me.sbAdressierteZollstelle._allowFreitext = False
|
||||||
|
Me.sbAdressierteZollstelle._AllowSetValue = False
|
||||||
|
Me.sbAdressierteZollstelle._allowSpaceAsSplitter = False
|
||||||
|
Me.sbAdressierteZollstelle._autoSizeGross = False
|
||||||
|
Me.sbAdressierteZollstelle._hideIfListEmpty = True
|
||||||
|
Me.sbAdressierteZollstelle._value = ""
|
||||||
|
Me.sbAdressierteZollstelle.conn_art = "FMZOLL"
|
||||||
|
Me.sbAdressierteZollstelle.dgvpos = "LEFT"
|
||||||
|
Me.sbAdressierteZollstelle.DISPLAY_PARAM = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.0!)
|
||||||
|
Me.sbAdressierteZollstelle.INVISIBLE_COLUMNS = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.key_visible = False
|
||||||
|
Me.sbAdressierteZollstelle.KEYPARAM = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.Location = New System.Drawing.Point(151, 112)
|
||||||
|
Me.sbAdressierteZollstelle.Name = "sbAdressierteZollstelle"
|
||||||
|
Me.sbAdressierteZollstelle.searchActive = True
|
||||||
|
Me.sbAdressierteZollstelle.Size = New System.Drawing.Size(255, 23)
|
||||||
|
Me.sbAdressierteZollstelle.SQL_ORDER_BY = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.SQL_SELECT = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.SQL_WHERE = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.SQL_WhereParamList = Nothing
|
||||||
|
Me.sbAdressierteZollstelle.TabIndex = 111
|
||||||
|
Me.sbAdressierteZollstelle.usrcntl = Nothing
|
||||||
|
'
|
||||||
|
'lblBezugsnummer
|
||||||
|
'
|
||||||
|
Me.lblBezugsnummer.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.lblBezugsnummer.BackColor = System.Drawing.Color.White
|
||||||
|
Me.lblBezugsnummer.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
|
Me.lblBezugsnummer.Location = New System.Drawing.Point(475, 8)
|
||||||
|
Me.lblBezugsnummer.Name = "lblBezugsnummer"
|
||||||
|
Me.lblBezugsnummer.Size = New System.Drawing.Size(193, 23)
|
||||||
|
Me.lblBezugsnummer.TabIndex = 107
|
||||||
|
Me.lblBezugsnummer.Text = "4800/000000/17 AAA"
|
||||||
|
Me.lblBezugsnummer.TextAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||||
|
'
|
||||||
|
'Button3
|
||||||
|
'
|
||||||
|
Me.Button3.Location = New System.Drawing.Point(473, 157)
|
||||||
|
Me.Button3.Name = "Button3"
|
||||||
|
Me.Button3.Size = New System.Drawing.Size(205, 25)
|
||||||
|
Me.Button3.TabIndex = 152
|
||||||
|
Me.Button3.Text = "alle Anhänge auswählen"
|
||||||
|
Me.Button3.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'Label6
|
||||||
|
'
|
||||||
|
Me.Label6.Location = New System.Drawing.Point(9, 168)
|
||||||
|
Me.Label6.Name = "Label6"
|
||||||
|
Me.Label6.Size = New System.Drawing.Size(135, 13)
|
||||||
|
Me.Label6.TabIndex = 147
|
||||||
|
Me.Label6.Text = "Dokumente:"
|
||||||
|
'
|
||||||
|
'lblAnh
|
||||||
|
'
|
||||||
|
Me.lblAnh.Location = New System.Drawing.Point(332, 168)
|
||||||
|
Me.lblAnh.Name = "lblAnh"
|
||||||
|
Me.lblAnh.Size = New System.Drawing.Size(135, 13)
|
||||||
|
Me.lblAnh.TabIndex = 151
|
||||||
|
Me.lblAnh.Visible = False
|
||||||
|
'
|
||||||
|
'btnAgg_Tnr
|
||||||
|
'
|
||||||
|
Me.btnAgg_Tnr.BackColor = System.Drawing.Color.DeepSkyBlue
|
||||||
|
Me.btnAgg_Tnr.Location = New System.Drawing.Point(76, 3)
|
||||||
|
Me.btnAgg_Tnr.Name = "btnAgg_Tnr"
|
||||||
|
Me.btnAgg_Tnr.Size = New System.Drawing.Size(83, 23)
|
||||||
|
Me.btnAgg_Tnr.TabIndex = 154
|
||||||
|
Me.btnAgg_Tnr.Tag = "1"
|
||||||
|
Me.btnAgg_Tnr.Text = "Tarifnummer"
|
||||||
|
Me.btnAgg_Tnr.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'Label2
|
||||||
|
'
|
||||||
|
Me.Label2.Font = New System.Drawing.Font("Segoe UI", 8.0!)
|
||||||
|
Me.Label2.Location = New System.Drawing.Point(3, 8)
|
||||||
|
Me.Label2.Name = "Label2"
|
||||||
|
Me.Label2.Size = New System.Drawing.Size(103, 17)
|
||||||
|
Me.Label2.TabIndex = 149
|
||||||
|
Me.Label2.Text = "Aggregieren:"
|
||||||
|
'
|
||||||
|
'btnAgg_Origin
|
||||||
|
'
|
||||||
|
Me.btnAgg_Origin.BackColor = System.Drawing.Color.DeepSkyBlue
|
||||||
|
Me.btnAgg_Origin.Location = New System.Drawing.Point(162, 3)
|
||||||
|
Me.btnAgg_Origin.Name = "btnAgg_Origin"
|
||||||
|
Me.btnAgg_Origin.Size = New System.Drawing.Size(92, 23)
|
||||||
|
Me.btnAgg_Origin.TabIndex = 155
|
||||||
|
Me.btnAgg_Origin.Tag = "1"
|
||||||
|
Me.btnAgg_Origin.Text = "Ursprungsland"
|
||||||
|
Me.btnAgg_Origin.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'btnAgg_Unit
|
||||||
|
'
|
||||||
|
Me.btnAgg_Unit.Location = New System.Drawing.Point(257, 3)
|
||||||
|
Me.btnAgg_Unit.Name = "btnAgg_Unit"
|
||||||
|
Me.btnAgg_Unit.Size = New System.Drawing.Size(79, 23)
|
||||||
|
Me.btnAgg_Unit.TabIndex = 156
|
||||||
|
Me.btnAgg_Unit.Tag = "0"
|
||||||
|
Me.btnAgg_Unit.Text = "Maßeinheit"
|
||||||
|
Me.btnAgg_Unit.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'btnAgg_desc
|
||||||
|
'
|
||||||
|
Me.btnAgg_desc.Location = New System.Drawing.Point(339, 3)
|
||||||
|
Me.btnAgg_desc.Name = "btnAgg_desc"
|
||||||
|
Me.btnAgg_desc.Size = New System.Drawing.Size(126, 23)
|
||||||
|
Me.btnAgg_desc.TabIndex = 157
|
||||||
|
Me.btnAgg_desc.Tag = "0"
|
||||||
|
Me.btnAgg_desc.Text = "Warenbeschreibung"
|
||||||
|
Me.btnAgg_desc.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'dgvAnhaenge
|
||||||
|
'
|
||||||
|
Me.dgvAnhaenge.AKTUALISIERUNGS_INTERVALL = -1
|
||||||
|
Me.dgvAnhaenge.AllowUserToAddRows = False
|
||||||
|
Me.dgvAnhaenge.AllowUserToDeleteRows = False
|
||||||
|
Me.dgvAnhaenge.AllowUserToResizeColumns = False
|
||||||
|
Me.dgvAnhaenge.AllowUserToResizeRows = False
|
||||||
|
Me.dgvAnhaenge.BackgroundColor = System.Drawing.Color.White
|
||||||
|
Me.dgvAnhaenge.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
||||||
|
Me.dgvAnhaenge.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.columnName})
|
||||||
|
Me.dgvAnhaenge.Location = New System.Drawing.Point(3, 184)
|
||||||
|
Me.dgvAnhaenge.Name = "dgvAnhaenge"
|
||||||
|
Me.dgvAnhaenge.ReadOnly = True
|
||||||
|
Me.dgvAnhaenge.RowHeadersVisible = False
|
||||||
|
Me.dgvAnhaenge.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
|
||||||
|
Me.dgvAnhaenge.Size = New System.Drawing.Size(675, 158)
|
||||||
|
Me.dgvAnhaenge.TabIndex = 112
|
||||||
|
'
|
||||||
|
'columnName
|
||||||
|
'
|
||||||
|
Me.columnName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill
|
||||||
|
Me.columnName.HeaderText = "Name"
|
||||||
|
Me.columnName.Name = "columnName"
|
||||||
|
Me.columnName.ReadOnly = True
|
||||||
|
'
|
||||||
|
'btnPrio_CommInv
|
||||||
|
'
|
||||||
|
Me.btnPrio_CommInv.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnPrio_CommInv.Location = New System.Drawing.Point(76, 28)
|
||||||
|
Me.btnPrio_CommInv.Name = "btnPrio_CommInv"
|
||||||
|
Me.btnPrio_CommInv.Size = New System.Drawing.Size(116, 23)
|
||||||
|
Me.btnPrio_CommInv.TabIndex = 159
|
||||||
|
Me.btnPrio_CommInv.Tag = "0"
|
||||||
|
Me.btnPrio_CommInv.Text = "Handelsrechnung"
|
||||||
|
Me.btnPrio_CommInv.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'Label5
|
||||||
|
'
|
||||||
|
Me.Label5.Font = New System.Drawing.Font("Segoe UI", 8.0!)
|
||||||
|
Me.Label5.Location = New System.Drawing.Point(3, 33)
|
||||||
|
Me.Label5.Name = "Label5"
|
||||||
|
Me.Label5.Size = New System.Drawing.Size(103, 17)
|
||||||
|
Me.Label5.TabIndex = 160
|
||||||
|
Me.Label5.Text = "Priorität:"
|
||||||
|
'
|
||||||
|
'btnPrio_eFatura
|
||||||
|
'
|
||||||
|
Me.btnPrio_eFatura.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnPrio_eFatura.Location = New System.Drawing.Point(195, 28)
|
||||||
|
Me.btnPrio_eFatura.Name = "btnPrio_eFatura"
|
||||||
|
Me.btnPrio_eFatura.Size = New System.Drawing.Size(69, 23)
|
||||||
|
Me.btnPrio_eFatura.TabIndex = 161
|
||||||
|
Me.btnPrio_eFatura.Tag = "0"
|
||||||
|
Me.btnPrio_eFatura.Text = "eFatura"
|
||||||
|
Me.btnPrio_eFatura.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'btnPrio_Export
|
||||||
|
'
|
||||||
|
Me.btnPrio_Export.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnPrio_Export.Location = New System.Drawing.Point(267, 28)
|
||||||
|
Me.btnPrio_Export.Name = "btnPrio_Export"
|
||||||
|
Me.btnPrio_Export.Size = New System.Drawing.Size(69, 23)
|
||||||
|
Me.btnPrio_Export.TabIndex = 162
|
||||||
|
Me.btnPrio_Export.Tag = "0"
|
||||||
|
Me.btnPrio_Export.Text = "Ausfuhr"
|
||||||
|
Me.btnPrio_Export.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'btnPrio_ftz
|
||||||
|
'
|
||||||
|
Me.btnPrio_ftz.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnPrio_ftz.Location = New System.Drawing.Point(339, 28)
|
||||||
|
Me.btnPrio_ftz.Name = "btnPrio_ftz"
|
||||||
|
Me.btnPrio_ftz.Size = New System.Drawing.Size(69, 23)
|
||||||
|
Me.btnPrio_ftz.TabIndex = 163
|
||||||
|
Me.btnPrio_ftz.Tag = "0"
|
||||||
|
Me.btnPrio_ftz.Text = "FTZ"
|
||||||
|
Me.btnPrio_ftz.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'Panel1
|
||||||
|
'
|
||||||
|
Me.Panel1.BackColor = System.Drawing.SystemColors.InactiveBorder
|
||||||
|
Me.Panel1.Controls.Add(Me.btnPrio_CommInv)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnAgg_Tnr)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnPrio_ftz)
|
||||||
|
Me.Panel1.Controls.Add(Me.Label2)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnPrio_Export)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnAgg_Origin)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnPrio_eFatura)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnAgg_Unit)
|
||||||
|
Me.Panel1.Controls.Add(Me.Label5)
|
||||||
|
Me.Panel1.Controls.Add(Me.btnAgg_desc)
|
||||||
|
Me.Panel1.Location = New System.Drawing.Point(0, 343)
|
||||||
|
Me.Panel1.Name = "Panel1"
|
||||||
|
Me.Panel1.Size = New System.Drawing.Size(470, 54)
|
||||||
|
Me.Panel1.TabIndex = 164
|
||||||
|
'
|
||||||
|
'frmATEZ_UK_MODAL
|
||||||
|
'
|
||||||
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||||
|
Me.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink
|
||||||
|
Me.BackColor = System.Drawing.SystemColors.InactiveBorder
|
||||||
|
Me.ClientSize = New System.Drawing.Size(680, 409)
|
||||||
|
Me.Controls.Add(Me.Button3)
|
||||||
|
Me.Controls.Add(Me.lblAnh)
|
||||||
|
Me.Controls.Add(Me.pnlHead)
|
||||||
|
Me.Controls.Add(Me.Label6)
|
||||||
|
Me.Controls.Add(Me.btnSend)
|
||||||
|
Me.Controls.Add(Me.dgvAnhaenge)
|
||||||
|
Me.Controls.Add(Me.Panel1)
|
||||||
|
Me.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
|
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
|
||||||
|
Me.Name = "frmATEZ_UK_MODAL"
|
||||||
|
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
|
||||||
|
Me.Text = "ATEZ UK"
|
||||||
|
Me.pnlHead.ResumeLayout(False)
|
||||||
|
Me.pnlHead.PerformLayout()
|
||||||
|
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
|
CType(Me.dgvAnhaenge, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
|
Me.Panel1.ResumeLayout(False)
|
||||||
|
Me.ResumeLayout(False)
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
Friend WithEvents btnSend As Button
|
||||||
|
Friend WithEvents pnlHead As Panel
|
||||||
|
Friend WithEvents lblInfo As Label
|
||||||
|
Friend WithEvents Label6 As Label
|
||||||
|
Friend WithEvents Label8 As Label
|
||||||
|
Friend WithEvents cboStammreferenz As VERAG_PROG_ALLGEMEIN.MyComboBox
|
||||||
|
Friend WithEvents txtLKWId As VERAG_PROG_ALLGEMEIN.MyTextBox
|
||||||
|
Friend WithEvents Label3 As Label
|
||||||
|
Friend WithEvents dgvAnhaenge As VERAG_PROG_ALLGEMEIN.MyDatagridview
|
||||||
|
Friend WithEvents columnName As DataGridViewTextBoxColumn
|
||||||
|
Friend WithEvents Label9 As Label
|
||||||
|
Friend WithEvents sbAdressierteZollstelle As VERAG_PROG_ALLGEMEIN.MySearchBox
|
||||||
|
Friend WithEvents Label1 As Label
|
||||||
|
Friend WithEvents lblBezugsnummer As Label
|
||||||
|
Friend WithEvents lblAnh As Label
|
||||||
|
Friend WithEvents Button3 As Button
|
||||||
|
Friend WithEvents Button1 As Button
|
||||||
|
Friend WithEvents btnAgg_Tnr As Button
|
||||||
|
Friend WithEvents Label2 As Label
|
||||||
|
Friend WithEvents btnAgg_Origin As Button
|
||||||
|
Friend WithEvents btnAgg_Unit As Button
|
||||||
|
Friend WithEvents btnAgg_desc As Button
|
||||||
|
Friend WithEvents Button2 As Button
|
||||||
|
Friend WithEvents btnPrio_CommInv As Button
|
||||||
|
Friend WithEvents Label5 As Label
|
||||||
|
Friend WithEvents btnPrio_eFatura As Button
|
||||||
|
Friend WithEvents btnPrio_Export As Button
|
||||||
|
Friend WithEvents btnPrio_ftz As Button
|
||||||
|
Friend WithEvents Panel1 As Panel
|
||||||
|
Friend WithEvents PictureBox1 As PictureBox
|
||||||
|
End Class
|
||||||
1256
Aviso/ATEZ/frmATEZ_UK_MODAL.resx
Normal file
762
Aviso/ATEZ/frmATEZ_UK_MODAL.vb
Normal file
@@ -0,0 +1,762 @@
|
|||||||
|
|
||||||
|
Imports com.esendex.sdk.optouts.models
|
||||||
|
Imports DAKOSY_Worker
|
||||||
|
Imports DAKOSY_Worker.eZollTypes
|
||||||
|
Imports SDL
|
||||||
|
Imports VERAG_PROG_ALLGEMEIN
|
||||||
|
Imports VERAG_PROG_ALLGEMEIN.cRelayHub
|
||||||
|
|
||||||
|
|
||||||
|
Public Class frmATEZ_UK_MODAL
|
||||||
|
|
||||||
|
Dim ART As String = ""
|
||||||
|
Dim FilialenNr As Integer
|
||||||
|
Dim AbfertigungsNr As Integer
|
||||||
|
Dim JAHR As Integer = Now.ToString("yy")
|
||||||
|
Public isSTAMMREF As Boolean = False
|
||||||
|
Public STAMMREF As String = ""
|
||||||
|
Public CopyFromZA_Id As Integer = -1
|
||||||
|
Dim FIRMA_DY = VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA
|
||||||
|
Dim ZOLL_SYSTEM = "MODALTRANS"
|
||||||
|
Dim DY As DAKOSY_Worker.cDakosy_Zollanmeldungen = Nothing
|
||||||
|
Public ATT As List(Of String)
|
||||||
|
Dim AVISO As New cAviso
|
||||||
|
Dim zusatz As String
|
||||||
|
Dim cDy_ART As String = If(FIRMA_DY = "ATILLA", "T2", "T1")
|
||||||
|
Dim VermerkeDAL As New cVermerkeDAL
|
||||||
|
Dim NCTS As DAKOSY_Worker.cDakosyNCTSOut = Nothing
|
||||||
|
Dim openExisting As Boolean = False
|
||||||
|
Dim id As Integer = -1
|
||||||
|
Dim dgv As DataGridView = Nothing
|
||||||
|
Dim atez_data As cATEZ_NCTS_DATA
|
||||||
|
' Dim atez = New cATEZ_NCTS_IN("ATEZ")
|
||||||
|
Dim allSelected As Boolean = False
|
||||||
|
|
||||||
|
Property BezugsNr As String = ""
|
||||||
|
Property SENDUNG As VERAG_PROG_ALLGEMEIN.cSendungen
|
||||||
|
|
||||||
|
Sub New(AVISO As VERAG_PROG_ALLGEMEIN.cAviso, SENDUNG As VERAG_PROG_ALLGEMEIN.cSendungen, JAHR As Integer, Optional _dgv As DataGridView = Nothing)
|
||||||
|
|
||||||
|
' Dieser Aufruf ist für den Designer erforderlich.
|
||||||
|
InitializeComponent()
|
||||||
|
|
||||||
|
If _dgv IsNot Nothing Then Me.dgv = _dgv
|
||||||
|
Me.AVISO = AVISO
|
||||||
|
Me.SENDUNG = SENDUNG
|
||||||
|
Me.JAHR = JAHR
|
||||||
|
|
||||||
|
If SENDUNG IsNot Nothing Then
|
||||||
|
Me.FilialenNr = SENDUNG.FilialenNr
|
||||||
|
Me.AbfertigungsNr = SENDUNG.AbfertigungsNr
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Fügen Sie Initialisierungen nach dem InitializeComponent()-Aufruf hinzu.
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
Sub New(_id As Integer, AVISO As VERAG_PROG_ALLGEMEIN.cAviso, SENDUNG As VERAG_PROG_ALLGEMEIN.cSendungen, JAHR As Integer)
|
||||||
|
|
||||||
|
' Dieser Aufruf ist für den Designer erforderlich.
|
||||||
|
InitializeComponent()
|
||||||
|
openExisting = True
|
||||||
|
id = _id
|
||||||
|
|
||||||
|
Me.AVISO = AVISO
|
||||||
|
Me.SENDUNG = SENDUNG
|
||||||
|
Me.JAHR = JAHR
|
||||||
|
|
||||||
|
If SENDUNG IsNot Nothing Then
|
||||||
|
Me.FilialenNr = SENDUNG.FilialenNr
|
||||||
|
Me.AbfertigungsNr = SENDUNG.AbfertigungsNr
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
' Fügen Sie Initialisierungen nach dem InitializeComponent()-Aufruf hinzu.
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles btnSend.Click, Button2.Click
|
||||||
|
Try
|
||||||
|
If Not checkMandatoryField() Then Exit Sub
|
||||||
|
|
||||||
|
Me.Cursor = Cursors.WaitCursor
|
||||||
|
lblInfo.Text = ""
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Referenz
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
Dim ioReference As String = lblBezugsnummer.Text & Now.ToString("ddMMyyyy_HHmmss")
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Aggregierung
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
Dim AdditionalSettings As New List(Of String)
|
||||||
|
If btnAgg_desc.Tag = 1 Then AdditionalSettings.Add("description")
|
||||||
|
If btnAgg_Tnr.Tag = 1 Then AdditionalSettings.Add("commodity_code")
|
||||||
|
If btnAgg_Origin.Tag = 1 Then AdditionalSettings.Add("country_of_origin")
|
||||||
|
If btnAgg_Unit.Tag = 1 Then AdditionalSettings.Add("unit_type")
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' RelayHub Request - Modaltrans UK
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
|
||||||
|
Dim environment = cRelayHubEnvironment.PROD
|
||||||
|
If VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM Then environment = cRelayHubEnvironment.TEST
|
||||||
|
|
||||||
|
Dim ATEZ_RH_EZA As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubJobOrderRequest With {
|
||||||
|
.environment = environment,
|
||||||
|
.referenceNo = ioReference,
|
||||||
|
.outputApplication = cRelayHubOutputApplication.Modaltrans,
|
||||||
|
.regimeType = "IMPORT",
|
||||||
|
.dispatchCountry = "TR",
|
||||||
|
.destinationCountry = "GB",
|
||||||
|
.additionalData = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAdditionalData With {
|
||||||
|
.transaction = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubTransaction With {
|
||||||
|
.ioReference = ioReference
|
||||||
|
},
|
||||||
|
.declaration = New List(Of VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDeclaration) From {
|
||||||
|
New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDeclaration With {
|
||||||
|
.objectIdentification = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubObjectIdentification With {
|
||||||
|
.objectName = lblBezugsnummer.Text,
|
||||||
|
.objectAlias = ioReference,
|
||||||
|
.shipmentId = SENDUNG.tblSnd_SendungID,
|
||||||
|
.avisoId = SENDUNG.tblSnd_AvisoID
|
||||||
|
},
|
||||||
|
.headerData = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubHeaderData With {
|
||||||
|
.agentContact = New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAgentContact With {
|
||||||
|
.contactPersonName = If(VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.Fullname, ""),
|
||||||
|
.contactPersonPhoneNumber = getTelefon(),
|
||||||
|
.contactPersonPosition = "Customs Declarant",
|
||||||
|
.contactPersonEmail = If(String.IsNullOrEmpty(VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_email), getDefaultMail_FIRMA(), VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_email)
|
||||||
|
},
|
||||||
|
.serviceCode = "cds",
|
||||||
|
.docType = "import",
|
||||||
|
.declarationType = "IMD",
|
||||||
|
.declarantEori = "GB078068385000",
|
||||||
|
.procedureCodeRequested = "4000",
|
||||||
|
.transportMeansArrivalIdentity = txtLKWId.Text,
|
||||||
|
.transportMeansNationalityCode = If(AVISO.LKW_Nationalitaet, "")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
.additionalSettings = New cRelayHubAdditionalSettings With {
|
||||||
|
.combineOptions = AdditionalSettings,
|
||||||
|
.disableOutbound = False,
|
||||||
|
.disableDocumentConverter = False,
|
||||||
|
.disableAiToCommon = False,
|
||||||
|
.disableValidation = False,
|
||||||
|
.targetLang = "en"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Vorpapier / T1
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
If If(SENDUNG.tblSnd_Vorpapier, "") <> "" Then
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).headerData.previousAdministrativeReferenceType = "T1"
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).headerData.previousAdministrativeReferenceNumber = SENDUNG.tblSnd_Vorpapier
|
||||||
|
End If
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Dokumente
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
ATEZ_RH_EZA.documents = New List(Of cRelayHub.cRelayHubDocument)
|
||||||
|
|
||||||
|
For Each r As DataGridViewRow In dgvAnhaenge.Rows
|
||||||
|
Dim isSelected As Boolean = If(DBNull.Value Is r.Cells("anh_selekt").Value, False, r.Cells("anh_selekt").Value)
|
||||||
|
|
||||||
|
If isSelected Then
|
||||||
|
Dim DOC As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubDocument
|
||||||
|
DOC.fileType = VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHub_sendToRelayHub_JobOrderRequest.getRelayHub_AnhDesc(r.Cells("anh_Art").Value)
|
||||||
|
DOC.type = "base64"
|
||||||
|
DOC.filename = r.Cells("anh_Name").Value
|
||||||
|
|
||||||
|
Try
|
||||||
|
Dim dateiBytes As Byte() = IO.File.ReadAllBytes(VERAG_PROG_ALLGEMEIN.cDATENSERVER.GET_PDFPath_BY_DocID(r.Cells("anh_docId").Value))
|
||||||
|
DOC.base64String = Convert.ToBase64String(dateiBytes)
|
||||||
|
ATEZ_RH_EZA.documents.Add(DOC)
|
||||||
|
Catch ex As Exception
|
||||||
|
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||||
|
End Try
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Adressen
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).addresses = New List(Of cRelayHub.cRelayHubAddress)
|
||||||
|
|
||||||
|
' Empfänger / Consignee
|
||||||
|
If SENDUNG.tblSnd_EmpfaengerKdNr > 0 Then
|
||||||
|
Dim AD As New cAdressen(SENDUNG.tblSnd_EmpfaengerKdNr)
|
||||||
|
Dim KD As New cKunde(SENDUNG.tblSnd_EmpfaengerKdNr)
|
||||||
|
Dim CN As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAddress
|
||||||
|
|
||||||
|
CN.addressType = "CN"
|
||||||
|
CN.participantEORI = If(KD.EORITIN, "")
|
||||||
|
CN.participantSubsidiaryNumber = If(KD.EORITIN_NL, "")
|
||||||
|
CN.companyName = AD.Name_1
|
||||||
|
CN.streetAndNumber = AD.Straße
|
||||||
|
CN.postalCode = AD.PLZ
|
||||||
|
CN.city = AD.Ort
|
||||||
|
CN.countryCode = SDL.cProgramFunctions.getISO2Land(AD.LandKz)
|
||||||
|
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).addresses.Add(CN)
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).headerData.destinationCountry = CN.countryCode
|
||||||
|
ATEZ_RH_EZA.destinationCountry = CN.countryCode
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Absender / Consignor
|
||||||
|
If SENDUNG.tblSnd_AbsenderKdNr > 0 Then
|
||||||
|
Dim AD As New cAdressen(SENDUNG.tblSnd_AbsenderKdNr)
|
||||||
|
Dim KD As New cKunde(SENDUNG.tblSnd_AbsenderKdNr)
|
||||||
|
Dim CZ As New VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHubAddress
|
||||||
|
|
||||||
|
CZ.addressType = "CZ"
|
||||||
|
CZ.participantEORI = If(KD.EORITIN, "")
|
||||||
|
CZ.participantSubsidiaryNumber = If(KD.EORITIN_NL, "")
|
||||||
|
CZ.companyName = AD.Name_1
|
||||||
|
CZ.streetAndNumber = AD.Straße
|
||||||
|
CZ.postalCode = AD.PLZ
|
||||||
|
CZ.city = AD.Ort
|
||||||
|
CZ.countryCode = SDL.cProgramFunctions.getISO2Land(AD.LandKz)
|
||||||
|
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).addresses.Add(CZ)
|
||||||
|
ATEZ_RH_EZA.additionalData.declaration(0).headerData.departureCountry = CZ.countryCode
|
||||||
|
ATEZ_RH_EZA.dispatchCountry = CZ.countryCode
|
||||||
|
End If
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Pflichtfelder absichern
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
ATEZ_RH_EZA.dispatchCountry = If(ATEZ_RH_EZA.dispatchCountry, "")
|
||||||
|
ATEZ_RH_EZA.destinationCountry = If(ATEZ_RH_EZA.destinationCountry, "")
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' JSON anzeigen
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
If sender Is Button2 Then
|
||||||
|
MsgBox(VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHub_sendToRelayHub_JobOrderRequest.getJSON(ATEZ_RH_EZA))
|
||||||
|
Me.Cursor = Cursors.Default
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
' Senden
|
||||||
|
'----------------------------------------------------------------------
|
||||||
|
Dim RESP = VERAG_PROG_ALLGEMEIN.cRelayHub.cRelayHub_sendToRelayHub_JobOrderRequest.query_declarations(ATEZ_RH_EZA)
|
||||||
|
|
||||||
|
If RESP.Success Then
|
||||||
|
MsgBox("Erfolgreich an Modaltrans gesendet!")
|
||||||
|
Me.Close()
|
||||||
|
Else
|
||||||
|
MsgBox("ERROR" & vbNewLine & RESP.Details, MsgBoxStyle.OkOnly, RESP.Message)
|
||||||
|
End If
|
||||||
|
|
||||||
|
Me.Cursor = Cursors.Default
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||||
|
Me.Cursor = Cursors.Default
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
Private Function getTelefon() As String
|
||||||
|
Dim defaultDW = "200"
|
||||||
|
Select Case VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA
|
||||||
|
Case "ATILLA" : Return "0043 7711 28450"
|
||||||
|
Case "AMBAR" : Return "0049 8651 9962492"
|
||||||
|
Case "UNISPED" : defaultDW = "800"
|
||||||
|
Case "IMEX" : defaultDW = "602"
|
||||||
|
Case "VERAG" : defaultDW = "200"
|
||||||
|
End Select
|
||||||
|
|
||||||
|
Dim dw = VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_durchwahl
|
||||||
|
Return "0049 8503 7973999 " &
|
||||||
|
If(String.IsNullOrEmpty(dw) OrElse dw.Length >= 5, defaultDW, dw)
|
||||||
|
End Function
|
||||||
|
Private Function getDefaultMail_FIRMA() As String
|
||||||
|
Select Case VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA
|
||||||
|
Case "VERAG" : Return "quickstop@verag.ag"
|
||||||
|
Case "IMEX" : Return "steuerbescheide@imex-group.at"
|
||||||
|
Case "UNISPED" : Return "office@unisped.at"
|
||||||
|
Case "AMBAR" : Return "office@ambarlog.com"
|
||||||
|
End Select
|
||||||
|
Return "quickstop@verag.ag"
|
||||||
|
End Function
|
||||||
|
'Private Function sendAtezData(atezData As cATEZ_NCTS_DATA, atez As cATEZ_NCTS_IN) As Boolean
|
||||||
|
|
||||||
|
' Dim failreDesc As String
|
||||||
|
|
||||||
|
' Dim authResp = atez.authenticate("NCTS")
|
||||||
|
' If authResp <> "200" Then
|
||||||
|
|
||||||
|
' failreDesc = "Authentifizierung fehlgeschlagen"
|
||||||
|
' lblInfo.Text = failreDesc & " - " & authResp & vbNewLine & "Vorgang abgebrochen" & vbNewLine & " Bitte wiederholen!"
|
||||||
|
' Dim resultAuthentifizierung As MsgBoxResult = MsgBox("Fehler beim Authentifizieren" & vbNewLine & failreDesc & vbNewLine & "Soll NCTS als Entwurf gespeichert werden?", vbYesNoCancel)
|
||||||
|
|
||||||
|
' If resultAuthentifizierung = vbYes Then
|
||||||
|
' atezData.status = "Draft"
|
||||||
|
' atezData.fehlerbeschreibung = failreDesc
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
' Else
|
||||||
|
' atezData.status = "Failure"
|
||||||
|
' atezData.fehlerbeschreibung = failreDesc
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' Return False
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' atezData.sessionId = atez.sessionID
|
||||||
|
|
||||||
|
|
||||||
|
' If Not atez.setJsonNCTS(atezData) Then
|
||||||
|
' MsgBox("Fehler beim Erstellen der Daten" & vbNewLine & "Vorgang abgebrochen!")
|
||||||
|
' atezData.status = "Failure"
|
||||||
|
' atezData.fehlerbeschreibung = "Fehler beim Erstellen der Daten"
|
||||||
|
' Return atezData.SAVE
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' If checkAttachment() Then
|
||||||
|
' If Not atez.setJsonPDF(atezData, dgvAnhaenge) Then
|
||||||
|
' MsgBox("Fehler beim Erstellen der PDF-Daten!" & vbNewLine & "Vorgang abgebrochen!")
|
||||||
|
' atezData.status = "Failure"
|
||||||
|
' atezData.fehlerbeschreibung = "Fehler beim Erstellen der PDF-Daten!"
|
||||||
|
' Return atezData.SAVE
|
||||||
|
' End If
|
||||||
|
' End If
|
||||||
|
|
||||||
|
|
||||||
|
' Dim azetId = atez.SendRequestWithAuthHeader("application/json", failreDesc, "/api/integrations/verag", "POST")
|
||||||
|
|
||||||
|
' If failreDesc <> "" Then
|
||||||
|
' If atezData.status = "Draft" Then
|
||||||
|
' MsgBox("Fehler beim Senden" & vbNewLine & failreDesc)
|
||||||
|
' atezData.fehlerbeschreibung = failreDesc
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
|
||||||
|
' End If
|
||||||
|
' Dim result As MsgBoxResult = MsgBox("Fehler beim Senden" & vbNewLine & failreDesc & vbNewLine & "Soll NCTS als Entwurf gespeichert werden?", vbYesNoCancel)
|
||||||
|
' If result = vbYes Then
|
||||||
|
' atezData.status = "Draft"
|
||||||
|
' atezData.fehlerbeschreibung = failreDesc
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
' Else
|
||||||
|
' atezData.status = "Failure"
|
||||||
|
' atezData.fehlerbeschreibung = failreDesc
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' lblInfo.Text = "Fehler in der API "
|
||||||
|
|
||||||
|
' Else
|
||||||
|
|
||||||
|
' If azetId = "-1" Then
|
||||||
|
' atezData.fehlerbeschreibung = "Request has been sent, but no header received!"
|
||||||
|
' Else
|
||||||
|
' atezData.fehlerbeschreibung = ""
|
||||||
|
' End If
|
||||||
|
' atezData.status = "Sent"
|
||||||
|
' atezData.atezId = IIf(azetId IsNot Nothing, azetId, "")
|
||||||
|
' Return atezData.SAVE()
|
||||||
|
|
||||||
|
' End If
|
||||||
|
|
||||||
|
'End Function
|
||||||
|
|
||||||
|
Function getBezugsnr(ByRef BezugsNr)
|
||||||
|
Dim BezugsNrTmp = ""
|
||||||
|
BezugsNrTmp = SENDUNG.FilialenNr & "/" & SENDUNG.AbfertigungsNr
|
||||||
|
BezugsNr = BezugsNrTmp
|
||||||
|
zusatz = "A"
|
||||||
|
|
||||||
|
If dgv IsNot Nothing AndAlso dgv.Rows.Count > 0 Then
|
||||||
|
BezugsNr = BezugsNrTmp & "/" & zusatz
|
||||||
|
For Each r As DataGridViewRow In dgv.Rows
|
||||||
|
If r.Cells("BezugsNr").Value = BezugsNr Then
|
||||||
|
|
||||||
|
If zusatz.Length = 1 Then
|
||||||
|
zusatz = Chr(Asc(zusatz.ToString) + 1)
|
||||||
|
Else
|
||||||
|
zusatz = zusatz.Substring(0, 1) & Chr(Asc(zusatz.Substring(0, 2).ToString) + 1)
|
||||||
|
End If
|
||||||
|
|
||||||
|
If zusatz = "Z" Then zusatz = "AA"
|
||||||
|
End If
|
||||||
|
BezugsNr = BezugsNrTmp & "/" & zusatz
|
||||||
|
Next
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
While DAKOSY_Worker.cDakosy_Zollanmeldungen.ExistsBezugsNr(BezugsNr) 'IsNot Nothing
|
||||||
|
BezugsNr = BezugsNrTmp & "/" & zusatz
|
||||||
|
|
||||||
|
If zusatz.Length = 1 Then
|
||||||
|
zusatz = Chr(Asc(zusatz.ToString) + 1)
|
||||||
|
Else
|
||||||
|
zusatz = zusatz.Substring(0, 1) & Chr(Asc(zusatz.Substring(0, 2).ToString) + 1)
|
||||||
|
End If
|
||||||
|
|
||||||
|
If zusatz = "Z" Then zusatz = "AA"
|
||||||
|
End While
|
||||||
|
|
||||||
|
lblBezugsnummer.Text = BezugsNr
|
||||||
|
Return BezugsNr
|
||||||
|
End Function
|
||||||
|
|
||||||
|
|
||||||
|
Private Sub frmATEZNCTS_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||||
|
|
||||||
|
'Select Case FIRMA_DY
|
||||||
|
' Case "VERAG" : txtDyMandant.Text = "VERG"
|
||||||
|
' txtDyNiederlassung.Text = VERAG_PROG_ALLGEMEIN.cAllgemein.NIEDERLASSUNG
|
||||||
|
|
||||||
|
' Select Case FilialenNr
|
||||||
|
' Case "5103" : txtDyNiederlassung.Text = "WAI"
|
||||||
|
|
||||||
|
' End Select
|
||||||
|
|
||||||
|
|
||||||
|
' Case "ATILLA" : txtDyMandant.Text = "ATIL" : txtDyNiederlassung.Text = "SUW"
|
||||||
|
' Case "UNISPED" : txtDyMandant.Text = "UNAT" : txtDyNiederlassung.Text = "ATSPED"
|
||||||
|
' Case "IMEX" : txtDyMandant.Text = "IMEX" : txtDyNiederlassung.Text = "IME"
|
||||||
|
' Case "AMBAR" : txtDyMandant.Text = "ATIL" : txtDyNiederlassung.Text = "AMBWO"
|
||||||
|
'End Select
|
||||||
|
FIRMA_DY = cDakosyFunftions.getFirma_DY(FilialenNr.ToString, Me, "EZA")
|
||||||
|
'txtDyMandant.Text = cDakosyFunftions.getIOPartner(FIRMA_DY, "EZA")
|
||||||
|
'txtDyNiederlassung.Text = cDakosyFunftions.getDivision(FIRMA_DY, "EZA")
|
||||||
|
|
||||||
|
'Label4.Text = If(VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_DAKOSY_SB, "-").ToString
|
||||||
|
|
||||||
|
initSeachboxes()
|
||||||
|
lblAnh.Visible = True
|
||||||
|
|
||||||
|
|
||||||
|
If openExisting Then
|
||||||
|
|
||||||
|
If id > 0 Then
|
||||||
|
' atez_data = New cATEZ_NCTS_DATA(id)
|
||||||
|
initAttachment()
|
||||||
|
If atez_data.atezId <> "" Then
|
||||||
|
lblInfo.Text = "Atez-ID " & atez_data.atezId
|
||||||
|
Else
|
||||||
|
lblInfo.Text = "Status: " & IIf(atez_data.fehlerbeschreibung <> "", atez_data.status & "- " & atez_data.fehlerbeschreibung, atez_data.status)
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
lblBezugsnummer.Text = atez_data.VERAG_LRN
|
||||||
|
|
||||||
|
'cboStammreferenz.fillWithSQL("SELECT [dySr_Stammreferenz],[dySr_Bezeichnung] FROM [tblDakosy_Stammreferenzen] WHERE dySr_Land='DE' AND dySr_Verfahren='EZA' and dySr_dy_Mandant='" & txtDyMandant.Text & "' and dySr_dy_Niederlassung IN ('','" & txtDyNiederlassung.Text & "' " & If(txtDyMandant.Text = "UNAT", ", 'ATSPED' ", "") & ") and dySr_visible=1", False, "FMZOLL", True)
|
||||||
|
'cboStammreferenz.changeItem(atez_data.DAKOSY_TemplateCode)
|
||||||
|
'cboProzedur.changeItem(atez_data.DAKOSY_Procedure)
|
||||||
|
|
||||||
|
txtLKWId.Text = atez_data.LicensePlateContainerNo
|
||||||
|
|
||||||
|
'sbBestimmungsZollstelle.SET_VALUE(atez_data.DestinationCustomsOffice)
|
||||||
|
sbAdressierteZollstelle.SET_VALUE(atez_data.DepartureCustomsOffice)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If atez_data.status = "Draft" Then
|
||||||
|
btnSend.Text = "An ATEZ senden -->"
|
||||||
|
pnlHead.Enabled = True
|
||||||
|
btnSend.Enabled = True
|
||||||
|
'initAttachment()
|
||||||
|
|
||||||
|
Else
|
||||||
|
btnSend.Text = "JSON"
|
||||||
|
pnlHead.Enabled = False
|
||||||
|
dgvAnhaenge.ReadOnly = True
|
||||||
|
btnSend.Enabled = True
|
||||||
|
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
Else
|
||||||
|
btnSend.Enabled = False
|
||||||
|
End If
|
||||||
|
|
||||||
|
Else
|
||||||
|
' atez_data = New cATEZ_NCTS_DATA()
|
||||||
|
initAttachment()
|
||||||
|
'Button1.Text = "An ATEZ senden -->"
|
||||||
|
pnlHead.Enabled = True
|
||||||
|
|
||||||
|
'cboStammreferenz.fillWithSQL("SELECT [dySr_Stammreferenz],[dySr_Bezeichnung] FROM [tblDakosy_Stammreferenzen] WHERE dySr_Land='DE' AND dySr_Verfahren='EZA' and dySr_dy_Mandant='" & txtDyMandant.Text & "' and dySr_dy_Niederlassung IN ('','" & txtDyNiederlassung.Text & "' " & If(txtDyMandant.Text = "UNAT", ", 'ATSPED' ", "") & ") and dySr_visible=1", False, "FMZOLL", True)
|
||||||
|
'cboStammreferenz.changeItem("")
|
||||||
|
|
||||||
|
getBezugsnr(BezugsNr)
|
||||||
|
txtLKWId.Text = AVISO.LKW_Nr
|
||||||
|
|
||||||
|
' sbBestimmungsZollstelle.SET_VALUE(SENDUNG.NCTS_Bestimmungszollstelle)
|
||||||
|
|
||||||
|
If AVISO.Grenzstelle.Replace("???", "") = "" Then
|
||||||
|
sbAdressierteZollstelle.SET_VALUE(AVISO.Zollstelle)
|
||||||
|
Else
|
||||||
|
|
||||||
|
Dim GRZ As New VERAG_PROG_ALLGEMEIN.cGrenzstelle(AVISO.Grenzstelle)
|
||||||
|
If GRZ IsNot Nothing AndAlso GRZ.hasEntry Then
|
||||||
|
If GRZ.grz_ZollamtDST IsNot Nothing Then
|
||||||
|
sbAdressierteZollstelle.SET_VALUE(GRZ.grz_ZollamtDST)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
End If
|
||||||
|
'initAttachment()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Sub initAttachment()
|
||||||
|
Dim hSQL As String = " SELECT [anh_id],anh_Datum,[anh_Name],[anh_docId],
|
||||||
|
|
||||||
|
case WHEN [anh_size] > 0 Then ROUND([anh_size] / 1000000,2) End as anh_size,
|
||||||
|
[anh_Art],[anh_Typ] FROM [tblAvisoAnhaenge]
|
||||||
|
WHERE [anh_AvisoId]=" & AVISO.AvisoID & "AND (anh_SendungsId is null OR anh_SendungsId <=0 OR anh_SendungsId='" & SENDUNG.tblSnd_SendungID & "') And anh_Typ NOT IN ('MSG', 'SONSTIGES')
|
||||||
|
ORDER BY anh_SendungsId desc,
|
||||||
|
case
|
||||||
|
when [anh_Art] = 'ATR-EUR1' then 0
|
||||||
|
when [anh_Art] = 'Rechnung' then 1
|
||||||
|
when [anh_Art] = 'eFatura' then 1.1
|
||||||
|
when [anh_Art] = 'CMR' then 2
|
||||||
|
when [anh_Art] = 'Ausfuhr' then 3
|
||||||
|
when [anh_Art] = 'Vorpapier' then 4
|
||||||
|
when [anh_Art] = 'Packliste' then 5
|
||||||
|
when [anh_Art] = 'Auftrag' then 6
|
||||||
|
when [anh_Art] = 'Auftrag' then 7
|
||||||
|
when [anh_Art] = 'Dispoliste' then 8
|
||||||
|
when [anh_Art] = 'Vorkasse' then 9
|
||||||
|
when [anh_Art] = 'Überweisungsbeleg' then 10
|
||||||
|
when [anh_Art] = 'Vollmacht' then 11
|
||||||
|
when [anh_Art] = 'ATB' then 12
|
||||||
|
when [anh_Art] = 'ATA' then 13
|
||||||
|
when [anh_Art] = 'Sonstiges' then 99
|
||||||
|
when [anh_Art] ='' then 15
|
||||||
|
|
||||||
|
END, [anh_Reihenfolge],[anh_id]"
|
||||||
|
|
||||||
|
Dim dt = VermerkeDAL.Anzeigen_Vermerke(hSQL)
|
||||||
|
|
||||||
|
Dim col As DataColumn
|
||||||
|
col = dt.Columns.Add("anh_selekt", GetType(Boolean))
|
||||||
|
col.SetOrdinal(0)
|
||||||
|
dgvAnhaenge.Columns.Clear()
|
||||||
|
dgvAnhaenge.DataSource = dt
|
||||||
|
If dgvAnhaenge.RowCount = 0 Then dgvAnhaenge.Columns.Clear() : Exit Sub
|
||||||
|
|
||||||
|
With dgvAnhaenge
|
||||||
|
|
||||||
|
.Enabled = True
|
||||||
|
.ReadOnly = False
|
||||||
|
|
||||||
|
.RowTemplate.MinimumHeight = 30
|
||||||
|
.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells
|
||||||
|
.Columns("anh_id").Visible = False 'VermerkID nicht anzeigenconMenuVermerke
|
||||||
|
.Columns("anh_docId").Visible = False 'AvisoID nicht anzeigen
|
||||||
|
' .Columns("anh_Art").Visible = False 'AvisoID nicht anzeigen
|
||||||
|
|
||||||
|
.Columns("anh_selekt").Width = 25
|
||||||
|
.Columns("anh_selekt").HeaderText = ""
|
||||||
|
.Columns("anh_selekt").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
|
||||||
|
|
||||||
|
.Columns("anh_Datum").MinimumWidth = 50
|
||||||
|
.Columns("anh_Datum").HeaderText = "Datum"
|
||||||
|
.Columns("anh_Datum").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
|
||||||
|
.Columns("anh_Datum").ReadOnly = True
|
||||||
|
|
||||||
|
|
||||||
|
.Columns("anh_Name").MinimumWidth = 150
|
||||||
|
.Columns("anh_Name").HeaderText = "Name"
|
||||||
|
.Columns("anh_Name").AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill
|
||||||
|
.Columns("anh_Name").ReadOnly = True
|
||||||
|
|
||||||
|
.Columns("anh_Art").MinimumWidth = 50
|
||||||
|
.Columns("anh_Art").HeaderText = "Art"
|
||||||
|
.Columns("anh_Art").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
|
||||||
|
.Columns("anh_Art").ReadOnly = True
|
||||||
|
|
||||||
|
.Columns("anh_Typ").Width = 50
|
||||||
|
.Columns("anh_Typ").HeaderText = "Typ"
|
||||||
|
.Columns("anh_Typ").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
|
||||||
|
.Columns("anh_Typ").ReadOnly = True
|
||||||
|
|
||||||
|
.Columns("anh_size").Width = 50
|
||||||
|
.Columns("anh_size").HeaderText = "Größe in MB"
|
||||||
|
.Columns("anh_size").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
|
||||||
|
.Columns("anh_size").ReadOnly = True
|
||||||
|
|
||||||
|
End With
|
||||||
|
|
||||||
|
For Each doc As DataGridViewRow In dgvAnhaenge.Rows
|
||||||
|
|
||||||
|
If Not IsDBNull(doc.Cells("anh_size").Value) AndAlso doc.Cells("anh_size").Value > 0 Then
|
||||||
|
Dim size = (doc.Cells("anh_size").Value)
|
||||||
|
If size < 1 Then
|
||||||
|
doc.DefaultCellStyle.BackColor = Color.LightGreen
|
||||||
|
ElseIf size > 1 AndAlso size < 5 Then
|
||||||
|
doc.DefaultCellStyle.BackColor = Color.LightYellow
|
||||||
|
Else
|
||||||
|
doc.DefaultCellStyle.BackColor = Color.IndianRed
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
Next
|
||||||
|
|
||||||
|
If atez_data IsNot Nothing AndAlso atez_data.selectedDocuments <> "" Then
|
||||||
|
|
||||||
|
For Each doc As DataGridViewRow In dgvAnhaenge.Rows
|
||||||
|
If atez_data.selectedDocuments.Contains(doc.Cells("anh_docId").Value) Then doc.Cells("anh_selekt").Value = True
|
||||||
|
|
||||||
|
Next
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
Sub initSeachboxes()
|
||||||
|
|
||||||
|
sbAdressierteZollstelle.initSearchBox(Me.FindForm, "[Code] ,[Code] as Nr,Description as Dienststelle,left(Code,2) as Land,[Description] +' (' +left(Code,2)+')' as display FROM [tbl_DY_ZollDE_C0141_Zollstellen]", {" [Code]", "Description"}, " (StartDate is null OR StartDate< GETDATE()) AND (EndDate is null OR EndDate> GETDATE()) ", " left(Code,2),[Description]", "Code", "display", "FMZOLL", , 400, 200, {"display", "Code"})
|
||||||
|
'sbBestimmungsZollstelle.initSearchBox(Me.FindForm, "[Code] ,[Code] as Nr,Description as Dienststelle,left(Code,2) as Land,[Description] +' (' +left(Code,2)+')' as display FROM [tbl_DY_ZollDE_C0141_Zollstellen]", {" [Code]", "Description"}, " (StartDate is null OR StartDate< GETDATE()) AND (EndDate is null OR EndDate> GETDATE()) ", " left(Code,2),[Description]", "Code", "display", "FMZOLL", , 400, 200, {"display", "Code"})
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Public Function checkAttachment() As Boolean
|
||||||
|
|
||||||
|
Dim selectedDocuments As Boolean = False
|
||||||
|
|
||||||
|
For Each Row In dgvAnhaenge.Rows
|
||||||
|
|
||||||
|
selectedDocuments = IIf(DBNull.Value Is Row.Cells("anh_selekt").Value, False, Row.Cells("anh_selekt").Value)
|
||||||
|
If selectedDocuments Then Exit For
|
||||||
|
Next
|
||||||
|
|
||||||
|
|
||||||
|
'If Not selectedDocuments Then
|
||||||
|
' lblInfo.Text = "kein Anhang selektiert"
|
||||||
|
' Cursor = Cursors.Default
|
||||||
|
' Return selectedDocuments
|
||||||
|
'End If
|
||||||
|
|
||||||
|
Return selectedDocuments
|
||||||
|
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Public Function checkMandatoryField() As Boolean
|
||||||
|
|
||||||
|
|
||||||
|
'TODO
|
||||||
|
Return True
|
||||||
|
|
||||||
|
|
||||||
|
End Function
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Private Sub dgvAnhaenge_CellDoubleClick(sender As Object, e As DataGridViewCellEventArgs) Handles dgvAnhaenge.CellDoubleClick
|
||||||
|
Try
|
||||||
|
|
||||||
|
If dgvAnhaenge.SelectedRows.Count > 0 Then
|
||||||
|
Dim docPath = VERAG_PROG_ALLGEMEIN.cDATENSERVER.GET_PDFPath_BY_DocID(dgvAnhaenge.SelectedRows(0).Cells("anh_docId").Value)
|
||||||
|
If Not IO.File.Exists(docPath) Then
|
||||||
|
MsgBox("Die Datei existiert nicht!")
|
||||||
|
Else
|
||||||
|
If docPath.ToString.ToLower.EndsWith(".msg") Then ' MSG - Mails --> lokale Kopie, sonst Fehler (bereits von Benutzer soUndSo geöffnet)
|
||||||
|
Dim docPathTMP = VERAG_PROG_ALLGEMEIN.cFormularManager.getTMPPath_MSG()
|
||||||
|
System.IO.File.Copy(docPath, docPathTMP)
|
||||||
|
Process.Start(docPathTMP)
|
||||||
|
Else
|
||||||
|
Process.Start(docPath)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Private Sub dgvAnhaenge_CellClick(sender As Object, e As DataGridViewCellEventArgs) Handles dgvAnhaenge.CellClick
|
||||||
|
|
||||||
|
Dim countAnh As Double = 0
|
||||||
|
If dgvAnhaenge.RowCount > 0 Then
|
||||||
|
|
||||||
|
If dgvAnhaenge.Columns(e.ColumnIndex).Name = "anh_selekt" Then
|
||||||
|
|
||||||
|
If Not IsDBNull(dgvAnhaenge.CurrentRow.Cells("anh_selekt").Value) AndAlso dgvAnhaenge.CurrentRow.Cells("anh_selekt").Value = True Then
|
||||||
|
countAnh += IIf(dgvAnhaenge.CurrentRow.Cells("anh_size").Value IsNot DBNull.Value, dgvAnhaenge.CurrentRow.Cells("anh_size").Value, 0)
|
||||||
|
End If
|
||||||
|
|
||||||
|
For Each Row As DataGridViewRow In dgvAnhaenge.Rows
|
||||||
|
If Row.Cells("anh_selekt").Value IsNot DBNull.Value AndAlso Row.Cells("anh_selekt").Value = True AndAlso Row.Cells("anh_size").Value IsNot DBNull.Value Then
|
||||||
|
countAnh += IIf(Row.Cells("anh_size").Value IsNot DBNull.Value, Row.Cells("anh_size").Value, 0)
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
|
||||||
|
lblAnh.Text = "Anhang in MB: " & countAnh.ToString
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
|
||||||
|
If dgvAnhaenge.RowCount > 0 Then
|
||||||
|
Dim countAnh As Double = 0
|
||||||
|
For Each Row As DataGridViewRow In dgvAnhaenge.Rows
|
||||||
|
If allSelected Then
|
||||||
|
Row.Cells("anh_selekt").Value = True
|
||||||
|
countAnh += IIf(Row.Cells("anh_size").Value IsNot DBNull.Value, Row.Cells("anh_size").Value, 0)
|
||||||
|
Else
|
||||||
|
Row.Cells("anh_selekt").Value = False
|
||||||
|
countAnh = 0
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
allSelected = Not allSelected
|
||||||
|
lblAnh.Text = "Anhang in MB: " & countAnh.ToString
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click
|
||||||
|
cRelayHubToken.DeleteAllStores()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles btnAgg_Tnr.Click, btnAgg_desc.Click, btnAgg_Origin.Click, btnAgg_Unit.Click
|
||||||
|
If sender.Tag = 0 Then
|
||||||
|
sender.Tag = 1
|
||||||
|
sender.BackColor = Color.DeepSkyBlue
|
||||||
|
Else
|
||||||
|
sender.Tag = 0
|
||||||
|
sender.BackColor = SystemColors.Control
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
Private Sub Buttonprio_Click(sender As Object, e As EventArgs) Handles btnPrio_CommInv.Click, btnPrio_ftz.Click, btnPrio_eFatura.Click, btnPrio_Export.Click
|
||||||
|
|
||||||
|
If sender IsNot btnPrio_CommInv Then btnPrio_CommInv.Tag = 0 : btnPrio_CommInv.BackColor = SystemColors.Control
|
||||||
|
If sender IsNot btnPrio_eFatura Then btnPrio_eFatura.Tag = 0 : btnPrio_eFatura.BackColor = SystemColors.Control
|
||||||
|
If sender IsNot btnPrio_Export Then btnPrio_Export.Tag = 0 : btnPrio_Export.BackColor = SystemColors.Control
|
||||||
|
If sender IsNot btnPrio_ftz Then btnPrio_ftz.Tag = 0 : btnPrio_ftz.BackColor = SystemColors.Control
|
||||||
|
|
||||||
|
|
||||||
|
If sender.Tag = 0 Then
|
||||||
|
sender.Tag = 1
|
||||||
|
sender.BackColor = Color.DeepSkyBlue
|
||||||
|
Else
|
||||||
|
sender.Tag = 0
|
||||||
|
sender.BackColor = SystemColors.Control
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
End Class
|
||||||
@@ -644,6 +644,24 @@
|
|||||||
<SubType>UserControl</SubType>
|
<SubType>UserControl</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="ApplicationEvents.vb" />
|
<Compile Include="ApplicationEvents.vb" />
|
||||||
|
<Compile Include="ATEZ\frmATEZ_TELOTEC.Designer.vb">
|
||||||
|
<DependentUpon>frmATEZ_TELOTEC.vb</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="ATEZ\frmATEZ_TELOTEC.vb">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="ATEZ\frmATEZ_MIC.Designer.vb">
|
||||||
|
<DependentUpon>frmATEZ_MIC.vb</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="ATEZ\frmATEZ_MIC.vb">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="ATEZ\frmATEZ_UK_MODAL.Designer.vb">
|
||||||
|
<DependentUpon>frmATEZ_UK_MODAL.vb</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="ATEZ\frmATEZ_UK_MODAL.vb">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
<Compile Include="ATEZ\frmATEZ_EZA.Designer.vb">
|
<Compile Include="ATEZ\frmATEZ_EZA.Designer.vb">
|
||||||
<DependentUpon>frmATEZ_EZA.vb</DependentUpon>
|
<DependentUpon>frmATEZ_EZA.vb</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -1242,6 +1260,12 @@
|
|||||||
<Compile Include="GVMS\frmGVMSNew.vb">
|
<Compile Include="GVMS\frmGVMSNew.vb">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="Hauptfenster\usrCntlHauptfenster_Suche_Zollvorgaenge.Designer.vb">
|
||||||
|
<DependentUpon>usrCntlHauptfenster_Suche_Zollvorgaenge.vb</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Hauptfenster\usrCntlHauptfenster_Suche_Zollvorgaenge.vb">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
<Compile Include="My Project\AssemblyInfo.vb" />
|
<Compile Include="My Project\AssemblyInfo.vb" />
|
||||||
<Compile Include="My Project\Application.Designer.vb">
|
<Compile Include="My Project\Application.Designer.vb">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
@@ -1337,16 +1361,16 @@
|
|||||||
<Compile Include="usrcntlFrachtkostenberechnung.vb">
|
<Compile Include="usrcntlFrachtkostenberechnung.vb">
|
||||||
<SubType>UserControl</SubType>
|
<SubType>UserControl</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="usrCntlHauptfenster_Suche_SND.Designer.vb">
|
<Compile Include="Hauptfenster\usrCntlHauptfenster_Suche_SND.Designer.vb">
|
||||||
<DependentUpon>usrCntlHauptfenster_Suche_SND.vb</DependentUpon>
|
<DependentUpon>usrCntlHauptfenster_Suche_SND.vb</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="usrCntlHauptfenster_Suche_SND.vb">
|
<Compile Include="Hauptfenster\usrCntlHauptfenster_Suche_SND.vb">
|
||||||
<SubType>UserControl</SubType>
|
<SubType>UserControl</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="usrCntlHauptfenster_Suche_AVISO.Designer.vb">
|
<Compile Include="Hauptfenster\usrCntlHauptfenster_Suche_AVISO.Designer.vb">
|
||||||
<DependentUpon>usrCntlHauptfenster_Suche_AVISO.vb</DependentUpon>
|
<DependentUpon>usrCntlHauptfenster_Suche_AVISO.vb</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="usrCntlHauptfenster_Suche_AVISO.vb">
|
<Compile Include="Hauptfenster\usrCntlHauptfenster_Suche_AVISO.vb">
|
||||||
<SubType>UserControl</SubType>
|
<SubType>UserControl</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="usrcntlSendungDetailsAbrechnung.Designer.vb">
|
<Compile Include="usrcntlSendungDetailsAbrechnung.Designer.vb">
|
||||||
@@ -1421,6 +1445,15 @@
|
|||||||
<EmbeddedResource Include="Anhänge\usrCntlSendungAnhangElement.resx">
|
<EmbeddedResource Include="Anhänge\usrCntlSendungAnhangElement.resx">
|
||||||
<DependentUpon>usrCntlSendungAnhangElement.vb</DependentUpon>
|
<DependentUpon>usrCntlSendungAnhangElement.vb</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="ATEZ\frmATEZ_TELOTEC.resx">
|
||||||
|
<DependentUpon>frmATEZ_TELOTEC.vb</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="ATEZ\frmATEZ_MIC.resx">
|
||||||
|
<DependentUpon>frmATEZ_MIC.vb</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="ATEZ\frmATEZ_UK_MODAL.resx">
|
||||||
|
<DependentUpon>frmATEZ_UK_MODAL.vb</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="ATEZ\frmATEZ_EZA.resx">
|
<EmbeddedResource Include="ATEZ\frmATEZ_EZA.resx">
|
||||||
<DependentUpon>frmATEZ_EZA.vb</DependentUpon>
|
<DependentUpon>frmATEZ_EZA.vb</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
@@ -1708,6 +1741,9 @@
|
|||||||
<EmbeddedResource Include="GVMS\frmGVMSNew.resx">
|
<EmbeddedResource Include="GVMS\frmGVMSNew.resx">
|
||||||
<DependentUpon>frmGVMSNew.vb</DependentUpon>
|
<DependentUpon>frmGVMSNew.vb</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Hauptfenster\usrCntlHauptfenster_Suche_Zollvorgaenge.resx">
|
||||||
|
<DependentUpon>usrCntlHauptfenster_Suche_Zollvorgaenge.vb</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="My Project\licenses.licx" />
|
<EmbeddedResource Include="My Project\licenses.licx" />
|
||||||
<EmbeddedResource Include="My Project\Resources.resx">
|
<EmbeddedResource Include="My Project\Resources.resx">
|
||||||
<Generator>PublicVbMyResourcesResXFileCodeGenerator</Generator>
|
<Generator>PublicVbMyResourcesResXFileCodeGenerator</Generator>
|
||||||
@@ -1754,10 +1790,10 @@
|
|||||||
<EmbeddedResource Include="usrcntlFrachtkostenberechnung.resx">
|
<EmbeddedResource Include="usrcntlFrachtkostenberechnung.resx">
|
||||||
<DependentUpon>usrcntlFrachtkostenberechnung.vb</DependentUpon>
|
<DependentUpon>usrcntlFrachtkostenberechnung.vb</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="usrCntlHauptfenster_Suche_SND.resx">
|
<EmbeddedResource Include="Hauptfenster\usrCntlHauptfenster_Suche_SND.resx">
|
||||||
<DependentUpon>usrCntlHauptfenster_Suche_SND.vb</DependentUpon>
|
<DependentUpon>usrCntlHauptfenster_Suche_SND.vb</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="usrCntlHauptfenster_Suche_AVISO.resx">
|
<EmbeddedResource Include="Hauptfenster\usrCntlHauptfenster_Suche_AVISO.resx">
|
||||||
<DependentUpon>usrCntlHauptfenster_Suche_AVISO.vb</DependentUpon>
|
<DependentUpon>usrCntlHauptfenster_Suche_AVISO.vb</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="usrcntlSendungDetailsAbrechnung.resx">
|
<EmbeddedResource Include="usrcntlSendungDetailsAbrechnung.resx">
|
||||||
@@ -1959,6 +1995,7 @@
|
|||||||
</None>
|
</None>
|
||||||
<None Include="Resources\AVISO_DCS.png" />
|
<None Include="Resources\AVISO_DCS.png" />
|
||||||
<None Include="Resources\aktualisieren-40.png" />
|
<None Include="Resources\aktualisieren-40.png" />
|
||||||
|
<None Include="Resources\dakosy_de.png" />
|
||||||
<Content Include="Resources\FO.png">
|
<Content Include="Resources\FO.png">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
@@ -2034,6 +2071,9 @@
|
|||||||
<None Include="Resources\herbert_afraid.jpg" />
|
<None Include="Resources\herbert_afraid.jpg" />
|
||||||
<None Include="Resources\herbert_destroyed.jpg" />
|
<None Include="Resources\herbert_destroyed.jpg" />
|
||||||
<None Include="Resources\herbert_happy.jpg" />
|
<None Include="Resources\herbert_happy.jpg" />
|
||||||
|
<None Include="Resources\mic_nl.png" />
|
||||||
|
<None Include="Resources\modaltrans_uk.png" />
|
||||||
|
<None Include="Resources\teleotc-at.png" />
|
||||||
<Content Include="Resources\WLAN\RunNHide.exe">
|
<Content Include="Resources\WLAN\RunNHide.exe">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|||||||
@@ -432,6 +432,10 @@ Public Class SendungOptions
|
|||||||
imgpath = resPath & "AMB.png"
|
imgpath = resPath & "AMB.png"
|
||||||
ElseIf SENDUNG.FilialenNr = "5801" Then
|
ElseIf SENDUNG.FilialenNr = "5801" Then
|
||||||
imgpath = resPath & "FO.png"
|
imgpath = resPath & "FO.png"
|
||||||
|
ElseIf SENDUNG.FilialenNr = "6101" Then
|
||||||
|
imgpath = resPath & "VENLO.png"
|
||||||
|
ElseIf SENDUNG.FilialenNr = "6001" Then
|
||||||
|
imgpath = resPath & "VERIMEX.png"
|
||||||
Else
|
Else
|
||||||
Select Case VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_niederlassung
|
Select Case VERAG_PROG_ALLGEMEIN.cAllgemein.MITARBEITER.mit_niederlassung
|
||||||
Case "SUB"
|
Case "SUB"
|
||||||
|
|||||||
@@ -117,15 +117,6 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
||||||
<data name="btnNeu.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>
|
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
|
||||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABVSURBVEhL7c0xDgAgCENR738Ar4uDi7bEECMsdngO
|
|
||||||
BPzNzFolGmSbTw+zA9wlCnowouBGQQ9GroN4nELB5/4KRtEnC9wlCnowouBGQQ9G7oKVaJBtAF0U0pEO
|
|
||||||
zULyAAAAAElFTkSuQmCC
|
|
||||||
</value>
|
|
||||||
</data>
|
|
||||||
<metadata name="TimerAkte.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="TimerAkte.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
@@ -117,15 +117,6 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
|
||||||
<data name="btnNeu.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>
|
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
|
||||||
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABVSURBVEhL7c0xDgAgCENR738Ar4uDi7bEECMsdngO
|
|
||||||
BPzNzFolGmSbTw+zA9wlCnowouBGQQ9GroN4nELB5/4KRtEnC9wlCnowouBGQQ9G7oKVaJBtAF0U0pEO
|
|
||||||
zULyAAAAAElFTkSuQmCC
|
|
||||||
</value>
|
|
||||||
</data>
|
|
||||||
<metadata name="TimerAkte.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="TimerAkte.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
@@ -624,7 +624,7 @@ Public Class usrCntlHauptfenster_Suche_SND
|
|||||||
Dim hSQLFirma = ""
|
Dim hSQLFirma = ""
|
||||||
|
|
||||||
|
|
||||||
hSQLFirma = " AND Firma ='" & VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA & "' OR Cluster='" & VERAG_PROG_ALLGEMEIN.cAllgemein.CLUSTER & "' "
|
hSQLFirma = " AND (Firma ='" & VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA & "' OR Cluster='" & VERAG_PROG_ALLGEMEIN.cAllgemein.CLUSTER & "' ) "
|
||||||
|
|
||||||
|
|
||||||
hSQL = " SELECT " & top & " AvisoID, CASE WHEN [LKW_fertig] = 1 THEN 'OK' ELSE '' END AS [LKW_fertig], CASE WHEN [VerwahrungStatus] = 1 THEN 'OK' ELSE '' END AS [VerwahrungStatus],[Status],tblSendungen.LetzterMitarbeiterId,tblSendungen.LetzterMitarbeiter, LKW_Nr, VoraussichtlichesEintreffen,Dauer, Datum, AvisoEingang, Ankunft, Grenzstelle, Freigabe, Aviso.LetzterMitarbeiterId AS maId,AvisoTVHinweis " &
|
hSQL = " SELECT " & top & " AvisoID, CASE WHEN [LKW_fertig] = 1 THEN 'OK' ELSE '' END AS [LKW_fertig], CASE WHEN [VerwahrungStatus] = 1 THEN 'OK' ELSE '' END AS [VerwahrungStatus],[Status],tblSendungen.LetzterMitarbeiterId,tblSendungen.LetzterMitarbeiter, LKW_Nr, VoraussichtlichesEintreffen,Dauer, Datum, AvisoEingang, Ankunft, Grenzstelle, Freigabe, Aviso.LetzterMitarbeiterId AS maId,AvisoTVHinweis " &
|
||||||
@@ -714,7 +714,7 @@ Public Class usrCntlHauptfenster_Suche_SND
|
|||||||
Dim list As New List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
Dim list As New List(Of VERAG_PROG_ALLGEMEIN.SQLVariable)
|
||||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("maId", VERAG_PROG_ALLGEMEIN.cAllgemein.USRID))
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("maId", VERAG_PROG_ALLGEMEIN.cAllgemein.USRID))
|
||||||
|
|
||||||
MsgBox(hSQL)
|
' MsgBox(hSQL)
|
||||||
'If hSort = "" Then
|
'If hSort = "" Then
|
||||||
'hSQL += " ORDER BY Ankunft DESC, AvisoEingang DESC, Datum DESC"
|
'hSQL += " ORDER BY Ankunft DESC, AvisoEingang DESC, Datum DESC"
|
||||||
' Else
|
' Else
|
||||||
@@ -958,7 +958,7 @@ Public Class usrCntlHauptfenster_Suche_SND
|
|||||||
Return addDays
|
Return addDays
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Sub btnNeu_Click(sender As Object, e As EventArgs)
|
Private Sub btnNeu_Click(sender As Object, e As EventArgs) Handles btnNeu.Click
|
||||||
Try
|
Try
|
||||||
|
|
||||||
Me.Cursor = Cursors.WaitCursor
|
Me.Cursor = Cursors.WaitCursor
|
||||||
@@ -1421,7 +1421,40 @@ Public Class usrCntlHauptfenster_Suche_SND
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
Private Sub btnNeu_Click_1(sender As Object, e As EventArgs) Handles btnNeu.Click
|
Private Sub btnNeu_Click_1(sender As Object, e As EventArgs)
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
' Die neuen Ansichtsbuttons verwenden das bestehende TabControl nur als Statusspeicher.
|
||||||
|
' Die SQL-Suchlogik mit tbcntrAvisoSND.SelectedTab bleibt unverändert.
|
||||||
|
Private Sub optSndAnsicht_CheckedChanged(sender As Object, e As EventArgs) Handles optSndAlle.CheckedChanged, optSndOffen.CheckedChanged, optSndFreigegeben.CheckedChanged, optSndNichtEingetroffen.CheckedChanged
|
||||||
|
Dim opt = TryCast(sender, RadioButton)
|
||||||
|
If opt Is Nothing OrElse Not opt.Checked OrElse tbcntrAvisoSND Is Nothing Then Return
|
||||||
|
Dim index As Integer = If(opt Is optSndOffen, 1, If(opt Is optSndFreigegeben, 2, If(opt Is optSndNichtEingetroffen, 3, 0)))
|
||||||
|
If tbcntrAvisoSND.SelectedIndex <> index Then tbcntrAvisoSND.SelectedIndex = index
|
||||||
|
optSndAnsicht_Farben()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub tbcntrAvisoSND_AnsichtAktualisieren(sender As Object, e As EventArgs) Handles tbcntrAvisoSND.SelectedIndexChanged
|
||||||
|
If optSndAlle Is Nothing Then Return
|
||||||
|
Select Case tbcntrAvisoSND.SelectedIndex
|
||||||
|
Case 0 : optSndAlle.Checked = True
|
||||||
|
Case 1 : optSndOffen.Checked = True
|
||||||
|
Case 2 : optSndFreigegeben.Checked = True
|
||||||
|
Case 3 : optSndNichtEingetroffen.Checked = True
|
||||||
|
End Select
|
||||||
|
optSndAnsicht_Farben()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub optSndAnsicht_Farben()
|
||||||
|
If optSndAlle Is Nothing Then Return
|
||||||
|
optSndAlle.BackColor = If(optSndAlle.Checked, Color.FromArgb(28, 77, 150), Color.FromArgb(236, 241, 249))
|
||||||
|
optSndOffen.BackColor = If(optSndOffen.Checked, Color.FromArgb(28, 77, 150), Color.FromArgb(236, 241, 249))
|
||||||
|
optSndFreigegeben.BackColor = If(optSndFreigegeben.Checked, Color.FromArgb(28, 77, 150), Color.FromArgb(236, 241, 249))
|
||||||
|
optSndNichtEingetroffen.BackColor = If(optSndNichtEingetroffen.Checked, Color.FromArgb(28, 77, 150), Color.FromArgb(236, 241, 249))
|
||||||
|
optSndAlle.ForeColor = If(optSndAlle.Checked, Color.White, Color.FromArgb(45, 64, 96))
|
||||||
|
optSndOffen.ForeColor = If(optSndOffen.Checked, Color.White, Color.FromArgb(45, 64, 96))
|
||||||
|
optSndFreigegeben.ForeColor = If(optSndFreigegeben.Checked, Color.White, Color.FromArgb(45, 64, 96))
|
||||||
|
optSndNichtEingetroffen.ForeColor = If(optSndNichtEingetroffen.Checked, Color.White, Color.FromArgb(45, 64, 96))
|
||||||
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
694
Aviso/Hauptfenster/usrCntlHauptfenster_Suche_Zollvorgaenge.Designer.vb
generated
Normal file
@@ -0,0 +1,694 @@
|
|||||||
|
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
|
||||||
|
Partial Class usrCntlHauptfenster_Suche_Zollvorgaenge
|
||||||
|
Inherits System.Windows.Forms.UserControl
|
||||||
|
|
||||||
|
Private components As System.ComponentModel.IContainer
|
||||||
|
|
||||||
|
<System.Diagnostics.DebuggerNonUserCode()>
|
||||||
|
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||||
|
Try
|
||||||
|
If disposing AndAlso components IsNot Nothing Then components.Dispose()
|
||||||
|
Finally
|
||||||
|
MyBase.Dispose(disposing)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
<System.Diagnostics.DebuggerStepThrough()>
|
||||||
|
Private Sub InitializeComponent()
|
||||||
|
Me.components = New System.ComponentModel.Container()
|
||||||
|
Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
|
Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
|
Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
|
||||||
|
Me.pnlFilter = New System.Windows.Forms.Panel()
|
||||||
|
Me.pnlHeader = New System.Windows.Forms.Panel()
|
||||||
|
Me.lblTitel = New System.Windows.Forms.Label()
|
||||||
|
Me.lblUntertitel = New System.Windows.Forms.Label()
|
||||||
|
Me.grpSuche = New System.Windows.Forms.Panel()
|
||||||
|
Me.lbl_txtSuche = New System.Windows.Forms.Label()
|
||||||
|
Me.txtSuche = New System.Windows.Forms.TextBox()
|
||||||
|
Me.lbl_txtMRN = New System.Windows.Forms.Label()
|
||||||
|
Me.txtMRN = New System.Windows.Forms.TextBox()
|
||||||
|
Me.lbl_txtGeschaeftszeichen = New System.Windows.Forms.Label()
|
||||||
|
Me.txtGeschaeftszeichen = New System.Windows.Forms.TextBox()
|
||||||
|
Me.lbl_txtZollamt = New System.Windows.Forms.Label()
|
||||||
|
Me.txtZollamt = New System.Windows.Forms.TextBox()
|
||||||
|
Me.grpVerfahren = New System.Windows.Forms.Panel()
|
||||||
|
Me.lbl_cboTyp = New System.Windows.Forms.Label()
|
||||||
|
Me.cboTyp = New System.Windows.Forms.ComboBox()
|
||||||
|
Me.lbl_cboStatus = New System.Windows.Forms.Label()
|
||||||
|
Me.cboStatus = New System.Windows.Forms.ComboBox()
|
||||||
|
Me.lbl_cboLand = New System.Windows.Forms.Label()
|
||||||
|
Me.cboLand = New System.Windows.Forms.ComboBox()
|
||||||
|
Me.grpOrganisation = New System.Windows.Forms.Panel()
|
||||||
|
Me.lbl_txtKunde = New System.Windows.Forms.Label()
|
||||||
|
Me.txtKunde = New System.Windows.Forms.TextBox()
|
||||||
|
Me.lbl_cboTeam = New System.Windows.Forms.Label()
|
||||||
|
Me.cboTeam = New System.Windows.Forms.ComboBox()
|
||||||
|
Me.lbl_txtSendungID = New System.Windows.Forms.Label()
|
||||||
|
Me.txtSendungID = New System.Windows.Forms.TextBox()
|
||||||
|
Me.grpFristen = New System.Windows.Forms.Panel()
|
||||||
|
Me.lbl_dtFristVon = New System.Windows.Forms.Label()
|
||||||
|
Me.dtFristVon = New System.Windows.Forms.DateTimePicker()
|
||||||
|
Me.lbl_dtFristBis = New System.Windows.Forms.Label()
|
||||||
|
Me.dtFristBis = New System.Windows.Forms.DateTimePicker()
|
||||||
|
Me.pnlAktionen = New System.Windows.Forms.Panel()
|
||||||
|
Me.btnNeu = New System.Windows.Forms.Button()
|
||||||
|
Me.btnSuchen = New System.Windows.Forms.Button()
|
||||||
|
Me.lblAnsicht = New System.Windows.Forms.Label()
|
||||||
|
Me.optOffen = New System.Windows.Forms.RadioButton()
|
||||||
|
Me.optAlle = New System.Windows.Forms.RadioButton()
|
||||||
|
Me.optFristen = New System.Windows.Forms.RadioButton()
|
||||||
|
Me.chkMeine = New System.Windows.Forms.CheckBox()
|
||||||
|
Me.optAbgeschlossen = New System.Windows.Forms.RadioButton()
|
||||||
|
Me.lblInfo = New System.Windows.Forms.Label()
|
||||||
|
Me.gridAviso = New VERAG_PROG_ALLGEMEIN.MyDatagridview(Me.components)
|
||||||
|
Me.pnlFilter.SuspendLayout()
|
||||||
|
Me.pnlHeader.SuspendLayout()
|
||||||
|
Me.grpSuche.SuspendLayout()
|
||||||
|
Me.grpVerfahren.SuspendLayout()
|
||||||
|
Me.grpOrganisation.SuspendLayout()
|
||||||
|
Me.grpFristen.SuspendLayout()
|
||||||
|
Me.pnlAktionen.SuspendLayout()
|
||||||
|
CType(Me.gridAviso, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
|
Me.SuspendLayout()
|
||||||
|
'
|
||||||
|
'pnlFilter
|
||||||
|
'
|
||||||
|
Me.pnlFilter.BackColor = System.Drawing.Color.FromArgb(CType(CType(47, Byte), Integer), CType(CType(85, Byte), Integer), CType(CType(137, Byte), Integer))
|
||||||
|
Me.pnlFilter.Controls.Add(Me.pnlHeader)
|
||||||
|
Me.pnlFilter.Controls.Add(Me.grpSuche)
|
||||||
|
Me.pnlFilter.Controls.Add(Me.grpVerfahren)
|
||||||
|
Me.pnlFilter.Controls.Add(Me.grpOrganisation)
|
||||||
|
Me.pnlFilter.Controls.Add(Me.grpFristen)
|
||||||
|
Me.pnlFilter.Controls.Add(Me.pnlAktionen)
|
||||||
|
Me.pnlFilter.Dock = System.Windows.Forms.DockStyle.Top
|
||||||
|
Me.pnlFilter.Location = New System.Drawing.Point(0, 0)
|
||||||
|
Me.pnlFilter.Name = "pnlFilter"
|
||||||
|
Me.pnlFilter.Size = New System.Drawing.Size(1243, 272)
|
||||||
|
Me.pnlFilter.TabIndex = 2
|
||||||
|
'
|
||||||
|
'pnlHeader
|
||||||
|
'
|
||||||
|
Me.pnlHeader.BackColor = System.Drawing.Color.FromArgb(CType(CType(27, Byte), Integer), CType(CType(54, Byte), Integer), CType(CType(103, Byte), Integer))
|
||||||
|
Me.pnlHeader.Controls.Add(Me.lblTitel)
|
||||||
|
Me.pnlHeader.Controls.Add(Me.lblUntertitel)
|
||||||
|
Me.pnlHeader.Dock = System.Windows.Forms.DockStyle.Top
|
||||||
|
Me.pnlHeader.Location = New System.Drawing.Point(0, 0)
|
||||||
|
Me.pnlHeader.Name = "pnlHeader"
|
||||||
|
Me.pnlHeader.Size = New System.Drawing.Size(1243, 34)
|
||||||
|
Me.pnlHeader.TabIndex = 0
|
||||||
|
'
|
||||||
|
'lblTitel
|
||||||
|
'
|
||||||
|
Me.lblTitel.AutoSize = True
|
||||||
|
Me.lblTitel.Font = New System.Drawing.Font("Segoe UI", 10.0!, System.Drawing.FontStyle.Bold)
|
||||||
|
Me.lblTitel.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.lblTitel.Location = New System.Drawing.Point(12, 8)
|
||||||
|
Me.lblTitel.Name = "lblTitel"
|
||||||
|
Me.lblTitel.Size = New System.Drawing.Size(100, 19)
|
||||||
|
Me.lblTitel.TabIndex = 0
|
||||||
|
Me.lblTitel.Text = "Zollverfahren"
|
||||||
|
'
|
||||||
|
'lblUntertitel
|
||||||
|
'
|
||||||
|
Me.lblUntertitel.AutoSize = True
|
||||||
|
Me.lblUntertitel.Font = New System.Drawing.Font("Segoe UI", 8.5!)
|
||||||
|
Me.lblUntertitel.ForeColor = System.Drawing.Color.FromArgb(CType(CType(205, Byte), Integer), CType(CType(220, Byte), Integer), CType(CType(241, Byte), Integer))
|
||||||
|
Me.lblUntertitel.Location = New System.Drawing.Point(220, 9)
|
||||||
|
Me.lblUntertitel.Name = "lblUntertitel"
|
||||||
|
Me.lblUntertitel.Size = New System.Drawing.Size(334, 15)
|
||||||
|
Me.lblUntertitel.TabIndex = 1
|
||||||
|
Me.lblUntertitel.Text = "Einsprüche · Berichtigungen · Änderungen · Nachforschungen"
|
||||||
|
'
|
||||||
|
'grpSuche
|
||||||
|
'
|
||||||
|
Me.grpSuche.BackColor = System.Drawing.Color.FromArgb(CType(CType(59, Byte), Integer), CType(CType(96, Byte), Integer), CType(CType(149, Byte), Integer))
|
||||||
|
Me.grpSuche.Controls.Add(Me.lbl_txtSuche)
|
||||||
|
Me.grpSuche.Controls.Add(Me.txtSuche)
|
||||||
|
Me.grpSuche.Controls.Add(Me.lbl_txtMRN)
|
||||||
|
Me.grpSuche.Controls.Add(Me.txtMRN)
|
||||||
|
Me.grpSuche.Controls.Add(Me.lbl_txtGeschaeftszeichen)
|
||||||
|
Me.grpSuche.Controls.Add(Me.txtGeschaeftszeichen)
|
||||||
|
Me.grpSuche.Controls.Add(Me.lbl_txtZollamt)
|
||||||
|
Me.grpSuche.Controls.Add(Me.txtZollamt)
|
||||||
|
Me.grpSuche.Font = New System.Drawing.Font("Segoe UI", 8.5!)
|
||||||
|
Me.grpSuche.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.grpSuche.Location = New System.Drawing.Point(8, 40)
|
||||||
|
Me.grpSuche.Name = "grpSuche"
|
||||||
|
Me.grpSuche.Size = New System.Drawing.Size(596, 92)
|
||||||
|
Me.grpSuche.TabIndex = 1
|
||||||
|
'
|
||||||
|
'lbl_txtSuche
|
||||||
|
'
|
||||||
|
Me.lbl_txtSuche.AutoSize = True
|
||||||
|
Me.lbl_txtSuche.Font = New System.Drawing.Font("Segoe UI", 8.25!)
|
||||||
|
Me.lbl_txtSuche.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.lbl_txtSuche.Location = New System.Drawing.Point(14, 3)
|
||||||
|
Me.lbl_txtSuche.Name = "lbl_txtSuche"
|
||||||
|
Me.lbl_txtSuche.Size = New System.Drawing.Size(83, 13)
|
||||||
|
Me.lbl_txtSuche.TabIndex = 0
|
||||||
|
Me.lbl_txtSuche.Text = "Suche / Betreff"
|
||||||
|
'
|
||||||
|
'txtSuche
|
||||||
|
'
|
||||||
|
Me.txtSuche.Font = New System.Drawing.Font("Segoe UI", 9.0!)
|
||||||
|
Me.txtSuche.Location = New System.Drawing.Point(14, 20)
|
||||||
|
Me.txtSuche.MaxLength = 250
|
||||||
|
Me.txtSuche.Name = "txtSuche"
|
||||||
|
Me.txtSuche.Size = New System.Drawing.Size(275, 23)
|
||||||
|
Me.txtSuche.TabIndex = 0
|
||||||
|
'
|
||||||
|
'lbl_txtMRN
|
||||||
|
'
|
||||||
|
Me.lbl_txtMRN.AutoSize = True
|
||||||
|
Me.lbl_txtMRN.Font = New System.Drawing.Font("Segoe UI", 8.25!)
|
||||||
|
Me.lbl_txtMRN.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.lbl_txtMRN.Location = New System.Drawing.Point(305, 3)
|
||||||
|
Me.lbl_txtMRN.Name = "lbl_txtMRN"
|
||||||
|
Me.lbl_txtMRN.Size = New System.Drawing.Size(32, 13)
|
||||||
|
Me.lbl_txtMRN.TabIndex = 1
|
||||||
|
Me.lbl_txtMRN.Text = "MRN"
|
||||||
|
'
|
||||||
|
'txtMRN
|
||||||
|
'
|
||||||
|
Me.txtMRN.Font = New System.Drawing.Font("Segoe UI", 9.0!)
|
||||||
|
Me.txtMRN.Location = New System.Drawing.Point(305, 20)
|
||||||
|
Me.txtMRN.MaxLength = 35
|
||||||
|
Me.txtMRN.Name = "txtMRN"
|
||||||
|
Me.txtMRN.Size = New System.Drawing.Size(273, 23)
|
||||||
|
Me.txtMRN.TabIndex = 1
|
||||||
|
'
|
||||||
|
'lbl_txtGeschaeftszeichen
|
||||||
|
'
|
||||||
|
Me.lbl_txtGeschaeftszeichen.AutoSize = True
|
||||||
|
Me.lbl_txtGeschaeftszeichen.Font = New System.Drawing.Font("Segoe UI", 8.25!)
|
||||||
|
Me.lbl_txtGeschaeftszeichen.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.lbl_txtGeschaeftszeichen.Location = New System.Drawing.Point(14, 46)
|
||||||
|
Me.lbl_txtGeschaeftszeichen.Name = "lbl_txtGeschaeftszeichen"
|
||||||
|
Me.lbl_txtGeschaeftszeichen.Size = New System.Drawing.Size(96, 13)
|
||||||
|
Me.lbl_txtGeschaeftszeichen.TabIndex = 2
|
||||||
|
Me.lbl_txtGeschaeftszeichen.Text = "Geschäftszeichen"
|
||||||
|
'
|
||||||
|
'txtGeschaeftszeichen
|
||||||
|
'
|
||||||
|
Me.txtGeschaeftszeichen.Font = New System.Drawing.Font("Segoe UI", 9.0!)
|
||||||
|
Me.txtGeschaeftszeichen.Location = New System.Drawing.Point(14, 61)
|
||||||
|
Me.txtGeschaeftszeichen.MaxLength = 100
|
||||||
|
Me.txtGeschaeftszeichen.Name = "txtGeschaeftszeichen"
|
||||||
|
Me.txtGeschaeftszeichen.Size = New System.Drawing.Size(275, 23)
|
||||||
|
Me.txtGeschaeftszeichen.TabIndex = 2
|
||||||
|
'
|
||||||
|
'lbl_txtZollamt
|
||||||
|
'
|
||||||
|
Me.lbl_txtZollamt.AutoSize = True
|
||||||
|
Me.lbl_txtZollamt.Font = New System.Drawing.Font("Segoe UI", 8.25!)
|
||||||
|
Me.lbl_txtZollamt.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.lbl_txtZollamt.Location = New System.Drawing.Point(305, 46)
|
||||||
|
Me.lbl_txtZollamt.Name = "lbl_txtZollamt"
|
||||||
|
Me.lbl_txtZollamt.Size = New System.Drawing.Size(45, 13)
|
||||||
|
Me.lbl_txtZollamt.TabIndex = 3
|
||||||
|
Me.lbl_txtZollamt.Text = "Zollamt"
|
||||||
|
'
|
||||||
|
'txtZollamt
|
||||||
|
'
|
||||||
|
Me.txtZollamt.Font = New System.Drawing.Font("Segoe UI", 9.0!)
|
||||||
|
Me.txtZollamt.Location = New System.Drawing.Point(305, 61)
|
||||||
|
Me.txtZollamt.MaxLength = 150
|
||||||
|
Me.txtZollamt.Name = "txtZollamt"
|
||||||
|
Me.txtZollamt.Size = New System.Drawing.Size(273, 23)
|
||||||
|
Me.txtZollamt.TabIndex = 3
|
||||||
|
'
|
||||||
|
'grpVerfahren
|
||||||
|
'
|
||||||
|
Me.grpVerfahren.BackColor = System.Drawing.Color.FromArgb(CType(CType(59, Byte), Integer), CType(CType(96, Byte), Integer), CType(CType(149, Byte), Integer))
|
||||||
|
Me.grpVerfahren.Controls.Add(Me.lbl_cboTyp)
|
||||||
|
Me.grpVerfahren.Controls.Add(Me.cboTyp)
|
||||||
|
Me.grpVerfahren.Controls.Add(Me.lbl_cboStatus)
|
||||||
|
Me.grpVerfahren.Controls.Add(Me.cboStatus)
|
||||||
|
Me.grpVerfahren.Controls.Add(Me.lbl_cboLand)
|
||||||
|
Me.grpVerfahren.Controls.Add(Me.cboLand)
|
||||||
|
Me.grpVerfahren.Font = New System.Drawing.Font("Segoe UI", 8.5!)
|
||||||
|
Me.grpVerfahren.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.grpVerfahren.Location = New System.Drawing.Point(610, 40)
|
||||||
|
Me.grpVerfahren.Name = "grpVerfahren"
|
||||||
|
Me.grpVerfahren.Size = New System.Drawing.Size(625, 92)
|
||||||
|
Me.grpVerfahren.TabIndex = 2
|
||||||
|
'
|
||||||
|
'lbl_cboTyp
|
||||||
|
'
|
||||||
|
Me.lbl_cboTyp.AutoSize = True
|
||||||
|
Me.lbl_cboTyp.Font = New System.Drawing.Font("Segoe UI", 8.25!)
|
||||||
|
Me.lbl_cboTyp.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.lbl_cboTyp.Location = New System.Drawing.Point(14, 3)
|
||||||
|
Me.lbl_cboTyp.Name = "lbl_cboTyp"
|
||||||
|
Me.lbl_cboTyp.Size = New System.Drawing.Size(76, 13)
|
||||||
|
Me.lbl_cboTyp.TabIndex = 0
|
||||||
|
Me.lbl_cboTyp.Text = "Verfahrensart"
|
||||||
|
'
|
||||||
|
'cboTyp
|
||||||
|
'
|
||||||
|
Me.cboTyp.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
|
||||||
|
Me.cboTyp.Font = New System.Drawing.Font("Segoe UI", 9.0!)
|
||||||
|
Me.cboTyp.IntegralHeight = False
|
||||||
|
Me.cboTyp.Location = New System.Drawing.Point(14, 20)
|
||||||
|
Me.cboTyp.Name = "cboTyp"
|
||||||
|
Me.cboTyp.Size = New System.Drawing.Size(282, 23)
|
||||||
|
Me.cboTyp.TabIndex = 4
|
||||||
|
'
|
||||||
|
'lbl_cboStatus
|
||||||
|
'
|
||||||
|
Me.lbl_cboStatus.AutoSize = True
|
||||||
|
Me.lbl_cboStatus.Font = New System.Drawing.Font("Segoe UI", 8.25!)
|
||||||
|
Me.lbl_cboStatus.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.lbl_cboStatus.Location = New System.Drawing.Point(310, 3)
|
||||||
|
Me.lbl_cboStatus.Name = "lbl_cboStatus"
|
||||||
|
Me.lbl_cboStatus.Size = New System.Drawing.Size(62, 13)
|
||||||
|
Me.lbl_cboStatus.TabIndex = 5
|
||||||
|
Me.lbl_cboStatus.Text = "Fachstatus"
|
||||||
|
'
|
||||||
|
'cboStatus
|
||||||
|
'
|
||||||
|
Me.cboStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
|
||||||
|
Me.cboStatus.Font = New System.Drawing.Font("Segoe UI", 9.0!)
|
||||||
|
Me.cboStatus.IntegralHeight = False
|
||||||
|
Me.cboStatus.Location = New System.Drawing.Point(310, 20)
|
||||||
|
Me.cboStatus.Name = "cboStatus"
|
||||||
|
Me.cboStatus.Size = New System.Drawing.Size(286, 23)
|
||||||
|
Me.cboStatus.TabIndex = 5
|
||||||
|
'
|
||||||
|
'lbl_cboLand
|
||||||
|
'
|
||||||
|
Me.lbl_cboLand.AutoSize = True
|
||||||
|
Me.lbl_cboLand.Font = New System.Drawing.Font("Segoe UI", 8.25!)
|
||||||
|
Me.lbl_cboLand.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.lbl_cboLand.Location = New System.Drawing.Point(14, 46)
|
||||||
|
Me.lbl_cboLand.Name = "lbl_cboLand"
|
||||||
|
Me.lbl_cboLand.Size = New System.Drawing.Size(85, 13)
|
||||||
|
Me.lbl_cboLand.TabIndex = 6
|
||||||
|
Me.lbl_cboLand.Text = "Verfahrensland"
|
||||||
|
'
|
||||||
|
'cboLand
|
||||||
|
'
|
||||||
|
Me.cboLand.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
|
||||||
|
Me.cboLand.Font = New System.Drawing.Font("Segoe UI", 9.0!)
|
||||||
|
Me.cboLand.IntegralHeight = False
|
||||||
|
Me.cboLand.Location = New System.Drawing.Point(14, 61)
|
||||||
|
Me.cboLand.Name = "cboLand"
|
||||||
|
Me.cboLand.Size = New System.Drawing.Size(282, 23)
|
||||||
|
Me.cboLand.TabIndex = 6
|
||||||
|
'
|
||||||
|
'grpOrganisation
|
||||||
|
'
|
||||||
|
Me.grpOrganisation.BackColor = System.Drawing.Color.FromArgb(CType(CType(59, Byte), Integer), CType(CType(96, Byte), Integer), CType(CType(149, Byte), Integer))
|
||||||
|
Me.grpOrganisation.Controls.Add(Me.lbl_txtKunde)
|
||||||
|
Me.grpOrganisation.Controls.Add(Me.txtKunde)
|
||||||
|
Me.grpOrganisation.Controls.Add(Me.lbl_cboTeam)
|
||||||
|
Me.grpOrganisation.Controls.Add(Me.cboTeam)
|
||||||
|
Me.grpOrganisation.Controls.Add(Me.lbl_txtSendungID)
|
||||||
|
Me.grpOrganisation.Controls.Add(Me.txtSendungID)
|
||||||
|
Me.grpOrganisation.Font = New System.Drawing.Font("Segoe UI", 8.5!)
|
||||||
|
Me.grpOrganisation.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.grpOrganisation.Location = New System.Drawing.Point(8, 138)
|
||||||
|
Me.grpOrganisation.Name = "grpOrganisation"
|
||||||
|
Me.grpOrganisation.Size = New System.Drawing.Size(596, 92)
|
||||||
|
Me.grpOrganisation.TabIndex = 3
|
||||||
|
'
|
||||||
|
'lbl_txtKunde
|
||||||
|
'
|
||||||
|
Me.lbl_txtKunde.AutoSize = True
|
||||||
|
Me.lbl_txtKunde.Font = New System.Drawing.Font("Segoe UI", 8.25!)
|
||||||
|
Me.lbl_txtKunde.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.lbl_txtKunde.Location = New System.Drawing.Point(14, 3)
|
||||||
|
Me.lbl_txtKunde.Name = "lbl_txtKunde"
|
||||||
|
Me.lbl_txtKunde.Size = New System.Drawing.Size(76, 13)
|
||||||
|
Me.lbl_txtKunde.TabIndex = 0
|
||||||
|
Me.lbl_txtKunde.Text = "Auftraggeber"
|
||||||
|
'
|
||||||
|
'txtKunde
|
||||||
|
'
|
||||||
|
Me.txtKunde.Font = New System.Drawing.Font("Segoe UI", 9.0!)
|
||||||
|
Me.txtKunde.Location = New System.Drawing.Point(14, 20)
|
||||||
|
Me.txtKunde.MaxLength = 250
|
||||||
|
Me.txtKunde.Name = "txtKunde"
|
||||||
|
Me.txtKunde.Size = New System.Drawing.Size(370, 23)
|
||||||
|
Me.txtKunde.TabIndex = 7
|
||||||
|
'
|
||||||
|
'lbl_cboTeam
|
||||||
|
'
|
||||||
|
Me.lbl_cboTeam.AutoSize = True
|
||||||
|
Me.lbl_cboTeam.Font = New System.Drawing.Font("Segoe UI", 8.25!)
|
||||||
|
Me.lbl_cboTeam.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.lbl_cboTeam.Location = New System.Drawing.Point(398, 3)
|
||||||
|
Me.lbl_cboTeam.Name = "lbl_cboTeam"
|
||||||
|
Me.lbl_cboTeam.Size = New System.Drawing.Size(32, 13)
|
||||||
|
Me.lbl_cboTeam.TabIndex = 8
|
||||||
|
Me.lbl_cboTeam.Text = "Team"
|
||||||
|
'
|
||||||
|
'cboTeam
|
||||||
|
'
|
||||||
|
Me.cboTeam.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
|
||||||
|
Me.cboTeam.Font = New System.Drawing.Font("Segoe UI", 9.0!)
|
||||||
|
Me.cboTeam.IntegralHeight = False
|
||||||
|
Me.cboTeam.Location = New System.Drawing.Point(398, 20)
|
||||||
|
Me.cboTeam.Name = "cboTeam"
|
||||||
|
Me.cboTeam.Size = New System.Drawing.Size(180, 23)
|
||||||
|
Me.cboTeam.TabIndex = 8
|
||||||
|
'
|
||||||
|
'lbl_txtSendungID
|
||||||
|
'
|
||||||
|
Me.lbl_txtSendungID.AutoSize = True
|
||||||
|
Me.lbl_txtSendungID.Font = New System.Drawing.Font("Segoe UI", 8.25!)
|
||||||
|
Me.lbl_txtSendungID.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.lbl_txtSendungID.Location = New System.Drawing.Point(14, 46)
|
||||||
|
Me.lbl_txtSendungID.Name = "lbl_txtSendungID"
|
||||||
|
Me.lbl_txtSendungID.Size = New System.Drawing.Size(69, 13)
|
||||||
|
Me.lbl_txtSendungID.TabIndex = 9
|
||||||
|
Me.lbl_txtSendungID.Text = "Sendung-ID"
|
||||||
|
'
|
||||||
|
'txtSendungID
|
||||||
|
'
|
||||||
|
Me.txtSendungID.Font = New System.Drawing.Font("Segoe UI", 9.0!)
|
||||||
|
Me.txtSendungID.Location = New System.Drawing.Point(14, 61)
|
||||||
|
Me.txtSendungID.MaxLength = 15
|
||||||
|
Me.txtSendungID.Name = "txtSendungID"
|
||||||
|
Me.txtSendungID.Size = New System.Drawing.Size(185, 23)
|
||||||
|
Me.txtSendungID.TabIndex = 9
|
||||||
|
'
|
||||||
|
'grpFristen
|
||||||
|
'
|
||||||
|
Me.grpFristen.BackColor = System.Drawing.Color.FromArgb(CType(CType(59, Byte), Integer), CType(CType(96, Byte), Integer), CType(CType(149, Byte), Integer))
|
||||||
|
Me.grpFristen.Controls.Add(Me.lbl_dtFristVon)
|
||||||
|
Me.grpFristen.Controls.Add(Me.dtFristVon)
|
||||||
|
Me.grpFristen.Controls.Add(Me.lbl_dtFristBis)
|
||||||
|
Me.grpFristen.Controls.Add(Me.dtFristBis)
|
||||||
|
Me.grpFristen.Font = New System.Drawing.Font("Segoe UI", 8.5!)
|
||||||
|
Me.grpFristen.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.grpFristen.Location = New System.Drawing.Point(610, 138)
|
||||||
|
Me.grpFristen.Name = "grpFristen"
|
||||||
|
Me.grpFristen.Size = New System.Drawing.Size(625, 92)
|
||||||
|
Me.grpFristen.TabIndex = 4
|
||||||
|
'
|
||||||
|
'lbl_dtFristVon
|
||||||
|
'
|
||||||
|
Me.lbl_dtFristVon.AutoSize = True
|
||||||
|
Me.lbl_dtFristVon.Font = New System.Drawing.Font("Segoe UI", 8.25!)
|
||||||
|
Me.lbl_dtFristVon.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.lbl_dtFristVon.Location = New System.Drawing.Point(14, 3)
|
||||||
|
Me.lbl_dtFristVon.Name = "lbl_dtFristVon"
|
||||||
|
Me.lbl_dtFristVon.Size = New System.Drawing.Size(51, 13)
|
||||||
|
Me.lbl_dtFristVon.TabIndex = 0
|
||||||
|
Me.lbl_dtFristVon.Text = "Frist von"
|
||||||
|
'
|
||||||
|
'dtFristVon
|
||||||
|
'
|
||||||
|
Me.dtFristVon.Checked = False
|
||||||
|
Me.dtFristVon.Font = New System.Drawing.Font("Segoe UI", 9.0!)
|
||||||
|
Me.dtFristVon.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
|
||||||
|
Me.dtFristVon.Location = New System.Drawing.Point(14, 20)
|
||||||
|
Me.dtFristVon.Name = "dtFristVon"
|
||||||
|
Me.dtFristVon.ShowCheckBox = True
|
||||||
|
Me.dtFristVon.Size = New System.Drawing.Size(282, 23)
|
||||||
|
Me.dtFristVon.TabIndex = 10
|
||||||
|
'
|
||||||
|
'lbl_dtFristBis
|
||||||
|
'
|
||||||
|
Me.lbl_dtFristBis.AutoSize = True
|
||||||
|
Me.lbl_dtFristBis.Font = New System.Drawing.Font("Segoe UI", 8.25!)
|
||||||
|
Me.lbl_dtFristBis.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.lbl_dtFristBis.Location = New System.Drawing.Point(14, 44)
|
||||||
|
Me.lbl_dtFristBis.Name = "lbl_dtFristBis"
|
||||||
|
Me.lbl_dtFristBis.Size = New System.Drawing.Size(47, 13)
|
||||||
|
Me.lbl_dtFristBis.TabIndex = 11
|
||||||
|
Me.lbl_dtFristBis.Text = "Frist bis"
|
||||||
|
'
|
||||||
|
'dtFristBis
|
||||||
|
'
|
||||||
|
Me.dtFristBis.Checked = False
|
||||||
|
Me.dtFristBis.Font = New System.Drawing.Font("Segoe UI", 9.0!)
|
||||||
|
Me.dtFristBis.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
|
||||||
|
Me.dtFristBis.Location = New System.Drawing.Point(14, 61)
|
||||||
|
Me.dtFristBis.Name = "dtFristBis"
|
||||||
|
Me.dtFristBis.ShowCheckBox = True
|
||||||
|
Me.dtFristBis.Size = New System.Drawing.Size(286, 23)
|
||||||
|
Me.dtFristBis.TabIndex = 11
|
||||||
|
'
|
||||||
|
'pnlAktionen
|
||||||
|
'
|
||||||
|
Me.pnlAktionen.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
|
||||||
|
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.pnlAktionen.BackColor = System.Drawing.Color.FromArgb(CType(CType(47, Byte), Integer), CType(CType(85, Byte), Integer), CType(CType(137, Byte), Integer))
|
||||||
|
Me.pnlAktionen.Controls.Add(Me.btnNeu)
|
||||||
|
Me.pnlAktionen.Controls.Add(Me.btnSuchen)
|
||||||
|
Me.pnlAktionen.Controls.Add(Me.lblAnsicht)
|
||||||
|
Me.pnlAktionen.Controls.Add(Me.optOffen)
|
||||||
|
Me.pnlAktionen.Controls.Add(Me.optAlle)
|
||||||
|
Me.pnlAktionen.Controls.Add(Me.optFristen)
|
||||||
|
Me.pnlAktionen.Controls.Add(Me.chkMeine)
|
||||||
|
Me.pnlAktionen.Controls.Add(Me.optAbgeschlossen)
|
||||||
|
Me.pnlAktionen.Location = New System.Drawing.Point(8, 236)
|
||||||
|
Me.pnlAktionen.Name = "pnlAktionen"
|
||||||
|
Me.pnlAktionen.Size = New System.Drawing.Size(1227, 31)
|
||||||
|
Me.pnlAktionen.TabIndex = 5
|
||||||
|
'
|
||||||
|
'btnNeu
|
||||||
|
'
|
||||||
|
Me.btnNeu.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.btnNeu.BackColor = System.Drawing.Color.White
|
||||||
|
Me.btnNeu.FlatAppearance.BorderSize = 0
|
||||||
|
Me.btnNeu.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||||
|
Me.btnNeu.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold)
|
||||||
|
Me.btnNeu.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(54, Byte), Integer), CType(CType(128, Byte), Integer))
|
||||||
|
Me.btnNeu.Location = New System.Drawing.Point(944, 0)
|
||||||
|
Me.btnNeu.Name = "btnNeu"
|
||||||
|
Me.btnNeu.Size = New System.Drawing.Size(154, 30)
|
||||||
|
Me.btnNeu.TabIndex = 8
|
||||||
|
Me.btnNeu.Text = "Neuer Antrag"
|
||||||
|
Me.btnNeu.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'btnSuchen
|
||||||
|
'
|
||||||
|
Me.btnSuchen.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.btnSuchen.BackColor = System.Drawing.Color.FromArgb(CType(CType(35, Byte), Integer), CType(CType(85, Byte), Integer), CType(CType(155, Byte), Integer))
|
||||||
|
Me.btnSuchen.FlatAppearance.BorderSize = 0
|
||||||
|
Me.btnSuchen.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||||
|
Me.btnSuchen.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold)
|
||||||
|
Me.btnSuchen.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.btnSuchen.Location = New System.Drawing.Point(1104, 0)
|
||||||
|
Me.btnSuchen.Name = "btnSuchen"
|
||||||
|
Me.btnSuchen.Size = New System.Drawing.Size(123, 30)
|
||||||
|
Me.btnSuchen.TabIndex = 7
|
||||||
|
Me.btnSuchen.Text = "Suchen"
|
||||||
|
Me.btnSuchen.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'lblAnsicht
|
||||||
|
'
|
||||||
|
Me.lblAnsicht.AutoSize = True
|
||||||
|
Me.lblAnsicht.Font = New System.Drawing.Font("Segoe UI", 8.0!, System.Drawing.FontStyle.Bold)
|
||||||
|
Me.lblAnsicht.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.lblAnsicht.Location = New System.Drawing.Point(4, 9)
|
||||||
|
Me.lblAnsicht.Name = "lblAnsicht"
|
||||||
|
Me.lblAnsicht.Size = New System.Drawing.Size(54, 13)
|
||||||
|
Me.lblAnsicht.TabIndex = 0
|
||||||
|
Me.lblAnsicht.Text = "ANSICHT"
|
||||||
|
'
|
||||||
|
'optOffen
|
||||||
|
'
|
||||||
|
Me.optOffen.Appearance = System.Windows.Forms.Appearance.Button
|
||||||
|
Me.optOffen.BackColor = System.Drawing.Color.FromArgb(CType(CType(39, Byte), Integer), CType(CType(89, Byte), Integer), CType(CType(158, Byte), Integer))
|
||||||
|
Me.optOffen.Checked = True
|
||||||
|
Me.optOffen.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(CType(CType(210, Byte), Integer), CType(CType(220, Byte), Integer), CType(CType(234, Byte), Integer))
|
||||||
|
Me.optOffen.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||||
|
Me.optOffen.Font = New System.Drawing.Font("Segoe UI", 8.0!)
|
||||||
|
Me.optOffen.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.optOffen.Location = New System.Drawing.Point(60, 2)
|
||||||
|
Me.optOffen.Name = "optOffen"
|
||||||
|
Me.optOffen.Size = New System.Drawing.Size(90, 27)
|
||||||
|
Me.optOffen.TabIndex = 1
|
||||||
|
Me.optOffen.TabStop = True
|
||||||
|
Me.optOffen.Text = "Offen"
|
||||||
|
Me.optOffen.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||||
|
Me.optOffen.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'optAlle
|
||||||
|
'
|
||||||
|
Me.optAlle.Appearance = System.Windows.Forms.Appearance.Button
|
||||||
|
Me.optAlle.BackColor = System.Drawing.Color.FromArgb(CType(CType(225, Byte), Integer), CType(CType(232, Byte), Integer), CType(CType(242, Byte), Integer))
|
||||||
|
Me.optAlle.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(CType(CType(210, Byte), Integer), CType(CType(220, Byte), Integer), CType(CType(234, Byte), Integer))
|
||||||
|
Me.optAlle.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||||
|
Me.optAlle.Font = New System.Drawing.Font("Segoe UI", 8.0!)
|
||||||
|
Me.optAlle.ForeColor = System.Drawing.Color.FromArgb(CType(CType(45, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(96, Byte), Integer))
|
||||||
|
Me.optAlle.Location = New System.Drawing.Point(153, 2)
|
||||||
|
Me.optAlle.Name = "optAlle"
|
||||||
|
Me.optAlle.Size = New System.Drawing.Size(76, 27)
|
||||||
|
Me.optAlle.TabIndex = 2
|
||||||
|
Me.optAlle.Text = "Alle"
|
||||||
|
Me.optAlle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||||
|
Me.optAlle.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'optFristen
|
||||||
|
'
|
||||||
|
Me.optFristen.Appearance = System.Windows.Forms.Appearance.Button
|
||||||
|
Me.optFristen.BackColor = System.Drawing.Color.FromArgb(CType(CType(225, Byte), Integer), CType(CType(232, Byte), Integer), CType(CType(242, Byte), Integer))
|
||||||
|
Me.optFristen.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(CType(CType(210, Byte), Integer), CType(CType(220, Byte), Integer), CType(CType(234, Byte), Integer))
|
||||||
|
Me.optFristen.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||||
|
Me.optFristen.Font = New System.Drawing.Font("Segoe UI", 8.0!)
|
||||||
|
Me.optFristen.ForeColor = System.Drawing.Color.FromArgb(CType(CType(45, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(96, Byte), Integer))
|
||||||
|
Me.optFristen.Location = New System.Drawing.Point(232, 2)
|
||||||
|
Me.optFristen.Name = "optFristen"
|
||||||
|
Me.optFristen.Size = New System.Drawing.Size(90, 27)
|
||||||
|
Me.optFristen.TabIndex = 3
|
||||||
|
Me.optFristen.Text = "Fristen"
|
||||||
|
Me.optFristen.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||||
|
Me.optFristen.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'chkMeine
|
||||||
|
'
|
||||||
|
Me.chkMeine.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
|
Me.chkMeine.AutoSize = True
|
||||||
|
Me.chkMeine.Checked = True
|
||||||
|
Me.chkMeine.CheckState = System.Windows.Forms.CheckState.Checked
|
||||||
|
Me.chkMeine.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.chkMeine.Location = New System.Drawing.Point(820, 7)
|
||||||
|
Me.chkMeine.Name = "chkMeine"
|
||||||
|
Me.chkMeine.Size = New System.Drawing.Size(93, 19)
|
||||||
|
Me.chkMeine.TabIndex = 6
|
||||||
|
Me.chkMeine.Text = "Meine Akten"
|
||||||
|
'
|
||||||
|
'optAbgeschlossen
|
||||||
|
'
|
||||||
|
Me.optAbgeschlossen.Appearance = System.Windows.Forms.Appearance.Button
|
||||||
|
Me.optAbgeschlossen.BackColor = System.Drawing.Color.FromArgb(CType(CType(225, Byte), Integer), CType(CType(232, Byte), Integer), CType(CType(242, Byte), Integer))
|
||||||
|
Me.optAbgeschlossen.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(CType(CType(210, Byte), Integer), CType(CType(220, Byte), Integer), CType(CType(234, Byte), Integer))
|
||||||
|
Me.optAbgeschlossen.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||||
|
Me.optAbgeschlossen.Font = New System.Drawing.Font("Segoe UI", 8.0!)
|
||||||
|
Me.optAbgeschlossen.ForeColor = System.Drawing.Color.FromArgb(CType(CType(45, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(96, Byte), Integer))
|
||||||
|
Me.optAbgeschlossen.Location = New System.Drawing.Point(325, 2)
|
||||||
|
Me.optAbgeschlossen.Name = "optAbgeschlossen"
|
||||||
|
Me.optAbgeschlossen.Size = New System.Drawing.Size(151, 27)
|
||||||
|
Me.optAbgeschlossen.TabIndex = 4
|
||||||
|
Me.optAbgeschlossen.Text = "Abgeschlossen"
|
||||||
|
Me.optAbgeschlossen.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
|
||||||
|
Me.optAbgeschlossen.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
|
'lblInfo
|
||||||
|
'
|
||||||
|
Me.lblInfo.BackColor = System.Drawing.Color.FromArgb(CType(CType(231, Byte), Integer), CType(CType(237, Byte), Integer), CType(CType(246, Byte), Integer))
|
||||||
|
Me.lblInfo.Dock = System.Windows.Forms.DockStyle.Bottom
|
||||||
|
Me.lblInfo.ForeColor = System.Drawing.Color.FromArgb(CType(CType(45, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(96, Byte), Integer))
|
||||||
|
Me.lblInfo.Location = New System.Drawing.Point(0, 653)
|
||||||
|
Me.lblInfo.Name = "lblInfo"
|
||||||
|
Me.lblInfo.Padding = New System.Windows.Forms.Padding(10, 0, 0, 0)
|
||||||
|
Me.lblInfo.Size = New System.Drawing.Size(1243, 27)
|
||||||
|
Me.lblInfo.TabIndex = 1
|
||||||
|
Me.lblInfo.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
|
||||||
|
'
|
||||||
|
'gridAviso
|
||||||
|
'
|
||||||
|
Me.gridAviso.AKTUALISIERUNGS_INTERVALL = -1
|
||||||
|
Me.gridAviso.AllowUserToAddRows = False
|
||||||
|
Me.gridAviso.AllowUserToDeleteRows = False
|
||||||
|
DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(245, Byte), Integer), CType(CType(248, Byte), Integer), CType(CType(253, Byte), Integer))
|
||||||
|
Me.gridAviso.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
|
||||||
|
Me.gridAviso.BackgroundColor = System.Drawing.Color.FromArgb(CType(CType(247, Byte), Integer), CType(CType(249, Byte), Integer), CType(CType(252, Byte), Integer))
|
||||||
|
Me.gridAviso.BorderStyle = System.Windows.Forms.BorderStyle.None
|
||||||
|
DataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
||||||
|
DataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(232, Byte), Integer), CType(CType(243, Byte), Integer))
|
||||||
|
DataGridViewCellStyle2.Font = New System.Drawing.Font("Segoe UI", 9.0!)
|
||||||
|
DataGridViewCellStyle2.ForeColor = System.Drawing.Color.FromArgb(CType(CType(27, Byte), Integer), CType(CType(54, Byte), Integer), CType(CType(103, Byte), Integer))
|
||||||
|
DataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight
|
||||||
|
DataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText
|
||||||
|
DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
|
||||||
|
Me.gridAviso.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle2
|
||||||
|
Me.gridAviso.ColumnHeadersHeight = 30
|
||||||
|
DataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
|
||||||
|
DataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window
|
||||||
|
DataGridViewCellStyle3.Font = New System.Drawing.Font("Segoe UI", 9.0!)
|
||||||
|
DataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText
|
||||||
|
DataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(CType(CType(207, Byte), Integer), CType(CType(225, Byte), Integer), CType(CType(249, Byte), Integer))
|
||||||
|
DataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(CType(CType(27, Byte), Integer), CType(CType(54, Byte), Integer), CType(CType(103, Byte), Integer))
|
||||||
|
DataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
|
||||||
|
Me.gridAviso.DefaultCellStyle = DataGridViewCellStyle3
|
||||||
|
Me.gridAviso.Dock = System.Windows.Forms.DockStyle.Fill
|
||||||
|
Me.gridAviso.EnableHeadersVisualStyles = False
|
||||||
|
Me.gridAviso.Location = New System.Drawing.Point(0, 272)
|
||||||
|
Me.gridAviso.MultiSelect = False
|
||||||
|
Me.gridAviso.Name = "gridAviso"
|
||||||
|
Me.gridAviso.ReadOnly = True
|
||||||
|
Me.gridAviso.RowHeadersVisible = False
|
||||||
|
Me.gridAviso.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
|
||||||
|
Me.gridAviso.Size = New System.Drawing.Size(1243, 381)
|
||||||
|
Me.gridAviso.TabIndex = 0
|
||||||
|
'
|
||||||
|
'usrCntlHauptfenster_Suche_Zollvorgaenge
|
||||||
|
'
|
||||||
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 15.0!)
|
||||||
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||||
|
Me.BackColor = System.Drawing.Color.FromArgb(CType(CType(47, Byte), Integer), CType(CType(85, Byte), Integer), CType(CType(137, Byte), Integer))
|
||||||
|
Me.Controls.Add(Me.gridAviso)
|
||||||
|
Me.Controls.Add(Me.lblInfo)
|
||||||
|
Me.Controls.Add(Me.pnlFilter)
|
||||||
|
Me.Font = New System.Drawing.Font("Segoe UI", 9.0!)
|
||||||
|
Me.Name = "usrCntlHauptfenster_Suche_Zollvorgaenge"
|
||||||
|
Me.Size = New System.Drawing.Size(1243, 680)
|
||||||
|
Me.pnlFilter.ResumeLayout(False)
|
||||||
|
Me.pnlHeader.ResumeLayout(False)
|
||||||
|
Me.pnlHeader.PerformLayout()
|
||||||
|
Me.grpSuche.ResumeLayout(False)
|
||||||
|
Me.grpSuche.PerformLayout()
|
||||||
|
Me.grpVerfahren.ResumeLayout(False)
|
||||||
|
Me.grpVerfahren.PerformLayout()
|
||||||
|
Me.grpOrganisation.ResumeLayout(False)
|
||||||
|
Me.grpOrganisation.PerformLayout()
|
||||||
|
Me.grpFristen.ResumeLayout(False)
|
||||||
|
Me.grpFristen.PerformLayout()
|
||||||
|
Me.pnlAktionen.ResumeLayout(False)
|
||||||
|
Me.pnlAktionen.PerformLayout()
|
||||||
|
CType(Me.gridAviso, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
|
Me.ResumeLayout(False)
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Friend WithEvents pnlFilter As System.Windows.Forms.Panel
|
||||||
|
Friend WithEvents pnlHeader As System.Windows.Forms.Panel
|
||||||
|
Friend WithEvents pnlAktionen As System.Windows.Forms.Panel
|
||||||
|
Friend WithEvents grpSuche As System.Windows.Forms.Panel
|
||||||
|
Friend WithEvents grpVerfahren As System.Windows.Forms.Panel
|
||||||
|
Friend WithEvents grpOrganisation As System.Windows.Forms.Panel
|
||||||
|
Friend WithEvents grpFristen As System.Windows.Forms.Panel
|
||||||
|
Friend WithEvents lblTitel As System.Windows.Forms.Label
|
||||||
|
Friend WithEvents lblUntertitel As System.Windows.Forms.Label
|
||||||
|
Friend WithEvents lblAnsicht As System.Windows.Forms.Label
|
||||||
|
Friend WithEvents lblInfo As System.Windows.Forms.Label
|
||||||
|
Friend WithEvents optOffen As System.Windows.Forms.RadioButton
|
||||||
|
Friend WithEvents optAlle As System.Windows.Forms.RadioButton
|
||||||
|
Friend WithEvents optFristen As System.Windows.Forms.RadioButton
|
||||||
|
Friend WithEvents optAbgeschlossen As System.Windows.Forms.RadioButton
|
||||||
|
Friend WithEvents chkMeine As System.Windows.Forms.CheckBox
|
||||||
|
Friend WithEvents btnSuchen As System.Windows.Forms.Button
|
||||||
|
Friend WithEvents btnNeu As System.Windows.Forms.Button
|
||||||
|
Friend WithEvents gridAviso As VERAG_PROG_ALLGEMEIN.MyDatagridview
|
||||||
|
Friend WithEvents txtSuche As System.Windows.Forms.TextBox
|
||||||
|
Friend WithEvents txtMRN As System.Windows.Forms.TextBox
|
||||||
|
Friend WithEvents txtGeschaeftszeichen As System.Windows.Forms.TextBox
|
||||||
|
Friend WithEvents txtZollamt As System.Windows.Forms.TextBox
|
||||||
|
Friend WithEvents txtKunde As System.Windows.Forms.TextBox
|
||||||
|
Friend WithEvents txtSendungID As System.Windows.Forms.TextBox
|
||||||
|
Friend WithEvents cboTyp As System.Windows.Forms.ComboBox
|
||||||
|
Friend WithEvents cboStatus As System.Windows.Forms.ComboBox
|
||||||
|
Friend WithEvents cboLand As System.Windows.Forms.ComboBox
|
||||||
|
Friend WithEvents cboTeam As System.Windows.Forms.ComboBox
|
||||||
|
Friend WithEvents dtFristVon As System.Windows.Forms.DateTimePicker
|
||||||
|
Friend WithEvents dtFristBis As System.Windows.Forms.DateTimePicker
|
||||||
|
Friend WithEvents lbl_txtSuche As System.Windows.Forms.Label
|
||||||
|
Friend WithEvents lbl_txtMRN As System.Windows.Forms.Label
|
||||||
|
Friend WithEvents lbl_txtGeschaeftszeichen As System.Windows.Forms.Label
|
||||||
|
Friend WithEvents lbl_txtZollamt As System.Windows.Forms.Label
|
||||||
|
Friend WithEvents lbl_txtKunde As System.Windows.Forms.Label
|
||||||
|
Friend WithEvents lbl_txtSendungID As System.Windows.Forms.Label
|
||||||
|
Friend WithEvents lbl_cboTyp As System.Windows.Forms.Label
|
||||||
|
Friend WithEvents lbl_cboStatus As System.Windows.Forms.Label
|
||||||
|
Friend WithEvents lbl_cboLand As System.Windows.Forms.Label
|
||||||
|
Friend WithEvents lbl_cboTeam As System.Windows.Forms.Label
|
||||||
|
Friend WithEvents lbl_dtFristVon As System.Windows.Forms.Label
|
||||||
|
Friend WithEvents lbl_dtFristBis As System.Windows.Forms.Label
|
||||||
|
End Class
|
||||||
120
Aviso/Hauptfenster/usrCntlHauptfenster_Suche_Zollvorgaenge.resx
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
291
Aviso/Hauptfenster/usrCntlHauptfenster_Suche_Zollvorgaenge.vb
Normal file
@@ -0,0 +1,291 @@
|
|||||||
|
Imports System.Data
|
||||||
|
Imports System.Windows.Forms
|
||||||
|
Imports VERAG_PROG_ALLGEMEIN
|
||||||
|
|
||||||
|
'Zollverfahren & Anträge – Suche auf Sendungsebene, unabhängig von AvisoID.
|
||||||
|
Public Class usrCntlHauptfenster_Suche_Zollvorgaenge
|
||||||
|
Public Event CaseOpenRequested(sendungId As Integer, avisoId As Integer)
|
||||||
|
Public Event CaseNewRequested()
|
||||||
|
Public aktiv As Boolean = False
|
||||||
|
Public PARENT_FRMHAUPTFENSTER As frmHauptfensterNew
|
||||||
|
Private ReadOnly VERAGSQL As New VERAG_PROG_ALLGEMEIN.SQL
|
||||||
|
Private _loading As Boolean = False
|
||||||
|
Private _initialized As Boolean = False
|
||||||
|
|
||||||
|
Private Class ComboItem
|
||||||
|
Public Property Text As String
|
||||||
|
Public Property Value As String
|
||||||
|
Public Sub New(t As String, v As String)
|
||||||
|
Text = t : Value = v
|
||||||
|
End Sub
|
||||||
|
Public Overrides Function ToString() As String
|
||||||
|
Return Text
|
||||||
|
End Function
|
||||||
|
End Class
|
||||||
|
|
||||||
|
Private Sub AddItem(cbo As ComboBox, label As String, value As String)
|
||||||
|
cbo.Items.Add(New ComboItem(label, value))
|
||||||
|
End Sub
|
||||||
|
Private Function Selected(cbo As ComboBox) As String
|
||||||
|
Dim item = TryCast(cbo.SelectedItem, ComboItem)
|
||||||
|
Return If(item Is Nothing, "", item.Value)
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Private Sub usrCntlHauptfenster_Suche_Zollvorgaenge_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||||
|
If _initialized Then Exit Sub
|
||||||
|
_initialized = True
|
||||||
|
_loading = True
|
||||||
|
Try
|
||||||
|
cboTyp.Items.Clear()
|
||||||
|
AddItem(cboTyp, "Alle Verfahren", "")
|
||||||
|
AddItem(cboTyp, "Einspruch / Beschwerde", "1")
|
||||||
|
AddItem(cboTyp, "NCTS-Nachforschung", "2")
|
||||||
|
AddItem(cboTyp, "NCTS-Unstimmigkeit", "3")
|
||||||
|
AddItem(cboTyp, "Zollamtliche Anfrage", "4")
|
||||||
|
AddItem(cboTyp, "Berichtigung / Nachbesserung", "5")
|
||||||
|
AddItem(cboTyp, "Änderungsantrag", "6")
|
||||||
|
AddItem(cboTyp, "Erstattung / Erlass", "7")
|
||||||
|
AddItem(cboTyp, "Abgabenbescheid", "8")
|
||||||
|
AddItem(cboTyp, "Mahn-/Vollstreckungsverfahren", "9")
|
||||||
|
AddItem(cboTyp, "Sonstiges", "10")
|
||||||
|
cboTyp.SelectedIndex = 0
|
||||||
|
|
||||||
|
cboStatus.Items.Clear()
|
||||||
|
AddItem(cboStatus, "Alle Status", "")
|
||||||
|
AddItem(cboStatus, "Neu", "0")
|
||||||
|
AddItem(cboStatus, "In Bearbeitung", "1")
|
||||||
|
AddItem(cboStatus, "Unterlagen ausständig", "2")
|
||||||
|
AddItem(cboStatus, "Rückmeldung Zoll ausständig", "3")
|
||||||
|
AddItem(cboStatus, "Entscheidung eingegangen", "4")
|
||||||
|
AddItem(cboStatus, "Erledigt", "5")
|
||||||
|
AddItem(cboStatus, "Geschlossen", "6")
|
||||||
|
cboStatus.SelectedIndex = 0
|
||||||
|
|
||||||
|
cboLand.Items.Clear()
|
||||||
|
AddItem(cboLand, "Alle Länder", "")
|
||||||
|
For Each land In {"AT", "DE", "NL", "IT", "FR", "UK", "TR"}
|
||||||
|
AddItem(cboLand, land, land)
|
||||||
|
Next
|
||||||
|
cboLand.SelectedIndex = 0
|
||||||
|
|
||||||
|
cboTeam.Items.Clear()
|
||||||
|
AddItem(cboTeam, "Alle Teams", "")
|
||||||
|
Dim dt = VERAGSQL.loadDgvBySql("SELECT team_id, team_bezeichnung FROM tblTeams WHERE team_firma='" & cAllgemein.FIRMA.Replace("'", "''") & "' ORDER BY team_bezeichnung", "ADMIN")
|
||||||
|
If dt IsNot Nothing Then
|
||||||
|
For Each r As DataRow In dt.Rows
|
||||||
|
AddItem(cboTeam, Convert.ToString(r("team_bezeichnung")), Convert.ToString(r("team_id")))
|
||||||
|
Next
|
||||||
|
End If
|
||||||
|
cboTeam.SelectedIndex = 0
|
||||||
|
dtFristVon.Checked = False
|
||||||
|
dtFristBis.Checked = False
|
||||||
|
Catch ex As Exception
|
||||||
|
cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||||
|
Finally
|
||||||
|
_loading = False
|
||||||
|
End Try
|
||||||
|
RESET()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Public Sub RESET()
|
||||||
|
If Not _initialized Then Exit Sub
|
||||||
|
_loading = True
|
||||||
|
Try
|
||||||
|
txtSuche.Clear() : txtMRN.Clear() : txtGeschaeftszeichen.Clear()
|
||||||
|
txtZollamt.Clear() : txtKunde.Clear() : txtSendungID.Clear()
|
||||||
|
cboTyp.SelectedIndex = 0 : cboStatus.SelectedIndex = 0
|
||||||
|
cboLand.SelectedIndex = 0 : cboTeam.SelectedIndex = 0
|
||||||
|
dtFristVon.Checked = False : dtFristBis.Checked = False
|
||||||
|
optOffen.Checked = True
|
||||||
|
chkMeine.Checked = True
|
||||||
|
Finally
|
||||||
|
_loading = False
|
||||||
|
End Try
|
||||||
|
Aviso_anzeigen("")
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Function Wildcard(value As String) As String
|
||||||
|
Return value.Trim().Replace("*", "%") & "%"
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Public Sub Aviso_anzeigen(Optional hSort As String = "", Optional showDetails As Boolean = True)
|
||||||
|
If Not _initialized OrElse _loading Then Exit Sub
|
||||||
|
Try
|
||||||
|
Dim hSQL As String =
|
||||||
|
"SELECT TOP (1000) s.tblSnd_SendungID, s.tblSnd_AvisoID AS AvisoID, " &
|
||||||
|
"scc.scc_Type AS VerfahrenNr, " &
|
||||||
|
"CASE scc.scc_Type WHEN 1 THEN N'Einspruch/Beschwerde' WHEN 2 THEN N'NCTS-Nachforschung' " &
|
||||||
|
"WHEN 3 THEN N'NCTS-Unstimmigkeit' WHEN 4 THEN N'Zollamtliche Anfrage' " &
|
||||||
|
"WHEN 5 THEN N'Berichtigung' WHEN 6 THEN N'Änderungsantrag' " &
|
||||||
|
"WHEN 7 THEN N'Erstattung/Erlass' WHEN 8 THEN N'Abgabenbescheid' " &
|
||||||
|
"WHEN 9 THEN N'Mahnverfahren' ELSE N'Sonstiges' END AS Verfahren, " &
|
||||||
|
"scc.scc_Subject AS Betreff, scc.scc_CustomsOffice AS Zollamt, " &
|
||||||
|
"scc.scc_CustomsReference AS Geschaeftszeichen, scc.scc_ReferenceMRN AS MRN, " &
|
||||||
|
"scc.scc_ReceivedDate AS Eingang, scc.scc_Deadline AS Frist, " &
|
||||||
|
"scc.scc_ReminderDate AS Wiedervorlage, scc.scc_Status AS StatusNr, " &
|
||||||
|
"CASE scc.scc_Status WHEN 0 THEN N'Neu' WHEN 1 THEN N'In Bearbeitung' " &
|
||||||
|
"WHEN 2 THEN N'Unterlagen ausständig' WHEN 3 THEN N'Zoll ausständig' " &
|
||||||
|
"WHEN 4 THEN N'Entscheidung' WHEN 5 THEN N'Erledigt' " &
|
||||||
|
"WHEN 6 THEN N'Geschlossen' ELSE N'Unbekannt' END AS Fachstatus, " &
|
||||||
|
"s.tblSnd_Zollsystem_Land AS Land, s.tblSnd_Auftraggeber AS Auftraggeber, " &
|
||||||
|
"s.tblSnd_TeamId AS TeamId, s.tblSnd_SachbearbeiterId AS SachbearbeiterId, " &
|
||||||
|
"s.LetzterMitarbeiter AS LetzterMitarbeiter, scc.scc_Amount AS Betrag, scc.scc_Currency AS Waehrung " &
|
||||||
|
"FROM dbo.tblSendungCustomsCases scc " &
|
||||||
|
"INNER JOIN dbo.tblSendungen s ON s.tblSnd_SendungID=scc.scc_SendungID " &
|
||||||
|
"LEFT JOIN dbo.Aviso a ON a.AvisoID=s.tblSnd_AvisoID " &
|
||||||
|
"WHERE (s.tblSnd_Firma=@firma OR s.tblSnd_Cluster=@cluster OR s.LetzterMitarbeiterId=@maId) "
|
||||||
|
|
||||||
|
Dim list As New List(Of VERAG_PROG_ALLGEMEIN.SQLVariable) From {
|
||||||
|
New VERAG_PROG_ALLGEMEIN.SQLVariable("firma", cAllgemein.FIRMA),
|
||||||
|
New VERAG_PROG_ALLGEMEIN.SQLVariable("cluster", cAllgemein.CLUSTER),
|
||||||
|
New VERAG_PROG_ALLGEMEIN.SQLVariable("maId", cAllgemein.USRID)
|
||||||
|
}
|
||||||
|
If chkMeine.Checked Then
|
||||||
|
hSQL &= " AND (s.tblSnd_SachbearbeiterId=@maId OR s.LetzterMitarbeiterId=@maId) "
|
||||||
|
End If
|
||||||
|
If Selected(cboTyp) <> "" Then
|
||||||
|
hSQL &= " AND scc.scc_Type=@type "
|
||||||
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("type", CShort(Selected(cboTyp))))
|
||||||
|
End If
|
||||||
|
If Selected(cboStatus) <> "" Then
|
||||||
|
hSQL &= " AND scc.scc_Status=@status "
|
||||||
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("status", CShort(Selected(cboStatus))))
|
||||||
|
End If
|
||||||
|
If Selected(cboLand) <> "" Then
|
||||||
|
hSQL &= " AND s.tblSnd_Zollsystem_Land=@land "
|
||||||
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("land", Selected(cboLand)))
|
||||||
|
End If
|
||||||
|
If Selected(cboTeam) <> "" Then
|
||||||
|
hSQL &= " AND s.tblSnd_TeamId=@team "
|
||||||
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("team", CInt(Selected(cboTeam))))
|
||||||
|
End If
|
||||||
|
If txtSuche.Text.Trim() <> "" Then
|
||||||
|
hSQL &= " AND (scc.scc_Subject LIKE @search OR s.tblSnd_Anmerkung LIKE @search) "
|
||||||
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("search", Wildcard(txtSuche.Text)))
|
||||||
|
End If
|
||||||
|
If txtMRN.Text.Trim() <> "" Then
|
||||||
|
hSQL &= " AND scc.scc_ReferenceMRN LIKE @mrn "
|
||||||
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("mrn", Wildcard(txtMRN.Text)))
|
||||||
|
End If
|
||||||
|
If txtGeschaeftszeichen.Text.Trim() <> "" Then
|
||||||
|
hSQL &= " AND scc.scc_CustomsReference LIKE @reference "
|
||||||
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("reference", Wildcard(txtGeschaeftszeichen.Text)))
|
||||||
|
End If
|
||||||
|
If txtZollamt.Text.Trim() <> "" Then
|
||||||
|
hSQL &= " AND scc.scc_CustomsOffice LIKE @office "
|
||||||
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("office", Wildcard(txtZollamt.Text)))
|
||||||
|
End If
|
||||||
|
If txtKunde.Text.Trim() <> "" Then
|
||||||
|
hSQL &= " AND s.tblSnd_Auftraggeber LIKE @kunde "
|
||||||
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("kunde", Wildcard(txtKunde.Text)))
|
||||||
|
End If
|
||||||
|
If txtSendungID.Text.Trim() <> "" Then
|
||||||
|
Dim id As Integer
|
||||||
|
If Not Integer.TryParse(txtSendungID.Text.Trim(), id) Then
|
||||||
|
lblInfo.Text = "Ungültige Sendung-ID"
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
hSQL &= " AND s.tblSnd_SendungID=@sendungId "
|
||||||
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("sendungId", id))
|
||||||
|
End If
|
||||||
|
If dtFristVon.Checked Then
|
||||||
|
hSQL &= " AND scc.scc_Deadline>=@fristVon "
|
||||||
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("fristVon", dtFristVon.Value.Date))
|
||||||
|
End If
|
||||||
|
If dtFristBis.Checked Then
|
||||||
|
hSQL &= " AND scc.scc_Deadline<=@fristBis "
|
||||||
|
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("fristBis", dtFristBis.Value.Date))
|
||||||
|
End If
|
||||||
|
If optOffen.Checked Then
|
||||||
|
hSQL &= " AND scc.scc_Status NOT IN (5,6) "
|
||||||
|
ElseIf optAbgeschlossen.Checked Then
|
||||||
|
hSQL &= " AND scc.scc_Status IN (5,6) "
|
||||||
|
ElseIf optFristen.Checked Then
|
||||||
|
hSQL &= " AND scc.scc_Status NOT IN (5,6) AND (scc.scc_Deadline<=DATEADD(DAY,14,CAST(GETDATE() AS date)) OR scc.scc_ReminderDate<=CAST(GETDATE() AS date)) "
|
||||||
|
End If
|
||||||
|
hSQL &= " ORDER BY CASE WHEN scc.scc_Deadline<CAST(GETDATE() AS date) AND scc.scc_Status NOT IN (5,6) THEN 0 ELSE 1 END, scc.scc_Deadline, scc.scc_SendungID DESC "
|
||||||
|
|
||||||
|
Dim errOcc As Boolean = False
|
||||||
|
Dim dt As DataTable = VERAGSQL.loadDgvBySql_Param(hSQL, "AVISO", 1500, list, False, errOcc)
|
||||||
|
If errOcc Then
|
||||||
|
lblInfo.Text = "Fehler bei der Suche."
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
gridAviso.DataSource = dt
|
||||||
|
gridAviso_SpaltenFestlegen()
|
||||||
|
lblInfo.Text = gridAviso.Rows.Count.ToString() & " Vorgänge" & If(gridAviso.Rows.Count >= 1000, " (max. 1000)", "") & " – " & Date.Now.ToString("HH:mm")
|
||||||
|
Catch ex As Exception
|
||||||
|
cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||||
|
lblInfo.Text = "Suche fehlgeschlagen: " & ex.Message
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Public Sub gridAviso_SpaltenFestlegen()
|
||||||
|
If gridAviso.Columns.Count = 0 Then Exit Sub
|
||||||
|
For Each key In {"tblSnd_SendungID", "AvisoID", "VerfahrenNr", "StatusNr", "TeamId", "SachbearbeiterId"}
|
||||||
|
If gridAviso.Columns.Contains(key) Then gridAviso.Columns(key).Visible = False
|
||||||
|
Next
|
||||||
|
For Each key In {"Eingang", "Frist", "Wiedervorlage"}
|
||||||
|
If gridAviso.Columns.Contains(key) Then
|
||||||
|
gridAviso.Columns(key).Width = 90
|
||||||
|
gridAviso.Columns(key).DefaultCellStyle.Format = "dd.MM.yyyy"
|
||||||
|
End If
|
||||||
|
Next
|
||||||
|
If gridAviso.Columns.Contains("Betreff") Then
|
||||||
|
gridAviso.Columns("Betreff").Width = 250
|
||||||
|
End If
|
||||||
|
If gridAviso.Columns.Contains("Verfahren") Then gridAviso.Columns("Verfahren").Width = 155
|
||||||
|
If gridAviso.Columns.Contains("Auftraggeber") Then gridAviso.Columns("Auftraggeber").Width = 180
|
||||||
|
If gridAviso.Columns.Contains("Geschaeftszeichen") Then gridAviso.Columns("Geschaeftszeichen").HeaderText = "Geschäftszeichen"
|
||||||
|
If gridAviso.Columns.Contains("Fachstatus") Then gridAviso.Columns("Fachstatus").Width = 135
|
||||||
|
If gridAviso.Columns.Contains("Betrag") Then gridAviso.Columns("Betrag").DefaultCellStyle.Format = "N2"
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub btnSuchen_Click(sender As Object, e As EventArgs) Handles btnSuchen.Click
|
||||||
|
Aviso_anzeigen("")
|
||||||
|
End Sub
|
||||||
|
Private Sub btnNeu_Click(sender As Object, e As EventArgs) Handles btnNeu.Click
|
||||||
|
RaiseEvent CaseNewRequested()
|
||||||
|
End Sub
|
||||||
|
Private Sub Ansicht_CheckedChanged(sender As Object, e As EventArgs) Handles optOffen.CheckedChanged, optAlle.CheckedChanged, optFristen.CheckedChanged, optAbgeschlossen.CheckedChanged
|
||||||
|
Dim opt = DirectCast(sender, RadioButton)
|
||||||
|
If Not opt.Checked Then Exit Sub
|
||||||
|
For Each rb As RadioButton In New RadioButton() {optOffen, optAlle, optFristen, optAbgeschlossen}
|
||||||
|
rb.BackColor = If(rb.Checked, Color.FromArgb(28, 77, 150), Color.White)
|
||||||
|
rb.ForeColor = If(rb.Checked, Color.White, Color.FromArgb(44, 66, 103))
|
||||||
|
Next
|
||||||
|
Aviso_anzeigen("")
|
||||||
|
End Sub
|
||||||
|
Private Sub filter_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cboTyp.SelectedIndexChanged, cboStatus.SelectedIndexChanged, cboLand.SelectedIndexChanged, cboTeam.SelectedIndexChanged, chkMeine.CheckedChanged
|
||||||
|
Aviso_anzeigen("")
|
||||||
|
End Sub
|
||||||
|
Private Sub filter_KeyDown(sender As Object, e As KeyEventArgs) Handles txtSuche.KeyDown, txtMRN.KeyDown, txtGeschaeftszeichen.KeyDown, txtZollamt.KeyDown, txtKunde.KeyDown, txtSendungID.KeyDown
|
||||||
|
If e.KeyCode = Keys.Enter Then
|
||||||
|
e.SuppressKeyPress = True
|
||||||
|
Aviso_anzeigen("")
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
Private Sub gridAviso_DoubleClick(sender As Object, e As EventArgs) Handles gridAviso.DoubleClick
|
||||||
|
OpenSelectedCase()
|
||||||
|
End Sub
|
||||||
|
Private Sub gridAviso_KeyDown(sender As Object, e As KeyEventArgs) Handles gridAviso.KeyDown
|
||||||
|
If e.KeyCode = Keys.Enter Then
|
||||||
|
e.Handled = True : e.SuppressKeyPress = True
|
||||||
|
OpenSelectedCase()
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
Private Sub OpenSelectedCase()
|
||||||
|
If gridAviso.CurrentRow Is Nothing Then Exit Sub
|
||||||
|
Dim row = gridAviso.CurrentRow
|
||||||
|
If row.Cells("tblSnd_SendungID").Value Is DBNull.Value Then Exit Sub
|
||||||
|
Dim sendungId As Integer = Convert.ToInt32(row.Cells("tblSnd_SendungID").Value)
|
||||||
|
Dim avisoId As Integer = 0
|
||||||
|
If row.Cells("AvisoID").Value IsNot DBNull.Value AndAlso row.Cells("AvisoID").Value IsNot Nothing Then
|
||||||
|
avisoId = Convert.ToInt32(row.Cells("AvisoID").Value)
|
||||||
|
End If
|
||||||
|
If avisoId < 0 Then avisoId = 0
|
||||||
|
cGlobal.Aktive_SendungsID = sendungId
|
||||||
|
cGlobal.Aktive_ID = avisoId
|
||||||
|
RaiseEvent CaseOpenRequested(sendungId, avisoId)
|
||||||
|
End Sub
|
||||||
|
End Class
|
||||||
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
|||||||
' übernehmen, indem Sie "*" eingeben:
|
' übernehmen, indem Sie "*" eingeben:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("4.3.2.9")>
|
<Assembly: AssemblyVersion("4.3.4.0")>
|
||||||
<Assembly: AssemblyFileVersion("4.3.2.9")>
|
<Assembly: AssemblyFileVersion("4.3.4.0")>
|
||||||
|
|||||||
40
Aviso/My Project/Resources.Designer.vb
generated
@@ -528,6 +528,16 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
|
'''</summary>
|
||||||
|
Public ReadOnly Property dakosy_de() As System.Drawing.Bitmap
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("dakosy_de", resourceCulture)
|
||||||
|
Return CType(obj,System.Drawing.Bitmap)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
@@ -1638,6 +1648,16 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
|
'''</summary>
|
||||||
|
Public ReadOnly Property mic_nl() As System.Drawing.Bitmap
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("mic_nl", resourceCulture)
|
||||||
|
Return CType(obj,System.Drawing.Bitmap)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
@@ -1658,6 +1678,16 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
|
'''</summary>
|
||||||
|
Public ReadOnly Property modaltrans_uk() As System.Drawing.Bitmap
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("modaltrans_uk", resourceCulture)
|
||||||
|
Return CType(obj,System.Drawing.Bitmap)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Byte[].
|
''' Sucht eine lokalisierte Ressource vom Typ System.Byte[].
|
||||||
'''</summary>
|
'''</summary>
|
||||||
@@ -2258,6 +2288,16 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
|
'''</summary>
|
||||||
|
Public ReadOnly Property teleotc_at() As System.Drawing.Bitmap
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("teleotc_at", resourceCulture)
|
||||||
|
Return CType(obj,System.Drawing.Bitmap)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
|
|||||||
@@ -892,4 +892,16 @@
|
|||||||
<data name="herbert_happy" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="herbert_happy" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\herbert_happy.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\herbert_happy.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="dakosy_de" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\dakosy_de.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="mic_nl" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\mic_nl.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="modaltrans_uk" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\modaltrans_uk.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="teleotc_at" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\teleotc-at.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
BIN
Aviso/Resources/dakosy_de.png
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
Aviso/Resources/mic_nl.png
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
Aviso/Resources/modaltrans_uk.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
Aviso/Resources/teleotc-at.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
@@ -1517,7 +1517,7 @@ ELSE_ATILLA:
|
|||||||
sqlStrFirma &= " AND ( FIRMA='" & VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA & "' OR CLUSTER='" & VERAG_PROG_ALLGEMEIN.cAllgemein.CLUSTER & "' OR FIRMA='ATILLA' ) "
|
sqlStrFirma &= " AND ( FIRMA='" & VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA & "' OR CLUSTER='" & VERAG_PROG_ALLGEMEIN.cAllgemein.CLUSTER & "' OR FIRMA='ATILLA' ) "
|
||||||
Else
|
Else
|
||||||
sqlStrFirma &= " AND ( FIRMA='" & VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA & "' OR CLUSTER='" & VERAG_PROG_ALLGEMEIN.cAllgemein.CLUSTER & "' ) "
|
sqlStrFirma &= " AND ( FIRMA='" & VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA & "' OR CLUSTER='" & VERAG_PROG_ALLGEMEIN.cAllgemein.CLUSTER & "' ) "
|
||||||
' MsgBox(VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA)
|
' MsgBox(VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA)
|
||||||
'If VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA = "VERAG" Then
|
'If VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA = "VERAG" Then
|
||||||
' '+AMBAR
|
' '+AMBAR
|
||||||
' sqlStrFirma &= " AND ( FIRMA='" & VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA & "' OR (tblSendungen.FilialenNr IN('5701') AND tblSnd_Abfertigungsart_ID IN(1,38,39,46,66)) ) "
|
' sqlStrFirma &= " AND ( FIRMA='" & VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA & "' OR (tblSendungen.FilialenNr IN('5701') AND tblSnd_Abfertigungsart_ID IN(1,38,39,46,66)) ) "
|
||||||
@@ -3523,7 +3523,7 @@ ELSE_ATILLA:
|
|||||||
|
|
||||||
Dim path = SDL.cFinanzOnlineWebService.genUID_Formular("ATU74813856")
|
Dim path = SDL.cFinanzOnlineWebService.genUID_Formular("ATU74813856")
|
||||||
If path <> "" Then
|
If path <> "" Then
|
||||||
Process.Start(path)
|
process.Start(path)
|
||||||
End If
|
End If
|
||||||
'If SDL.cFinanzOnlineWebService.Call_Web_Service_MethodUID_Abfrage_NEU2020(firma, "ATU74813856") = 0 Then
|
'If SDL.cFinanzOnlineWebService.Call_Web_Service_MethodUID_Abfrage_NEU2020(firma, "ATU74813856") = 0 Then
|
||||||
' MsgBox("HURRA2" & vbNewLine & firma)
|
' MsgBox("HURRA2" & vbNewLine & firma)
|
||||||
|
|||||||
102
Aviso/frmHauptfensterNew.Designer.vb
generated
@@ -277,6 +277,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.btnVIEW_CustControling = New System.Windows.Forms.Button()
|
Me.btnVIEW_CustControling = New System.Windows.Forms.Button()
|
||||||
Me.btnDEFAULT_Selected = New System.Windows.Forms.Button()
|
Me.btnDEFAULT_Selected = New System.Windows.Forms.Button()
|
||||||
Me.btnDEFAULT_UnSelected = New System.Windows.Forms.Button()
|
Me.btnDEFAULT_UnSelected = New System.Windows.Forms.Button()
|
||||||
|
Me.Button9 = New System.Windows.Forms.Button()
|
||||||
Me.Panel6 = New System.Windows.Forms.Panel()
|
Me.Panel6 = New System.Windows.Forms.Panel()
|
||||||
Me.PictureBox1 = New System.Windows.Forms.PictureBox()
|
Me.PictureBox1 = New System.Windows.Forms.PictureBox()
|
||||||
Me.FlowLayoutPanel2 = New System.Windows.Forms.FlowLayoutPanel()
|
Me.FlowLayoutPanel2 = New System.Windows.Forms.FlowLayoutPanel()
|
||||||
@@ -328,7 +329,6 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.Panel7 = New System.Windows.Forms.Panel()
|
Me.Panel7 = New System.Windows.Forms.Panel()
|
||||||
Me.UsrCntlTestsystem1 = New VERAG_PROG_ALLGEMEIN.usrCntlTestsystem()
|
Me.UsrCntlTestsystem1 = New VERAG_PROG_ALLGEMEIN.usrCntlTestsystem()
|
||||||
Me.UidAbfrageService1 = New VERAG_PROG_ALLGEMEIN.at.gv.bmf.finanzonline.uidAbfrageService()
|
Me.UidAbfrageService1 = New VERAG_PROG_ALLGEMEIN.at.gv.bmf.finanzonline.uidAbfrageService()
|
||||||
Me.Button9 = New System.Windows.Forms.Button()
|
|
||||||
Me.conMenuAviso.SuspendLayout()
|
Me.conMenuAviso.SuspendLayout()
|
||||||
Me.MenuStrip1.SuspendLayout()
|
Me.MenuStrip1.SuspendLayout()
|
||||||
Me.pnlDetailsRechts.SuspendLayout()
|
Me.pnlDetailsRechts.SuspendLayout()
|
||||||
@@ -1643,7 +1643,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.pnlDetailsRechts.Location = New System.Drawing.Point(0, 0)
|
Me.pnlDetailsRechts.Location = New System.Drawing.Point(0, 0)
|
||||||
Me.pnlDetailsRechts.MinimumSize = New System.Drawing.Size(200, 0)
|
Me.pnlDetailsRechts.MinimumSize = New System.Drawing.Size(200, 0)
|
||||||
Me.pnlDetailsRechts.Name = "pnlDetailsRechts"
|
Me.pnlDetailsRechts.Name = "pnlDetailsRechts"
|
||||||
Me.pnlDetailsRechts.Size = New System.Drawing.Size(297, 739)
|
Me.pnlDetailsRechts.Size = New System.Drawing.Size(299, 739)
|
||||||
Me.pnlDetailsRechts.TabIndex = 0
|
Me.pnlDetailsRechts.TabIndex = 0
|
||||||
'
|
'
|
||||||
'lblMitarbeiter
|
'lblMitarbeiter
|
||||||
@@ -1685,7 +1685,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.lblUsrname.BackColor = System.Drawing.Color.White
|
Me.lblUsrname.BackColor = System.Drawing.Color.White
|
||||||
Me.lblUsrname.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.0!)
|
Me.lblUsrname.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.0!)
|
||||||
Me.lblUsrname.ForeColor = System.Drawing.Color.FromArgb(CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer))
|
Me.lblUsrname.ForeColor = System.Drawing.Color.FromArgb(CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer))
|
||||||
Me.lblUsrname.Location = New System.Drawing.Point(283, 384)
|
Me.lblUsrname.Location = New System.Drawing.Point(275, 384)
|
||||||
Me.lblUsrname.Name = "lblUsrname"
|
Me.lblUsrname.Name = "lblUsrname"
|
||||||
Me.lblUsrname.Size = New System.Drawing.Size(75, 13)
|
Me.lblUsrname.Size = New System.Drawing.Size(75, 13)
|
||||||
Me.lblUsrname.TabIndex = 86
|
Me.lblUsrname.TabIndex = 86
|
||||||
@@ -1697,7 +1697,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.lblFimaAviso.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
Me.lblFimaAviso.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
Me.lblFimaAviso.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
Me.lblFimaAviso.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
Me.lblFimaAviso.ForeColor = System.Drawing.Color.Black
|
Me.lblFimaAviso.ForeColor = System.Drawing.Color.Black
|
||||||
Me.lblFimaAviso.Location = New System.Drawing.Point(339, 371)
|
Me.lblFimaAviso.Location = New System.Drawing.Point(331, 371)
|
||||||
Me.lblFimaAviso.Name = "lblFimaAviso"
|
Me.lblFimaAviso.Name = "lblFimaAviso"
|
||||||
Me.lblFimaAviso.Size = New System.Drawing.Size(63, 13)
|
Me.lblFimaAviso.Size = New System.Drawing.Size(63, 13)
|
||||||
Me.lblFimaAviso.TabIndex = 11
|
Me.lblFimaAviso.TabIndex = 11
|
||||||
@@ -1795,7 +1795,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.lblGrenzstelle.BackColor = System.Drawing.Color.White
|
Me.lblGrenzstelle.BackColor = System.Drawing.Color.White
|
||||||
Me.lblGrenzstelle.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.0!)
|
Me.lblGrenzstelle.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.0!)
|
||||||
Me.lblGrenzstelle.ForeColor = System.Drawing.Color.FromArgb(CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer))
|
Me.lblGrenzstelle.ForeColor = System.Drawing.Color.FromArgb(CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(64, Byte), Integer))
|
||||||
Me.lblGrenzstelle.Location = New System.Drawing.Point(342, 384)
|
Me.lblGrenzstelle.Location = New System.Drawing.Point(334, 384)
|
||||||
Me.lblGrenzstelle.Name = "lblGrenzstelle"
|
Me.lblGrenzstelle.Name = "lblGrenzstelle"
|
||||||
Me.lblGrenzstelle.Size = New System.Drawing.Size(60, 13)
|
Me.lblGrenzstelle.Size = New System.Drawing.Size(60, 13)
|
||||||
Me.lblGrenzstelle.TabIndex = 0
|
Me.lblGrenzstelle.TabIndex = 0
|
||||||
@@ -1807,7 +1807,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.lblVersion.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
Me.lblVersion.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
Me.lblVersion.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
Me.lblVersion.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
Me.lblVersion.ForeColor = System.Drawing.Color.Black
|
Me.lblVersion.ForeColor = System.Drawing.Color.Black
|
||||||
Me.lblVersion.Location = New System.Drawing.Point(334, 399)
|
Me.lblVersion.Location = New System.Drawing.Point(326, 399)
|
||||||
Me.lblVersion.Name = "lblVersion"
|
Me.lblVersion.Name = "lblVersion"
|
||||||
Me.lblVersion.Size = New System.Drawing.Size(68, 13)
|
Me.lblVersion.Size = New System.Drawing.Size(68, 13)
|
||||||
Me.lblVersion.TabIndex = 6
|
Me.lblVersion.TabIndex = 6
|
||||||
@@ -2043,7 +2043,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.pic.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
Me.pic.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
|
||||||
Me.pic.BackgroundImage = Global.AVISO.My.Resources.Resources.disconnect
|
Me.pic.BackgroundImage = Global.AVISO.My.Resources.Resources.disconnect
|
||||||
Me.pic.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
Me.pic.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
||||||
Me.pic.Location = New System.Drawing.Point(172, 362)
|
Me.pic.Location = New System.Drawing.Point(164, 362)
|
||||||
Me.pic.Name = "pic"
|
Me.pic.Name = "pic"
|
||||||
Me.pic.Size = New System.Drawing.Size(59, 50)
|
Me.pic.Size = New System.Drawing.Size(59, 50)
|
||||||
Me.pic.TabIndex = 5
|
Me.pic.TabIndex = 5
|
||||||
@@ -2072,7 +2072,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.pnlAktOption.Dock = System.Windows.Forms.DockStyle.Top
|
Me.pnlAktOption.Dock = System.Windows.Forms.DockStyle.Top
|
||||||
Me.pnlAktOption.Location = New System.Drawing.Point(0, 0)
|
Me.pnlAktOption.Location = New System.Drawing.Point(0, 0)
|
||||||
Me.pnlAktOption.Name = "pnlAktOption"
|
Me.pnlAktOption.Name = "pnlAktOption"
|
||||||
Me.pnlAktOption.Size = New System.Drawing.Size(774, 5)
|
Me.pnlAktOption.Size = New System.Drawing.Size(780, 5)
|
||||||
Me.pnlAktOption.TabIndex = 1
|
Me.pnlAktOption.TabIndex = 1
|
||||||
'
|
'
|
||||||
'Button8
|
'Button8
|
||||||
@@ -2082,7 +2082,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.Button8.ForeColor = System.Drawing.Color.Black
|
Me.Button8.ForeColor = System.Drawing.Color.Black
|
||||||
Me.Button8.Image = CType(resources.GetObject("Button8.Image"), System.Drawing.Image)
|
Me.Button8.Image = CType(resources.GetObject("Button8.Image"), System.Drawing.Image)
|
||||||
Me.Button8.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
|
Me.Button8.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||||
Me.Button8.Location = New System.Drawing.Point(1061, 214)
|
Me.Button8.Location = New System.Drawing.Point(1067, 214)
|
||||||
Me.Button8.Name = "Button8"
|
Me.Button8.Name = "Button8"
|
||||||
Me.Button8.Size = New System.Drawing.Size(89, 34)
|
Me.Button8.Size = New System.Drawing.Size(89, 34)
|
||||||
Me.Button8.TabIndex = 3
|
Me.Button8.TabIndex = 3
|
||||||
@@ -2099,7 +2099,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.btnFertig.ForeColor = System.Drawing.Color.Black
|
Me.btnFertig.ForeColor = System.Drawing.Color.Black
|
||||||
Me.btnFertig.Image = CType(resources.GetObject("btnFertig.Image"), System.Drawing.Image)
|
Me.btnFertig.Image = CType(resources.GetObject("btnFertig.Image"), System.Drawing.Image)
|
||||||
Me.btnFertig.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
|
Me.btnFertig.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||||
Me.btnFertig.Location = New System.Drawing.Point(1165, 214)
|
Me.btnFertig.Location = New System.Drawing.Point(1171, 214)
|
||||||
Me.btnFertig.Name = "btnFertig"
|
Me.btnFertig.Name = "btnFertig"
|
||||||
Me.btnFertig.Size = New System.Drawing.Size(102, 34)
|
Me.btnFertig.Size = New System.Drawing.Size(102, 34)
|
||||||
Me.btnFertig.TabIndex = 0
|
Me.btnFertig.TabIndex = 0
|
||||||
@@ -2113,7 +2113,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.SplitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
Me.SplitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
|
||||||
Me.SplitContainer1.Dock = System.Windows.Forms.DockStyle.Fill
|
Me.SplitContainer1.Dock = System.Windows.Forms.DockStyle.Fill
|
||||||
Me.SplitContainer1.IsSplitterFixed = True
|
Me.SplitContainer1.IsSplitterFixed = True
|
||||||
Me.SplitContainer1.Location = New System.Drawing.Point(408, 30)
|
Me.SplitContainer1.Location = New System.Drawing.Point(400, 30)
|
||||||
Me.SplitContainer1.Name = "SplitContainer1"
|
Me.SplitContainer1.Name = "SplitContainer1"
|
||||||
'
|
'
|
||||||
'SplitContainer1.Panel1
|
'SplitContainer1.Panel1
|
||||||
@@ -2126,8 +2126,8 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.SplitContainer1.Panel2.Controls.Add(Me.btnSmall)
|
Me.SplitContainer1.Panel2.Controls.Add(Me.btnSmall)
|
||||||
Me.SplitContainer1.Panel2.Controls.Add(Me.pnlDetailsRechts)
|
Me.SplitContainer1.Panel2.Controls.Add(Me.pnlDetailsRechts)
|
||||||
Me.SplitContainer1.Panel2MinSize = 200
|
Me.SplitContainer1.Panel2MinSize = 200
|
||||||
Me.SplitContainer1.Size = New System.Drawing.Size(1249, 741)
|
Me.SplitContainer1.Size = New System.Drawing.Size(1257, 741)
|
||||||
Me.SplitContainer1.SplitterDistance = 949
|
Me.SplitContainer1.SplitterDistance = 955
|
||||||
Me.SplitContainer1.SplitterWidth = 1
|
Me.SplitContainer1.SplitterWidth = 1
|
||||||
Me.SplitContainer1.TabIndex = 7
|
Me.SplitContainer1.TabIndex = 7
|
||||||
'
|
'
|
||||||
@@ -2140,7 +2140,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.pnlDetailsLinks.Location = New System.Drawing.Point(0, 0)
|
Me.pnlDetailsLinks.Location = New System.Drawing.Point(0, 0)
|
||||||
Me.pnlDetailsLinks.MinimumSize = New System.Drawing.Size(324, 564)
|
Me.pnlDetailsLinks.MinimumSize = New System.Drawing.Size(324, 564)
|
||||||
Me.pnlDetailsLinks.Name = "pnlDetailsLinks"
|
Me.pnlDetailsLinks.Name = "pnlDetailsLinks"
|
||||||
Me.pnlDetailsLinks.Size = New System.Drawing.Size(947, 739)
|
Me.pnlDetailsLinks.Size = New System.Drawing.Size(953, 739)
|
||||||
Me.pnlDetailsLinks.TabIndex = 0
|
Me.pnlDetailsLinks.TabIndex = 0
|
||||||
'
|
'
|
||||||
'splitMain
|
'splitMain
|
||||||
@@ -2167,7 +2167,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.splitMain.Panel2.Controls.Add(Me.pnlAktOption)
|
Me.splitMain.Panel2.Controls.Add(Me.pnlAktOption)
|
||||||
Me.splitMain.Panel2.Controls.Add(Me.pnlOptionen)
|
Me.splitMain.Panel2.Controls.Add(Me.pnlOptionen)
|
||||||
Me.splitMain.Panel2.Controls.Add(Me.Panel9)
|
Me.splitMain.Panel2.Controls.Add(Me.Panel9)
|
||||||
Me.splitMain.Size = New System.Drawing.Size(945, 737)
|
Me.splitMain.Size = New System.Drawing.Size(951, 737)
|
||||||
Me.splitMain.SplitterDistance = 576
|
Me.splitMain.SplitterDistance = 576
|
||||||
Me.splitMain.TabIndex = 0
|
Me.splitMain.TabIndex = 0
|
||||||
'
|
'
|
||||||
@@ -2187,7 +2187,7 @@ Partial Class frmHauptfensterNew
|
|||||||
'splitMainWorkingView.Panel2
|
'splitMainWorkingView.Panel2
|
||||||
'
|
'
|
||||||
Me.splitMainWorkingView.Panel2.Controls.Add(Me.pnlMain_Bottom)
|
Me.splitMainWorkingView.Panel2.Controls.Add(Me.pnlMain_Bottom)
|
||||||
Me.splitMainWorkingView.Size = New System.Drawing.Size(945, 501)
|
Me.splitMainWorkingView.Size = New System.Drawing.Size(951, 501)
|
||||||
Me.splitMainWorkingView.SplitterDistance = 350
|
Me.splitMainWorkingView.SplitterDistance = 350
|
||||||
Me.splitMainWorkingView.SplitterWidth = 15
|
Me.splitMainWorkingView.SplitterWidth = 15
|
||||||
Me.splitMainWorkingView.TabIndex = 9
|
Me.splitMainWorkingView.TabIndex = 9
|
||||||
@@ -2197,7 +2197,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill
|
Me.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill
|
||||||
Me.pnlMain.Location = New System.Drawing.Point(0, 0)
|
Me.pnlMain.Location = New System.Drawing.Point(0, 0)
|
||||||
Me.pnlMain.Name = "pnlMain"
|
Me.pnlMain.Name = "pnlMain"
|
||||||
Me.pnlMain.Size = New System.Drawing.Size(945, 350)
|
Me.pnlMain.Size = New System.Drawing.Size(951, 350)
|
||||||
Me.pnlMain.TabIndex = 8
|
Me.pnlMain.TabIndex = 8
|
||||||
'
|
'
|
||||||
'pnlMain_Bottom
|
'pnlMain_Bottom
|
||||||
@@ -2205,7 +2205,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.pnlMain_Bottom.Dock = System.Windows.Forms.DockStyle.Fill
|
Me.pnlMain_Bottom.Dock = System.Windows.Forms.DockStyle.Fill
|
||||||
Me.pnlMain_Bottom.Location = New System.Drawing.Point(0, 0)
|
Me.pnlMain_Bottom.Location = New System.Drawing.Point(0, 0)
|
||||||
Me.pnlMain_Bottom.Name = "pnlMain_Bottom"
|
Me.pnlMain_Bottom.Name = "pnlMain_Bottom"
|
||||||
Me.pnlMain_Bottom.Size = New System.Drawing.Size(945, 136)
|
Me.pnlMain_Bottom.Size = New System.Drawing.Size(951, 136)
|
||||||
Me.pnlMain_Bottom.TabIndex = 9
|
Me.pnlMain_Bottom.TabIndex = 9
|
||||||
'
|
'
|
||||||
'Panel1
|
'Panel1
|
||||||
@@ -2217,7 +2217,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.Panel1.Dock = System.Windows.Forms.DockStyle.Top
|
Me.Panel1.Dock = System.Windows.Forms.DockStyle.Top
|
||||||
Me.Panel1.Location = New System.Drawing.Point(0, 0)
|
Me.Panel1.Location = New System.Drawing.Point(0, 0)
|
||||||
Me.Panel1.Name = "Panel1"
|
Me.Panel1.Name = "Panel1"
|
||||||
Me.Panel1.Size = New System.Drawing.Size(945, 75)
|
Me.Panel1.Size = New System.Drawing.Size(951, 75)
|
||||||
Me.Panel1.TabIndex = 2
|
Me.Panel1.TabIndex = 2
|
||||||
'
|
'
|
||||||
'Panel8
|
'Panel8
|
||||||
@@ -2226,7 +2226,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.Panel8.Dock = System.Windows.Forms.DockStyle.Bottom
|
Me.Panel8.Dock = System.Windows.Forms.DockStyle.Bottom
|
||||||
Me.Panel8.Location = New System.Drawing.Point(0, 65)
|
Me.Panel8.Location = New System.Drawing.Point(0, 65)
|
||||||
Me.Panel8.Name = "Panel8"
|
Me.Panel8.Name = "Panel8"
|
||||||
Me.Panel8.Size = New System.Drawing.Size(717, 10)
|
Me.Panel8.Size = New System.Drawing.Size(723, 10)
|
||||||
Me.Panel8.TabIndex = 10
|
Me.Panel8.TabIndex = 10
|
||||||
'
|
'
|
||||||
'FlowLayoutPanel1
|
'FlowLayoutPanel1
|
||||||
@@ -2245,7 +2245,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.FlowLayoutPanel1.Location = New System.Drawing.Point(0, 0)
|
Me.FlowLayoutPanel1.Location = New System.Drawing.Point(0, 0)
|
||||||
Me.FlowLayoutPanel1.Margin = New System.Windows.Forms.Padding(3, 3, 3, 0)
|
Me.FlowLayoutPanel1.Margin = New System.Windows.Forms.Padding(3, 3, 3, 0)
|
||||||
Me.FlowLayoutPanel1.Name = "FlowLayoutPanel1"
|
Me.FlowLayoutPanel1.Name = "FlowLayoutPanel1"
|
||||||
Me.FlowLayoutPanel1.Size = New System.Drawing.Size(717, 65)
|
Me.FlowLayoutPanel1.Size = New System.Drawing.Size(723, 65)
|
||||||
Me.FlowLayoutPanel1.TabIndex = 6
|
Me.FlowLayoutPanel1.TabIndex = 6
|
||||||
'
|
'
|
||||||
'btnVIEW_LKW
|
'btnVIEW_LKW
|
||||||
@@ -2372,11 +2372,29 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.btnDEFAULT_UnSelected.UseVisualStyleBackColor = False
|
Me.btnDEFAULT_UnSelected.UseVisualStyleBackColor = False
|
||||||
Me.btnDEFAULT_UnSelected.Visible = False
|
Me.btnDEFAULT_UnSelected.Visible = False
|
||||||
'
|
'
|
||||||
|
'Button9
|
||||||
|
'
|
||||||
|
Me.Button9.BackColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(80, Byte), Integer), CType(CType(150, Byte), Integer))
|
||||||
|
Me.Button9.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None
|
||||||
|
Me.Button9.FlatAppearance.BorderSize = 0
|
||||||
|
Me.Button9.Font = New System.Drawing.Font("Segoe UI", 10.0!)
|
||||||
|
Me.Button9.ForeColor = System.Drawing.Color.White
|
||||||
|
Me.Button9.Location = New System.Drawing.Point(338, 79)
|
||||||
|
Me.Button9.Margin = New System.Windows.Forms.Padding(3, 16, 3, 0)
|
||||||
|
Me.Button9.Name = "Button9"
|
||||||
|
Me.Button9.Size = New System.Drawing.Size(158, 47)
|
||||||
|
Me.Button9.TabIndex = 11
|
||||||
|
Me.Button9.TabStop = False
|
||||||
|
Me.Button9.Text = "DISPO"
|
||||||
|
Me.ToolTip1.SetToolTip(Me.Button9, "Es werden alle LKWs mit Status Ankunft des aktiven Standorts angezeigt, absteigen" &
|
||||||
|
"d sortiert nach Dauer")
|
||||||
|
Me.Button9.UseVisualStyleBackColor = False
|
||||||
|
'
|
||||||
'Panel6
|
'Panel6
|
||||||
'
|
'
|
||||||
Me.Panel6.Controls.Add(Me.PictureBox1)
|
Me.Panel6.Controls.Add(Me.PictureBox1)
|
||||||
Me.Panel6.Dock = System.Windows.Forms.DockStyle.Right
|
Me.Panel6.Dock = System.Windows.Forms.DockStyle.Right
|
||||||
Me.Panel6.Location = New System.Drawing.Point(717, 0)
|
Me.Panel6.Location = New System.Drawing.Point(723, 0)
|
||||||
Me.Panel6.Name = "Panel6"
|
Me.Panel6.Name = "Panel6"
|
||||||
Me.Panel6.Size = New System.Drawing.Size(228, 75)
|
Me.Panel6.Size = New System.Drawing.Size(228, 75)
|
||||||
Me.Panel6.TabIndex = 9
|
Me.Panel6.TabIndex = 9
|
||||||
@@ -2403,7 +2421,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.FlowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Top
|
Me.FlowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Top
|
||||||
Me.FlowLayoutPanel2.Location = New System.Drawing.Point(181, 70)
|
Me.FlowLayoutPanel2.Location = New System.Drawing.Point(181, 70)
|
||||||
Me.FlowLayoutPanel2.Name = "FlowLayoutPanel2"
|
Me.FlowLayoutPanel2.Name = "FlowLayoutPanel2"
|
||||||
Me.FlowLayoutPanel2.Size = New System.Drawing.Size(593, 65)
|
Me.FlowLayoutPanel2.Size = New System.Drawing.Size(599, 65)
|
||||||
Me.FlowLayoutPanel2.TabIndex = 86
|
Me.FlowLayoutPanel2.TabIndex = 86
|
||||||
'
|
'
|
||||||
'MyFlowLayoutPanel1
|
'MyFlowLayoutPanel1
|
||||||
@@ -2418,7 +2436,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.MyFlowLayoutPanel1.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
Me.MyFlowLayoutPanel1.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
Me.MyFlowLayoutPanel1.Location = New System.Drawing.Point(181, 5)
|
Me.MyFlowLayoutPanel1.Location = New System.Drawing.Point(181, 5)
|
||||||
Me.MyFlowLayoutPanel1.Name = "MyFlowLayoutPanel1"
|
Me.MyFlowLayoutPanel1.Name = "MyFlowLayoutPanel1"
|
||||||
Me.MyFlowLayoutPanel1.Size = New System.Drawing.Size(593, 65)
|
Me.MyFlowLayoutPanel1.Size = New System.Drawing.Size(599, 65)
|
||||||
Me.MyFlowLayoutPanel1.TabIndex = 85
|
Me.MyFlowLayoutPanel1.TabIndex = 85
|
||||||
'
|
'
|
||||||
'btnKunden
|
'btnKunden
|
||||||
@@ -2579,7 +2597,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.Panel9.Controls.Add(Me.Button6)
|
Me.Panel9.Controls.Add(Me.Button6)
|
||||||
Me.Panel9.Controls.Add(Me.btnDrucken)
|
Me.Panel9.Controls.Add(Me.btnDrucken)
|
||||||
Me.Panel9.Dock = System.Windows.Forms.DockStyle.Right
|
Me.Panel9.Dock = System.Windows.Forms.DockStyle.Right
|
||||||
Me.Panel9.Location = New System.Drawing.Point(774, 0)
|
Me.Panel9.Location = New System.Drawing.Point(780, 0)
|
||||||
Me.Panel9.Name = "Panel9"
|
Me.Panel9.Name = "Panel9"
|
||||||
Me.Panel9.Size = New System.Drawing.Size(171, 157)
|
Me.Panel9.Size = New System.Drawing.Size(171, 157)
|
||||||
Me.Panel9.TabIndex = 88
|
Me.Panel9.TabIndex = 88
|
||||||
@@ -2787,7 +2805,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.pnlLeft.Dock = System.Windows.Forms.DockStyle.Left
|
Me.pnlLeft.Dock = System.Windows.Forms.DockStyle.Left
|
||||||
Me.pnlLeft.Location = New System.Drawing.Point(0, 30)
|
Me.pnlLeft.Location = New System.Drawing.Point(0, 30)
|
||||||
Me.pnlLeft.Name = "pnlLeft"
|
Me.pnlLeft.Name = "pnlLeft"
|
||||||
Me.pnlLeft.Size = New System.Drawing.Size(408, 741)
|
Me.pnlLeft.Size = New System.Drawing.Size(400, 741)
|
||||||
Me.pnlLeft.TabIndex = 88
|
Me.pnlLeft.TabIndex = 88
|
||||||
'
|
'
|
||||||
'UsrCntlBenachrichtigungen2
|
'UsrCntlBenachrichtigungen2
|
||||||
@@ -2795,7 +2813,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.UsrCntlBenachrichtigungen2.Dock = System.Windows.Forms.DockStyle.Fill
|
Me.UsrCntlBenachrichtigungen2.Dock = System.Windows.Forms.DockStyle.Fill
|
||||||
Me.UsrCntlBenachrichtigungen2.Location = New System.Drawing.Point(0, 10)
|
Me.UsrCntlBenachrichtigungen2.Location = New System.Drawing.Point(0, 10)
|
||||||
Me.UsrCntlBenachrichtigungen2.Name = "UsrCntlBenachrichtigungen2"
|
Me.UsrCntlBenachrichtigungen2.Name = "UsrCntlBenachrichtigungen2"
|
||||||
Me.UsrCntlBenachrichtigungen2.Size = New System.Drawing.Size(408, 315)
|
Me.UsrCntlBenachrichtigungen2.Size = New System.Drawing.Size(400, 315)
|
||||||
Me.UsrCntlBenachrichtigungen2.TabIndex = 5
|
Me.UsrCntlBenachrichtigungen2.TabIndex = 5
|
||||||
'
|
'
|
||||||
'Panel5
|
'Panel5
|
||||||
@@ -2816,7 +2834,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.Panel5.Dock = System.Windows.Forms.DockStyle.Bottom
|
Me.Panel5.Dock = System.Windows.Forms.DockStyle.Bottom
|
||||||
Me.Panel5.Location = New System.Drawing.Point(0, 325)
|
Me.Panel5.Location = New System.Drawing.Point(0, 325)
|
||||||
Me.Panel5.Name = "Panel5"
|
Me.Panel5.Name = "Panel5"
|
||||||
Me.Panel5.Size = New System.Drawing.Size(408, 416)
|
Me.Panel5.Size = New System.Drawing.Size(400, 416)
|
||||||
Me.Panel5.TabIndex = 3
|
Me.Panel5.TabIndex = 3
|
||||||
'
|
'
|
||||||
'cbxChartNurGelesen
|
'cbxChartNurGelesen
|
||||||
@@ -2849,7 +2867,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.TabControl1.Location = New System.Drawing.Point(0, 0)
|
Me.TabControl1.Location = New System.Drawing.Point(0, 0)
|
||||||
Me.TabControl1.Name = "TabControl1"
|
Me.TabControl1.Name = "TabControl1"
|
||||||
Me.TabControl1.SelectedIndex = 0
|
Me.TabControl1.SelectedIndex = 0
|
||||||
Me.TabControl1.Size = New System.Drawing.Size(408, 301)
|
Me.TabControl1.Size = New System.Drawing.Size(400, 301)
|
||||||
Me.TabControl1.TabIndex = 85
|
Me.TabControl1.TabIndex = 85
|
||||||
'
|
'
|
||||||
'TabPage1
|
'TabPage1
|
||||||
@@ -2858,7 +2876,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.TabPage1.Location = New System.Drawing.Point(4, 25)
|
Me.TabPage1.Location = New System.Drawing.Point(4, 25)
|
||||||
Me.TabPage1.Name = "TabPage1"
|
Me.TabPage1.Name = "TabPage1"
|
||||||
Me.TabPage1.Padding = New System.Windows.Forms.Padding(3)
|
Me.TabPage1.Padding = New System.Windows.Forms.Padding(3)
|
||||||
Me.TabPage1.Size = New System.Drawing.Size(400, 272)
|
Me.TabPage1.Size = New System.Drawing.Size(392, 272)
|
||||||
Me.TabPage1.TabIndex = 0
|
Me.TabPage1.TabIndex = 0
|
||||||
Me.TabPage1.Text = "Chat"
|
Me.TabPage1.Text = "Chat"
|
||||||
Me.TabPage1.UseVisualStyleBackColor = True
|
Me.TabPage1.UseVisualStyleBackColor = True
|
||||||
@@ -2869,7 +2887,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.UsrCntlMessenger_ListNewChats1.Location = New System.Drawing.Point(3, 3)
|
Me.UsrCntlMessenger_ListNewChats1.Location = New System.Drawing.Point(3, 3)
|
||||||
Me.UsrCntlMessenger_ListNewChats1.Margin = New System.Windows.Forms.Padding(4)
|
Me.UsrCntlMessenger_ListNewChats1.Margin = New System.Windows.Forms.Padding(4)
|
||||||
Me.UsrCntlMessenger_ListNewChats1.Name = "UsrCntlMessenger_ListNewChats1"
|
Me.UsrCntlMessenger_ListNewChats1.Name = "UsrCntlMessenger_ListNewChats1"
|
||||||
Me.UsrCntlMessenger_ListNewChats1.Size = New System.Drawing.Size(394, 266)
|
Me.UsrCntlMessenger_ListNewChats1.Size = New System.Drawing.Size(386, 266)
|
||||||
Me.UsrCntlMessenger_ListNewChats1.TabIndex = 0
|
Me.UsrCntlMessenger_ListNewChats1.TabIndex = 0
|
||||||
'
|
'
|
||||||
'btnMitarbeiterKonto
|
'btnMitarbeiterKonto
|
||||||
@@ -2882,7 +2900,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.btnMitarbeiterKonto.ForeColor = System.Drawing.Color.Black
|
Me.btnMitarbeiterKonto.ForeColor = System.Drawing.Color.Black
|
||||||
Me.btnMitarbeiterKonto.Image = Global.AVISO.My.Resources.Resources.mitarbeiter_s
|
Me.btnMitarbeiterKonto.Image = Global.AVISO.My.Resources.Resources.mitarbeiter_s
|
||||||
Me.btnMitarbeiterKonto.ImageAlign = System.Drawing.ContentAlignment.TopCenter
|
Me.btnMitarbeiterKonto.ImageAlign = System.Drawing.ContentAlignment.TopCenter
|
||||||
Me.btnMitarbeiterKonto.Location = New System.Drawing.Point(268, 307)
|
Me.btnMitarbeiterKonto.Location = New System.Drawing.Point(260, 307)
|
||||||
Me.btnMitarbeiterKonto.Name = "btnMitarbeiterKonto"
|
Me.btnMitarbeiterKonto.Name = "btnMitarbeiterKonto"
|
||||||
Me.btnMitarbeiterKonto.Size = New System.Drawing.Size(137, 61)
|
Me.btnMitarbeiterKonto.Size = New System.Drawing.Size(137, 61)
|
||||||
Me.btnMitarbeiterKonto.TabIndex = 86
|
Me.btnMitarbeiterKonto.TabIndex = 86
|
||||||
@@ -2896,7 +2914,7 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.Panel7.Dock = System.Windows.Forms.DockStyle.Top
|
Me.Panel7.Dock = System.Windows.Forms.DockStyle.Top
|
||||||
Me.Panel7.Location = New System.Drawing.Point(0, 0)
|
Me.Panel7.Location = New System.Drawing.Point(0, 0)
|
||||||
Me.Panel7.Name = "Panel7"
|
Me.Panel7.Name = "Panel7"
|
||||||
Me.Panel7.Size = New System.Drawing.Size(408, 10)
|
Me.Panel7.Size = New System.Drawing.Size(400, 10)
|
||||||
Me.Panel7.TabIndex = 4
|
Me.Panel7.TabIndex = 4
|
||||||
'
|
'
|
||||||
'UsrCntlTestsystem1
|
'UsrCntlTestsystem1
|
||||||
@@ -2916,24 +2934,6 @@ Partial Class frmHauptfensterNew
|
|||||||
Me.UidAbfrageService1.Url = "https://finanzonline.bmf.gv.at/fon/ws/uidAbfrage/"
|
Me.UidAbfrageService1.Url = "https://finanzonline.bmf.gv.at/fon/ws/uidAbfrage/"
|
||||||
Me.UidAbfrageService1.UseDefaultCredentials = False
|
Me.UidAbfrageService1.UseDefaultCredentials = False
|
||||||
'
|
'
|
||||||
'Button9
|
|
||||||
'
|
|
||||||
Me.Button9.BackColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(80, Byte), Integer), CType(CType(150, Byte), Integer))
|
|
||||||
Me.Button9.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None
|
|
||||||
Me.Button9.FlatAppearance.BorderSize = 0
|
|
||||||
Me.Button9.Font = New System.Drawing.Font("Segoe UI", 10.0!)
|
|
||||||
Me.Button9.ForeColor = System.Drawing.Color.White
|
|
||||||
Me.Button9.Location = New System.Drawing.Point(338, 79)
|
|
||||||
Me.Button9.Margin = New System.Windows.Forms.Padding(3, 16, 3, 0)
|
|
||||||
Me.Button9.Name = "Button9"
|
|
||||||
Me.Button9.Size = New System.Drawing.Size(158, 47)
|
|
||||||
Me.Button9.TabIndex = 11
|
|
||||||
Me.Button9.TabStop = False
|
|
||||||
Me.Button9.Text = "DISPO"
|
|
||||||
Me.ToolTip1.SetToolTip(Me.Button9, "Es werden alle LKWs mit Status Ankunft des aktiven Standorts angezeigt, absteigen" &
|
|
||||||
"d sortiert nach Dauer")
|
|
||||||
Me.Button9.UseVisualStyleBackColor = False
|
|
||||||
'
|
|
||||||
'frmHauptfensterNew
|
'frmHauptfensterNew
|
||||||
'
|
'
|
||||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ Public Class frmHauptfensterNew
|
|||||||
|
|
||||||
|
|
||||||
Dim SEARCH_AVISO As usrCntlHauptfenster_Suche_AVISO = Nothing
|
Dim SEARCH_AVISO As usrCntlHauptfenster_Suche_AVISO = Nothing
|
||||||
|
Dim SEARCH_CUSTOMS_CASES As usrCntlHauptfenster_Suche_Zollvorgaenge = Nothing
|
||||||
Dim SEARCH_SND As usrCntlHauptfenster_Suche_SND = Nothing
|
Dim SEARCH_SND As usrCntlHauptfenster_Suche_SND = Nothing
|
||||||
Dim SEARCH_AVISO_AKTIV As String = "AVISO"
|
Dim SEARCH_AVISO_AKTIV As String = "AVISO"
|
||||||
|
|
||||||
@@ -87,6 +88,107 @@ Public Class frmHauptfensterNew
|
|||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Private pnlLeftOriginalWidth As Integer
|
||||||
|
|
||||||
|
|
||||||
|
Private Class ButtonScaleInfo
|
||||||
|
Public OriginalWidth As Integer
|
||||||
|
Public OriginalHeight As Integer
|
||||||
|
Public OriginalFontSize As Single
|
||||||
|
End Class
|
||||||
|
|
||||||
|
Private ReadOnly _buttonScaleInfos As New Dictionary(Of Button, ButtonScaleInfo)
|
||||||
|
Private Sub frmMain_Resize(sender As Object, e As EventArgs) Handles MyBase.ResizeEnd
|
||||||
|
|
||||||
|
pnlLeftOriginalWidth = 400
|
||||||
|
|
||||||
|
Dim Panel6OriginalWidth As Integer = 228
|
||||||
|
Dim screenWidth As Integer = Me.Width
|
||||||
|
|
||||||
|
Dim schwelle1 As Integer = 1500
|
||||||
|
Dim schwelle2 As Integer = 1920
|
||||||
|
|
||||||
|
If screenWidth <= schwelle1 Then
|
||||||
|
|
||||||
|
pnlLeft.Width = CInt(pnlLeftOriginalWidth * 0.6)
|
||||||
|
Panel6.Width = CInt(Panel6OriginalWidth * 0.0)
|
||||||
|
|
||||||
|
ElseIf screenWidth <= schwelle2 Then
|
||||||
|
|
||||||
|
pnlLeft.Width = CInt(pnlLeftOriginalWidth * 0.75)
|
||||||
|
Panel6.Width = CInt(Panel6OriginalWidth * 0.5)
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
pnlLeft.Width = pnlLeftOriginalWidth
|
||||||
|
Panel6.Width = Panel6OriginalWidth
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
'Buttons skalieren
|
||||||
|
Dim buttonFaktor As Double
|
||||||
|
|
||||||
|
If screenWidth <= schwelle1 Then
|
||||||
|
buttonFaktor = 0.7
|
||||||
|
|
||||||
|
ElseIf screenWidth <= schwelle2 Then
|
||||||
|
buttonFaktor = 0.8
|
||||||
|
|
||||||
|
Else
|
||||||
|
buttonFaktor = 1.0
|
||||||
|
End If
|
||||||
|
|
||||||
|
ScaleButtons(FlowLayoutPanel1, buttonFaktor)
|
||||||
|
ScaleButtons(splitMain.Panel2, buttonFaktor)
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
Private Sub ScaleButtons(parent As Control, buttonFaktor As Double)
|
||||||
|
|
||||||
|
For Each ctrl As Control In parent.Controls
|
||||||
|
|
||||||
|
If TypeOf ctrl Is Button Then
|
||||||
|
|
||||||
|
Dim btn As Button = DirectCast(ctrl, Button)
|
||||||
|
|
||||||
|
'Originalwerte nur einmal speichern
|
||||||
|
If Not _buttonScaleInfos.ContainsKey(btn) Then
|
||||||
|
|
||||||
|
_buttonScaleInfos.Add(
|
||||||
|
btn,
|
||||||
|
New ButtonScaleInfo With {
|
||||||
|
.OriginalWidth = btn.Width,
|
||||||
|
.OriginalHeight = btn.Height,
|
||||||
|
.OriginalFontSize = btn.Font.Size
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim original As ButtonScaleInfo = _buttonScaleInfos(btn)
|
||||||
|
|
||||||
|
'Immer vom Original aus skalieren
|
||||||
|
btn.Width = CInt(original.OriginalWidth * buttonFaktor)
|
||||||
|
btn.Height = CInt(original.OriginalHeight * buttonFaktor)
|
||||||
|
|
||||||
|
btn.Font = New Font(
|
||||||
|
btn.Font.FontFamily,
|
||||||
|
original.OriginalFontSize * CSng(buttonFaktor),
|
||||||
|
btn.Font.Style
|
||||||
|
)
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
'Untergeordnete Controls ebenfalls durchsuchen
|
||||||
|
If ctrl.HasChildren Then
|
||||||
|
ScaleButtons(ctrl, buttonFaktor)
|
||||||
|
End If
|
||||||
|
|
||||||
|
Next
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
Private Sub frmHauptfenster_GotFocus(sender As Object, e As EventArgs) Handles MyBase.GotFocus
|
Private Sub frmHauptfenster_GotFocus(sender As Object, e As EventArgs) Handles MyBase.GotFocus
|
||||||
Timer1_Tick(Timer1, New EventArgs)
|
Timer1_Tick(Timer1, New EventArgs)
|
||||||
End Sub
|
End Sub
|
||||||
@@ -177,12 +279,12 @@ Public Class frmHauptfensterNew
|
|||||||
Case "CUSTOMS_CONTROLLING"
|
Case "CUSTOMS_CONTROLLING"
|
||||||
splitMainWorkingView.Panel2Collapsed = True
|
splitMainWorkingView.Panel2Collapsed = True
|
||||||
SetBtnSelectedolor(btnVIEW_CustControling)
|
SetBtnSelectedolor(btnVIEW_CustControling)
|
||||||
'If SEARCH_AVISO Is Nothing Then SEARCH_AVISO = New usrCntlHauptfenster_Suche_AVISO
|
If SEARCH_CUSTOMS_CASES Is Nothing Then SEARCH_CUSTOMS_CASES = New usrCntlHauptfenster_Suche_Zollvorgaenge
|
||||||
'SEARCH_AVISO.PARENT_FRMHAUPTFENSTER = Me
|
SEARCH_CUSTOMS_CASES.PARENT_FRMHAUPTFENSTER = Me
|
||||||
'pnlMain.Controls.Add(SEARCH_AVISO)
|
pnlMain.Controls.Add(SEARCH_CUSTOMS_CASES)
|
||||||
'SEARCH_AVISO.Dock = DockStyle.Fill
|
SEARCH_CUSTOMS_CASES.Dock = DockStyle.Fill
|
||||||
pnlMain.PerformLayout()
|
pnlMain.PerformLayout()
|
||||||
SEARCH_AVISO.PerformLayout()
|
SEARCH_CUSTOMS_CASES.PerformLayout()
|
||||||
Application.DoEvents()
|
Application.DoEvents()
|
||||||
|
|
||||||
End Select
|
End Select
|
||||||
@@ -414,6 +516,8 @@ Public Class frmHauptfensterNew
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
pnlLeftOriginalWidth = pnlLeft.Width
|
||||||
|
|
||||||
'MsgBox(VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM)
|
'MsgBox(VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM)
|
||||||
Me.AutoScaleMode = AutoScaleMode.Dpi
|
Me.AutoScaleMode = AutoScaleMode.Dpi
|
||||||
hideErr.Interval = 3000
|
hideErr.Interval = 3000
|
||||||
@@ -2014,6 +2118,8 @@ ELSE_ATILLA:
|
|||||||
Me.Size = Screen.PrimaryScreen.WorkingArea.Size
|
Me.Size = Screen.PrimaryScreen.WorkingArea.Size
|
||||||
' MsgBox(Me.Size.Height)
|
' MsgBox(Me.Size.Height)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Details_aktiv = True
|
Details_aktiv = True
|
||||||
' If gridMyAviso.RowCount > 0 Then
|
' If gridMyAviso.RowCount > 0 Then
|
||||||
'gridMyAviso.Rows(0).Selected = True
|
'gridMyAviso.Rows(0).Selected = True
|
||||||
@@ -2099,6 +2205,8 @@ ELSE_ATILLA:
|
|||||||
'Evtl abhängign vom User machen:
|
'Evtl abhängign vom User machen:
|
||||||
SWITCH_SEARCH("AVISO")
|
SWITCH_SEARCH("AVISO")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Function getTbControlWidth(tbcntr) As Integer
|
Private Function getTbControlWidth(tbcntr) As Integer
|
||||||
@@ -4218,6 +4326,7 @@ ELSE_ATILLA:
|
|||||||
|
|
||||||
Private Sub cbxChartNurGelesen_CheckedChanged(sender As Object, e As EventArgs) Handles cbxChartNurGelesen.CheckedChanged
|
Private Sub cbxChartNurGelesen_CheckedChanged(sender As Object, e As EventArgs) Handles cbxChartNurGelesen.CheckedChanged
|
||||||
VERAG_PROG_ALLGEMEIN.cGlobal.CHAT_NurGelesen = cbxChartNurGelesen.Checked
|
VERAG_PROG_ALLGEMEIN.cGlobal.CHAT_NurGelesen = cbxChartNurGelesen.Checked
|
||||||
|
UsrCntlMessenger_ListNewChats1.initFontSizeSmaller()
|
||||||
UsrCntlMessenger_ListNewChats1.intiDGVChats()
|
UsrCntlMessenger_ListNewChats1.intiDGVChats()
|
||||||
End Sub
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
4204
Aviso/frmSendungsdetailsNEU.Designer.vb
generated
@@ -1,17 +1,17 @@
|
|||||||
Imports VERAG_PROG_ALLGEMEIN
|
Imports System.Data.SqlClient
|
||||||
|
|
||||||
Imports VERAG_PROG_ALLGEMEIN.cMeineFunktionenAVISO
|
|
||||||
Imports System.Drawing.Printing
|
Imports System.Drawing.Printing
|
||||||
|
Imports System.Globalization
|
||||||
|
Imports System.IO
|
||||||
Imports System.Management
|
Imports System.Management
|
||||||
Imports System.Data.SqlClient
|
Imports DAKOSY_Worker
|
||||||
|
Imports DocumentFormat.OpenXml.Presentation
|
||||||
|
Imports EAGetMail
|
||||||
|
Imports iText.Layout.Element
|
||||||
Imports iTextSharp.text.pdf
|
Imports iTextSharp.text.pdf
|
||||||
Imports Microsoft.Office.Interop
|
Imports Microsoft.Office.Interop
|
||||||
Imports DocumentFormat.OpenXml.Presentation
|
|
||||||
Imports SDL
|
Imports SDL
|
||||||
Imports System.IO
|
Imports VERAG_PROG_ALLGEMEIN
|
||||||
Imports EAGetMail
|
Imports VERAG_PROG_ALLGEMEIN.cMeineFunktionenAVISO
|
||||||
Imports System.Globalization
|
|
||||||
Imports iText.Layout.Element
|
|
||||||
|
|
||||||
Public Class frmSendungsdetailsNEU
|
Public Class frmSendungsdetailsNEU
|
||||||
Public AvisoId As Integer
|
Public AvisoId As Integer
|
||||||
@@ -404,7 +404,7 @@ Public Class frmSendungsdetailsNEU
|
|||||||
rtbValidierung.Text &= err & vbNewLine : pnlValidation.Visible = True
|
rtbValidierung.Text &= err & vbNewLine : pnlValidation.Visible = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -423,7 +423,7 @@ Public Class frmSendungsdetailsNEU
|
|||||||
|
|
||||||
Sub NEXT_SENDUNG()
|
Sub NEXT_SENDUNG()
|
||||||
loadDataInLIST()
|
loadDataInLIST()
|
||||||
If CURRENT_INDEX + 1 <SENDUNG_LIST.Count Then
|
If CURRENT_INDEX + 1 < SENDUNG_LIST.Count Then
|
||||||
CURRENT_INDEX += 1
|
CURRENT_INDEX += 1
|
||||||
initDataBinding()
|
initDataBinding()
|
||||||
' initButtons()
|
' initButtons()
|
||||||
@@ -735,7 +735,7 @@ Public Class frmSendungsdetailsNEU
|
|||||||
cboFiliale._allowFreiText = Nothing
|
cboFiliale._allowFreiText = Nothing
|
||||||
Case Else
|
Case Else
|
||||||
Select Case VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA
|
Select Case VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA
|
||||||
Case "VERAG" : cboFiliale._allowedValuesFreiText = {"4803", "4809", "4805", "4806", "4811", "5003", "5303", "5103", "4839", "7001"}
|
Case "VERAG" : cboFiliale._allowedValuesFreiText = {"4803", "4809", "4805", "4806", "4811", "5003", "5303", "5103", "4839", "6101", "7001"}
|
||||||
Case "IMEX" : cboFiliale._allowedValuesFreiText = {"5501"}
|
Case "IMEX" : cboFiliale._allowedValuesFreiText = {"5501"}
|
||||||
Case "UNISPED" : cboFiliale._allowedValuesFreiText = {"5601"}
|
Case "UNISPED" : cboFiliale._allowedValuesFreiText = {"5601"}
|
||||||
Case "AMBAR" : cboFiliale._allowedValuesFreiText = {"5701"}
|
Case "AMBAR" : cboFiliale._allowedValuesFreiText = {"5701"}
|
||||||
@@ -1548,11 +1548,11 @@ Public Class frmSendungsdetailsNEU
|
|||||||
|
|
||||||
Select Case VERAG_PROG_ALLGEMEIN.cAllgemein.CLUSTER
|
Select Case VERAG_PROG_ALLGEMEIN.cAllgemein.CLUSTER
|
||||||
Case "FRONTOFFICE"
|
Case "FRONTOFFICE"
|
||||||
whereFiliale = " AND FilialenNr IN (4803,4805,4811,5003,5303,5103,4839,5501,5601,5701,5801,5802,7001) "
|
whereFiliale = " AND FilialenNr IN (4803,4805,4811,5003,5303,5103,4839,5501,5601,5701,5801,5802,6101,7001) "
|
||||||
If VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA = "AMBAR" Then
|
If VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA = "AMBAR" Then
|
||||||
whereFiliale = " AND FilialenNr IN (4803,4805,4811,5003,5303,5103,4839,5501,5601,5801,5802,5701,7001) "
|
whereFiliale = " AND FilialenNr IN (4803,4805,4811,5003,5303,5103,4839,5501,5601,5801,5802,5701,6101,7001) "
|
||||||
ElseIf VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA = "VERIMEX" Then
|
ElseIf VERAG_PROG_ALLGEMEIN.cAllgemein.FIRMA = "VERIMEX" Then
|
||||||
whereFiliale = " AND FilialenNr IN (4801,4802,4803,4805,4811,5003,5303,5103,4839,5501,5601,5801,5802,5701,7001) "
|
whereFiliale = " AND FilialenNr IN (4801,4802,4803,4805,4811,5003,5303,5103,4839,5501,5601,5801,5802,5701,6101,7001) "
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Case Else
|
Case Else
|
||||||
@@ -7683,6 +7683,21 @@ Public Class frmSendungsdetailsNEU
|
|||||||
TextHTML = TextHTML.Replace("%LKW%", AVISO.LKW_Nr)
|
TextHTML = TextHTML.Replace("%LKW%", AVISO.LKW_Nr)
|
||||||
TextHTML = TextHTML.Replace("%LKWKennzeichen%", AVISO.LKW_Nr)
|
TextHTML = TextHTML.Replace("%LKWKennzeichen%", AVISO.LKW_Nr)
|
||||||
|
|
||||||
|
If AVISO.VORPAPIERE IsNot Nothing AndAlso AVISO.VORPAPIERE.Count > 0 Then
|
||||||
|
Dim VorpapierNr As String = ""
|
||||||
|
|
||||||
|
For Each VORP In AVISO.VORPAPIERE
|
||||||
|
VorpapierNr &= VORP.vp_Nr & ","
|
||||||
|
Next
|
||||||
|
|
||||||
|
If VorpapierNr <> "" AndAlso VorpapierNr.ToString.EndsWith(",") Then
|
||||||
|
VorpapierNr = VorpapierNr.Substring(0, VorpapierNr.Length - 1)
|
||||||
|
End If
|
||||||
|
|
||||||
|
TextHTML = TextHTML.Replace("%VorpapierNr%", VorpapierNr)
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
If AVISO.VoraussichtlichesEintreffen IsNot Nothing Then
|
If AVISO.VoraussichtlichesEintreffen IsNot Nothing Then
|
||||||
TextHTML = TextHTML.Replace("%voraus-Eintreffen%", CDate(AVISO.VoraussichtlichesEintreffen).ToShortDateString)
|
TextHTML = TextHTML.Replace("%voraus-Eintreffen%", CDate(AVISO.VoraussichtlichesEintreffen).ToShortDateString)
|
||||||
Mail.Subject = Mail.Subject.Replace("%voraus-Eintreffen%", CDate(AVISO.VoraussichtlichesEintreffen).ToShortDateString)
|
Mail.Subject = Mail.Subject.Replace("%voraus-Eintreffen%", CDate(AVISO.VoraussichtlichesEintreffen).ToShortDateString)
|
||||||
@@ -7772,6 +7787,7 @@ Public Class frmSendungsdetailsNEU
|
|||||||
TextHTML = TextHTML.Replace("%Gewicht%", "")
|
TextHTML = TextHTML.Replace("%Gewicht%", "")
|
||||||
TextHTML = TextHTML.Replace("%ImEx%", "")
|
TextHTML = TextHTML.Replace("%ImEx%", "")
|
||||||
TextHTML = TextHTML.Replace("%Zollstelle%", "")
|
TextHTML = TextHTML.Replace("%Zollstelle%", "")
|
||||||
|
TextHTML = TextHTML.Replace("T1.: %VorpapierNr%", "")
|
||||||
|
|
||||||
For Each anh As DataGridViewRow In dgvAnhang.SelectedRows
|
For Each anh As DataGridViewRow In dgvAnhang.SelectedRows
|
||||||
Mail.Attachments.Add(VERAG_PROG_ALLGEMEIN.cDATENSERVER.GET_PDFPath_BY_DocID(anh.Cells("anh_docId").Value), Microsoft.Office.Interop.Outlook.OlAttachmentType.olByValue)
|
Mail.Attachments.Add(VERAG_PROG_ALLGEMEIN.cDATENSERVER.GET_PDFPath_BY_DocID(anh.Cells("anh_docId").Value), Microsoft.Office.Interop.Outlook.OlAttachmentType.olByValue)
|
||||||
@@ -8224,18 +8240,61 @@ Public Class frmSendungsdetailsNEU
|
|||||||
|
|
||||||
Private Sub btnATEZNewEZA_Click(sender As Object, e As EventArgs) Handles btnATEZNewEZA.Click
|
Private Sub btnATEZNewEZA_Click(sender As Object, e As EventArgs) Handles btnATEZNewEZA.Click
|
||||||
SAVE_ME()
|
SAVE_ME()
|
||||||
|
|
||||||
Try
|
Try
|
||||||
If SENDUNG_LIST IsNot Nothing AndAlso SENDUNG_LIST.Count > 0 Then
|
|
||||||
Dim SND As VERAG_PROG_ALLGEMEIN.cSendungen = SENDUNG_LIST(CURRENT_INDEX)
|
|
||||||
Dim frmAttilaATEZNCTS = New frmATEZ_EZA(AVISO, SND, Now.ToString("yy"), dgvATEZNCTS)
|
|
||||||
frmAttilaATEZNCTS.Show(Me)
|
|
||||||
|
|
||||||
AddHandler frmAttilaATEZNCTS.FormClosing, Function()
|
Select Case cboAbfertigungsLand._value
|
||||||
initdgvATEZ()
|
|
||||||
Me.BringToFront()
|
Case "DE"
|
||||||
End Function
|
If SENDUNG_LIST IsNot Nothing AndAlso SENDUNG_LIST.Count > 0 Then
|
||||||
End If
|
Dim SND As VERAG_PROG_ALLGEMEIN.cSendungen = SENDUNG_LIST(CURRENT_INDEX)
|
||||||
|
Dim frmAttilaATEZNCTS = New frmATEZ_EZA(AVISO, SND, Now.ToString("yy"))
|
||||||
|
frmAttilaATEZNCTS.Show(Me)
|
||||||
|
|
||||||
|
AddHandler frmAttilaATEZNCTS.FormClosing, Function()
|
||||||
|
initdgvATEZ()
|
||||||
|
Me.BringToFront()
|
||||||
|
End Function
|
||||||
|
End If
|
||||||
|
|
||||||
|
Case "UK", "GB"
|
||||||
|
|
||||||
|
If SENDUNG_LIST IsNot Nothing AndAlso SENDUNG_LIST.Count > 0 Then
|
||||||
|
Dim SND As VERAG_PROG_ALLGEMEIN.cSendungen = SENDUNG_LIST(CURRENT_INDEX)
|
||||||
|
Dim frmAttilaATEZNCTS = New frmATEZ_UK_MODAL(AVISO, SND, Now.ToString("yy"))
|
||||||
|
frmAttilaATEZNCTS.Show(Me)
|
||||||
|
|
||||||
|
AddHandler frmAttilaATEZNCTS.FormClosing, Function()
|
||||||
|
initdgvATEZ()
|
||||||
|
Me.BringToFront()
|
||||||
|
End Function
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
Case "NL"
|
||||||
|
If SENDUNG_LIST IsNot Nothing AndAlso SENDUNG_LIST.Count > 0 Then
|
||||||
|
Dim SND As VERAG_PROG_ALLGEMEIN.cSendungen = SENDUNG_LIST(CURRENT_INDEX)
|
||||||
|
Dim frmAttilaATEZNCTS = New frmATEZ_MIC(AVISO, SND, Now.ToString("yy"))
|
||||||
|
frmAttilaATEZNCTS.Show(Me)
|
||||||
|
|
||||||
|
AddHandler frmAttilaATEZNCTS.FormClosing, Function()
|
||||||
|
initdgvATEZ()
|
||||||
|
Me.BringToFront()
|
||||||
|
End Function
|
||||||
|
End If
|
||||||
|
Case "AT"
|
||||||
|
If SENDUNG_LIST IsNot Nothing AndAlso SENDUNG_LIST.Count > 0 Then
|
||||||
|
Dim SND As VERAG_PROG_ALLGEMEIN.cSendungen = SENDUNG_LIST(CURRENT_INDEX)
|
||||||
|
Dim frmAttilaATEZNCTS = New frmATEZ_TELOTEC(AVISO, SND, Now.ToString("yy"))
|
||||||
|
frmAttilaATEZNCTS.Show(Me)
|
||||||
|
|
||||||
|
AddHandler frmAttilaATEZNCTS.FormClosing, Function()
|
||||||
|
initdgvATEZ()
|
||||||
|
Me.BringToFront()
|
||||||
|
End Function
|
||||||
|
End If
|
||||||
|
End Select
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox(ex.Message & ex.StackTrace)
|
MsgBox(ex.Message & ex.StackTrace)
|
||||||
@@ -8349,4 +8408,60 @@ Public Class frmSendungsdetailsNEU
|
|||||||
Return value.All(Function(c) Char.IsLetterOrDigit(c))
|
Return value.All(Function(c) Char.IsLetterOrDigit(c))
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
Private Sub Button20_Click_2(sender As Object, e As EventArgs) Handles Button20.Click
|
||||||
|
SAVE_ME()
|
||||||
|
Try
|
||||||
|
|
||||||
|
|
||||||
|
If SENDUNG_LIST IsNot Nothing AndAlso SENDUNG_LIST.Count > 0 Then
|
||||||
|
Dim SND As VERAG_PROG_ALLGEMEIN.cSendungen = SENDUNG_LIST(CURRENT_INDEX)
|
||||||
|
Dim frmAttilaATEZNCTS = New frmATEZ_MIC(AVISO, SND, Now.ToString("yy"))
|
||||||
|
frmAttilaATEZNCTS.Show(Me)
|
||||||
|
|
||||||
|
AddHandler frmAttilaATEZNCTS.FormClosing, Function()
|
||||||
|
initdgvATEZ()
|
||||||
|
Me.BringToFront()
|
||||||
|
End Function
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox(ex.Message & ex.StackTrace)
|
||||||
|
End Try
|
||||||
|
Me.Cursor = Cursors.Default
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Private Sub TestFillTetrapakToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles TestFillTetrapakToolStripMenuItem.Click
|
||||||
|
Try
|
||||||
|
If CURRENT_INDEX < 0 OrElse CURRENT_INDEX >= SENDUNG_LIST.Count Then Exit Sub
|
||||||
|
|
||||||
|
Dim SND = SENDUNG_LIST(CURRENT_INDEX)
|
||||||
|
|
||||||
|
|
||||||
|
Dim ZA = cVERAG_CustomsDeclarations.loadBySendungsID(SND.tblSnd_SendungID, True)
|
||||||
|
|
||||||
|
If ZA Is Nothing Then
|
||||||
|
MsgBox("Keine Zollanmeldung gefunden.")
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim eza = cDakosyEZA.LOADByMRN(ZA.za_MRN, True)
|
||||||
|
If eza Is Nothing Then
|
||||||
|
MsgBox("Keine DAKOSY-EZA gefunden: " & ZA.za_MRN)
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim importer As New cImporter_DakosyToVERAG
|
||||||
|
importer.UpdateBrokerManagementFileTETRAPAK(ZA)
|
||||||
|
|
||||||
|
MsgBox("BrokerManagementFile wurde aktualisiert.")
|
||||||
|
Catch ex As Exception
|
||||||
|
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||||
|
MsgBox("Fehler: " & ex.Message)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
36
Aviso/usrCntlSND_ATBGestellung.Designer.vb
generated
@@ -37,12 +37,14 @@ Partial Class usrCntlSND_ATBGestellung
|
|||||||
Me.Label3 = New System.Windows.Forms.Label()
|
Me.Label3 = New System.Windows.Forms.Label()
|
||||||
Me.txtT1VerzollungsadresseBestimmungszollstelle = New VERAG_PROG_ALLGEMEIN.MySearchBox()
|
Me.txtT1VerzollungsadresseBestimmungszollstelle = New VERAG_PROG_ALLGEMEIN.MySearchBox()
|
||||||
Me.Label33 = New System.Windows.Forms.Label()
|
Me.Label33 = New System.Windows.Forms.Label()
|
||||||
|
Me.Button3 = New System.Windows.Forms.Button()
|
||||||
Me.pnlT1.SuspendLayout()
|
Me.pnlT1.SuspendLayout()
|
||||||
CType(Me.PictureBox5, System.ComponentModel.ISupportInitialize).BeginInit()
|
CType(Me.PictureBox5, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
Me.SuspendLayout()
|
Me.SuspendLayout()
|
||||||
'
|
'
|
||||||
'pnlT1
|
'pnlT1
|
||||||
'
|
'
|
||||||
|
Me.pnlT1.Controls.Add(Me.Button3)
|
||||||
Me.pnlT1.Controls.Add(Me.Button2)
|
Me.pnlT1.Controls.Add(Me.Button2)
|
||||||
Me.pnlT1.Controls.Add(Me.PictureBox5)
|
Me.pnlT1.Controls.Add(Me.PictureBox5)
|
||||||
Me.pnlT1.Controls.Add(Me.txtT1Datum)
|
Me.pnlT1.Controls.Add(Me.txtT1Datum)
|
||||||
@@ -59,14 +61,14 @@ Partial Class usrCntlSND_ATBGestellung
|
|||||||
Me.pnlT1.Controls.Add(Me.Label33)
|
Me.pnlT1.Controls.Add(Me.Label33)
|
||||||
Me.pnlT1.Location = New System.Drawing.Point(0, 0)
|
Me.pnlT1.Location = New System.Drawing.Point(0, 0)
|
||||||
Me.pnlT1.Name = "pnlT1"
|
Me.pnlT1.Name = "pnlT1"
|
||||||
Me.pnlT1.Size = New System.Drawing.Size(549, 125)
|
Me.pnlT1.Size = New System.Drawing.Size(549, 129)
|
||||||
Me.pnlT1.TabIndex = 0
|
Me.pnlT1.TabIndex = 0
|
||||||
'
|
'
|
||||||
'Button2
|
'Button2
|
||||||
'
|
'
|
||||||
Me.Button2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
Me.Button2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
||||||
Me.Button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
Me.Button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||||
Me.Button2.Location = New System.Drawing.Point(424, 94)
|
Me.Button2.Location = New System.Drawing.Point(296, 95)
|
||||||
Me.Button2.Name = "Button2"
|
Me.Button2.Name = "Button2"
|
||||||
Me.Button2.Size = New System.Drawing.Size(94, 28)
|
Me.Button2.Size = New System.Drawing.Size(94, 28)
|
||||||
Me.Button2.TabIndex = 133
|
Me.Button2.TabIndex = 133
|
||||||
@@ -100,7 +102,7 @@ Partial Class usrCntlSND_ATBGestellung
|
|||||||
Me.txtT1Datum._WaehrungZeichen = True
|
Me.txtT1Datum._WaehrungZeichen = True
|
||||||
Me.txtT1Datum.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
Me.txtT1Datum.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
Me.txtT1Datum.ForeColor = System.Drawing.Color.Black
|
Me.txtT1Datum.ForeColor = System.Drawing.Color.Black
|
||||||
Me.txtT1Datum.Location = New System.Drawing.Point(272, 33)
|
Me.txtT1Datum.Location = New System.Drawing.Point(272, 26)
|
||||||
Me.txtT1Datum.MaxLength = 10
|
Me.txtT1Datum.MaxLength = 10
|
||||||
Me.txtT1Datum.MaxLineLength = -1
|
Me.txtT1Datum.MaxLineLength = -1
|
||||||
Me.txtT1Datum.MaxLines_Warning = ""
|
Me.txtT1Datum.MaxLines_Warning = ""
|
||||||
@@ -113,7 +115,7 @@ Partial Class usrCntlSND_ATBGestellung
|
|||||||
'
|
'
|
||||||
Me.DateTimePicker1.CustomFormat = "''"
|
Me.DateTimePicker1.CustomFormat = "''"
|
||||||
Me.DateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom
|
Me.DateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom
|
||||||
Me.DateTimePicker1.Location = New System.Drawing.Point(272, 33)
|
Me.DateTimePicker1.Location = New System.Drawing.Point(272, 26)
|
||||||
Me.DateTimePicker1.Margin = New System.Windows.Forms.Padding(0)
|
Me.DateTimePicker1.Margin = New System.Windows.Forms.Padding(0)
|
||||||
Me.DateTimePicker1.Name = "DateTimePicker1"
|
Me.DateTimePicker1.Name = "DateTimePicker1"
|
||||||
Me.DateTimePicker1.RightToLeft = System.Windows.Forms.RightToLeft.No
|
Me.DateTimePicker1.RightToLeft = System.Windows.Forms.RightToLeft.No
|
||||||
@@ -124,7 +126,7 @@ Partial Class usrCntlSND_ATBGestellung
|
|||||||
'
|
'
|
||||||
Me.Label1.AutoSize = True
|
Me.Label1.AutoSize = True
|
||||||
Me.Label1.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
Me.Label1.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
Me.Label1.Location = New System.Drawing.Point(158, 36)
|
Me.Label1.Location = New System.Drawing.Point(158, 29)
|
||||||
Me.Label1.Name = "Label1"
|
Me.Label1.Name = "Label1"
|
||||||
Me.Label1.Size = New System.Drawing.Size(101, 13)
|
Me.Label1.Size = New System.Drawing.Size(101, 13)
|
||||||
Me.Label1.TabIndex = 26
|
Me.Label1.TabIndex = 26
|
||||||
@@ -179,7 +181,7 @@ Partial Class usrCntlSND_ATBGestellung
|
|||||||
Me.txtATBNr._Waehrung = False
|
Me.txtATBNr._Waehrung = False
|
||||||
Me.txtATBNr._WaehrungZeichen = True
|
Me.txtATBNr._WaehrungZeichen = True
|
||||||
Me.txtATBNr.ForeColor = System.Drawing.Color.Black
|
Me.txtATBNr.ForeColor = System.Drawing.Color.Black
|
||||||
Me.txtATBNr.Location = New System.Drawing.Point(121, 56)
|
Me.txtATBNr.Location = New System.Drawing.Point(121, 49)
|
||||||
Me.txtATBNr.MaxLineLength = -1
|
Me.txtATBNr.MaxLineLength = -1
|
||||||
Me.txtATBNr.MaxLines_Warning = ""
|
Me.txtATBNr.MaxLines_Warning = ""
|
||||||
Me.txtATBNr.MaxLines_Warning_Label = Nothing
|
Me.txtATBNr.MaxLines_Warning_Label = Nothing
|
||||||
@@ -202,7 +204,7 @@ Partial Class usrCntlSND_ATBGestellung
|
|||||||
Me.txtATBT1._Waehrung = False
|
Me.txtATBT1._Waehrung = False
|
||||||
Me.txtATBT1._WaehrungZeichen = True
|
Me.txtATBT1._WaehrungZeichen = True
|
||||||
Me.txtATBT1.ForeColor = System.Drawing.Color.Black
|
Me.txtATBT1.ForeColor = System.Drawing.Color.Black
|
||||||
Me.txtATBT1.Location = New System.Drawing.Point(121, 11)
|
Me.txtATBT1.Location = New System.Drawing.Point(121, 4)
|
||||||
Me.txtATBT1.MaxLineLength = -1
|
Me.txtATBT1.MaxLineLength = -1
|
||||||
Me.txtATBT1.MaxLines_Warning = ""
|
Me.txtATBT1.MaxLines_Warning = ""
|
||||||
Me.txtATBT1.MaxLines_Warning_Label = Nothing
|
Me.txtATBT1.MaxLines_Warning_Label = Nothing
|
||||||
@@ -214,7 +216,7 @@ Partial Class usrCntlSND_ATBGestellung
|
|||||||
'
|
'
|
||||||
Me.Label4.AutoSize = True
|
Me.Label4.AutoSize = True
|
||||||
Me.Label4.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
Me.Label4.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
Me.Label4.Location = New System.Drawing.Point(23, 59)
|
Me.Label4.Location = New System.Drawing.Point(23, 52)
|
||||||
Me.Label4.Name = "Label4"
|
Me.Label4.Name = "Label4"
|
||||||
Me.Label4.Size = New System.Drawing.Size(92, 13)
|
Me.Label4.Size = New System.Drawing.Size(92, 13)
|
||||||
Me.Label4.TabIndex = 20
|
Me.Label4.TabIndex = 20
|
||||||
@@ -223,7 +225,7 @@ Partial Class usrCntlSND_ATBGestellung
|
|||||||
'Label3
|
'Label3
|
||||||
'
|
'
|
||||||
Me.Label3.AutoSize = True
|
Me.Label3.AutoSize = True
|
||||||
Me.Label3.Location = New System.Drawing.Point(23, 81)
|
Me.Label3.Location = New System.Drawing.Point(23, 74)
|
||||||
Me.Label3.Name = "Label3"
|
Me.Label3.Name = "Label3"
|
||||||
Me.Label3.Size = New System.Drawing.Size(51, 13)
|
Me.Label3.Size = New System.Drawing.Size(51, 13)
|
||||||
Me.Label3.TabIndex = 15
|
Me.Label3.TabIndex = 15
|
||||||
@@ -243,7 +245,7 @@ Partial Class usrCntlSND_ATBGestellung
|
|||||||
Me.txtT1VerzollungsadresseBestimmungszollstelle.INVISIBLE_COLUMNS = Nothing
|
Me.txtT1VerzollungsadresseBestimmungszollstelle.INVISIBLE_COLUMNS = Nothing
|
||||||
Me.txtT1VerzollungsadresseBestimmungszollstelle.key_visible = False
|
Me.txtT1VerzollungsadresseBestimmungszollstelle.key_visible = False
|
||||||
Me.txtT1VerzollungsadresseBestimmungszollstelle.KEYPARAM = Nothing
|
Me.txtT1VerzollungsadresseBestimmungszollstelle.KEYPARAM = Nothing
|
||||||
Me.txtT1VerzollungsadresseBestimmungszollstelle.Location = New System.Drawing.Point(121, 78)
|
Me.txtT1VerzollungsadresseBestimmungszollstelle.Location = New System.Drawing.Point(121, 71)
|
||||||
Me.txtT1VerzollungsadresseBestimmungszollstelle.MaxLength = 8
|
Me.txtT1VerzollungsadresseBestimmungszollstelle.MaxLength = 8
|
||||||
Me.txtT1VerzollungsadresseBestimmungszollstelle.Name = "txtT1VerzollungsadresseBestimmungszollstelle"
|
Me.txtT1VerzollungsadresseBestimmungszollstelle.Name = "txtT1VerzollungsadresseBestimmungszollstelle"
|
||||||
Me.txtT1VerzollungsadresseBestimmungszollstelle.searchActive = True
|
Me.txtT1VerzollungsadresseBestimmungszollstelle.searchActive = True
|
||||||
@@ -259,12 +261,23 @@ Partial Class usrCntlSND_ATBGestellung
|
|||||||
'
|
'
|
||||||
Me.Label33.AutoSize = True
|
Me.Label33.AutoSize = True
|
||||||
Me.Label33.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
Me.Label33.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||||
Me.Label33.Location = New System.Drawing.Point(23, 14)
|
Me.Label33.Location = New System.Drawing.Point(23, 7)
|
||||||
Me.Label33.Name = "Label33"
|
Me.Label33.Name = "Label33"
|
||||||
Me.Label33.Size = New System.Drawing.Size(79, 13)
|
Me.Label33.Size = New System.Drawing.Size(79, 13)
|
||||||
Me.Label33.TabIndex = 3
|
Me.Label33.TabIndex = 3
|
||||||
Me.Label33.Text = "Vorpapier / T1:"
|
Me.Label33.Text = "Vorpapier / T1:"
|
||||||
'
|
'
|
||||||
|
'Button3
|
||||||
|
'
|
||||||
|
Me.Button3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
|
||||||
|
Me.Button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat
|
||||||
|
Me.Button3.Location = New System.Drawing.Point(397, 88)
|
||||||
|
Me.Button3.Name = "Button3"
|
||||||
|
Me.Button3.Size = New System.Drawing.Size(149, 35)
|
||||||
|
Me.Button3.TabIndex = 134
|
||||||
|
Me.Button3.Text = "SUMA (vorzeitig) senden >>"
|
||||||
|
Me.Button3.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
'usrCntlSND_ATBGestellung
|
'usrCntlSND_ATBGestellung
|
||||||
'
|
'
|
||||||
Me.Controls.Add(Me.pnlT1)
|
Me.Controls.Add(Me.pnlT1)
|
||||||
@@ -291,4 +304,5 @@ Partial Class usrCntlSND_ATBGestellung
|
|||||||
Friend WithEvents DateTimePicker1 As DateTimePicker
|
Friend WithEvents DateTimePicker1 As DateTimePicker
|
||||||
Friend WithEvents PictureBox5 As PictureBox
|
Friend WithEvents PictureBox5 As PictureBox
|
||||||
Friend WithEvents Button2 As Button
|
Friend WithEvents Button2 As Button
|
||||||
|
Friend WithEvents Button3 As Button
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -447,4 +447,105 @@ Public Class usrCntlSND_ATBGestellung
|
|||||||
Return existingVorpapier
|
Return existingVorpapier
|
||||||
|
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
|
||||||
|
|
||||||
|
Me.Refresh()
|
||||||
|
Me.Cursor = Cursors.WaitCursor
|
||||||
|
' Dim WarenwertEUR As Double = 0
|
||||||
|
|
||||||
|
Dim f As frmSendungsdetailsNEU = Me.FindForm
|
||||||
|
If f.SAVE_ME() Then
|
||||||
|
|
||||||
|
'Dim INfoVorpapier As String = ""
|
||||||
|
|
||||||
|
'If Not checkSendungenVorpapierte(f.SENDUNG_LIST, INfoVorpapier) Then MsgBox(INfoVorpapier) : Exit Sub
|
||||||
|
|
||||||
|
SND = f.SENDUNG_LIST(f.CURRENT_INDEX)
|
||||||
|
|
||||||
|
|
||||||
|
If If(SND.tblSnd_ATB_T1, "") = "" Then MsgBox("T1/Vorpapier angeben!") : Exit Sub
|
||||||
|
|
||||||
|
If Not IsValid18AlphaNumericCode(If(SND.tblSnd_ATB_T1, "")) Then MsgBox("T1/Vorpapier nicht korrekt (18-stellig)!") : Exit Sub
|
||||||
|
|
||||||
|
If If(SND.tblSnd_Zollsystem_Land, "") = "" Then MsgBox("Abf-Land muss angegeben werden!") : Exit Sub
|
||||||
|
If If(SND.tblSnd_Zollsystem_Land, "") <> "DE" Then MsgBox("AbfNur in DE möglich!") : Exit Sub
|
||||||
|
|
||||||
|
If SND.tblSnd_T1_Frist IsNot Nothing AndAlso IsDate(SND.tblSnd_T1_Frist) Then
|
||||||
|
If CDate(SND.tblSnd_T1_Frist) >= Today() Then
|
||||||
|
'-> OK
|
||||||
|
Else
|
||||||
|
MsgBox("T1 Frist ist abgelaufen!")
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
Else
|
||||||
|
MsgBox("T1 Frist muss befüllt werden")
|
||||||
|
Exit Sub
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Dim Standort As String = ""
|
||||||
|
Dim firmaID As Integer = -1
|
||||||
|
|
||||||
|
Select Case SND.FilialenNr
|
||||||
|
Case 4803, 4809
|
||||||
|
Standort = Sicherheiten_Standort.VERAG_AG : firmaID = 1
|
||||||
|
Case 5601
|
||||||
|
Standort = Sicherheiten_Standort.UNISPED : firmaID = 21
|
||||||
|
Case 5701
|
||||||
|
Standort = Sicherheiten_Standort.AMBAR : firmaID = 24
|
||||||
|
Case 4810, 5103, 5901
|
||||||
|
Standort = Sicherheiten_Standort.VERAG_GMBH : firmaID = 2
|
||||||
|
Case 5501
|
||||||
|
Standort = Sicherheiten_Standort.IMEX : firmaID = 20
|
||||||
|
End Select
|
||||||
|
|
||||||
|
''sonderfälle lt. Mestan
|
||||||
|
'If SND.tblSnd_Zollsystem_Land = "DE" Then
|
||||||
|
|
||||||
|
' Select Case SND.FilialenNr
|
||||||
|
' Case 5501, 4803, 4809, 5103
|
||||||
|
' Standort = Sicherheiten_Standort.VERAG_GMBH : firmaID = 2
|
||||||
|
' End Select
|
||||||
|
|
||||||
|
'ElseIf SND.tblSnd_Zollsystem_Land = "AT" Then
|
||||||
|
|
||||||
|
' If SND.tblSnd_Abfertigungsart_ID = 1 Then 'ZA
|
||||||
|
' Standort = Sicherheiten_Standort.VERAG_CS : firmaID = 11
|
||||||
|
' ElseIf SND.tblSnd_Abfertigungsart_ID = 38 Then 'EV-Verz
|
||||||
|
' Select Case SND.FilialenNr
|
||||||
|
' Case 4803, 5303, 4809, 5103
|
||||||
|
' Standort = Sicherheiten_Standort.VERAG_CS : firmaID = 11
|
||||||
|
' End Select
|
||||||
|
|
||||||
|
' End If
|
||||||
|
|
||||||
|
'End If
|
||||||
|
|
||||||
|
If isZollern(SND) Then
|
||||||
|
|
||||||
|
Standort = Sicherheiten_Standort.ZOLLERN : firmaID = 90
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Dim frMZA As New SDL.frmZollanmeldung("SUMA", Nothing, AVISO, SND, Now.ToString("yy"), GesSichRef, Standort, WarenwertEUR, gsnr_proLKW_global)
|
||||||
|
|
||||||
|
frMZA.Show()
|
||||||
|
|
||||||
|
|
||||||
|
AddHandler frMZA.FormClosed, Sub()
|
||||||
|
initGesamtsicherheiten()
|
||||||
|
' initdgvZollAnmeldungen()
|
||||||
|
End Sub
|
||||||
|
Else
|
||||||
|
MsgBox("Fehler beim Speichern. Ankunftsanzeige abgebrochen.")
|
||||||
|
End If
|
||||||
|
Me.Cursor = Cursors.Default
|
||||||
|
End Sub
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
BIN
Diverses/pdf_magic.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
Diverses/sendto/dakosy_de.png
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
Diverses/sendto/mic_nl.png
Normal file
|
After Width: | Height: | Size: 643 KiB |
BIN
Diverses/sendto/modaltrans_uk.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
Diverses/sendto/teleotc-at.png
Normal file
|
After Width: | Height: | Size: 703 KiB |
@@ -432,9 +432,12 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="Resources\FO.png" />
|
<Content Include="Resources\FO.png" />
|
||||||
<Content Include="Resources\VERIMEX.png">
|
<None Include="Resources\VENLO.png">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</Content>
|
</None>
|
||||||
|
<None Include="Resources\VERIMEX.png">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\..\..\ADMIN\ADMIN\DAKOSY_Worker\DAKOSY_Worker_lib.vbproj">
|
<ProjectReference Include="..\..\..\ADMIN\ADMIN\DAKOSY_Worker\DAKOSY_Worker_lib.vbproj">
|
||||||
|
|||||||
20
Gemeinsames/My Project/Resources.Designer.vb
generated
@@ -160,6 +160,26 @@ Namespace My.Resources
|
|||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property VENLO() As System.Drawing.Bitmap
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("VENLO", resourceCulture)
|
||||||
|
Return CType(obj,System.Drawing.Bitmap)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property VERIMEX() As System.Drawing.Bitmap
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("VERIMEX", resourceCulture)
|
||||||
|
Return CType(obj,System.Drawing.Bitmap)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
'''<summary>
|
'''<summary>
|
||||||
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
''' Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||||
'''</summary>
|
'''</summary>
|
||||||
|
|||||||
@@ -145,6 +145,12 @@
|
|||||||
<data name="UNISPED" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="UNISPED" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\UNISPED.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\UNISPED.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="VENLO" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\VENLO.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="VERIMEX" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\VERIMEX.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
<data name="WAI" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="WAI" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\WAI.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\WAI.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
BIN
Gemeinsames/Resources/VENLO.png
Normal file
|
After Width: | Height: | Size: 188 KiB |
|
Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 198 KiB |