merge
This commit is contained in:
@@ -338,6 +338,18 @@ Public Class cGetMsgType
|
||||
End If
|
||||
Return False
|
||||
End Function
|
||||
Shared Function isAES_E_EXP_FUP_DEXPFE(doc As XmlDocument) As Boolean
|
||||
If doc.HasChildNodes Then
|
||||
|
||||
If doc.GetElementsByTagName("DEXPFE").Count > 0 Then
|
||||
'If doc.GetElementsByTagName("Version").Count > 0 Then
|
||||
' VERSION = doc.GetElementsByTagName("Version")(0).InnerText
|
||||
'End If
|
||||
Return True
|
||||
End If
|
||||
End If
|
||||
Return False
|
||||
End Function
|
||||
|
||||
Shared Function isEZA_SumAErledigungsinformationCDXWare(doc As XmlDocument, ByRef VERSION As String) As Boolean
|
||||
If doc.HasChildNodes Then
|
||||
|
||||
@@ -451,6 +451,15 @@ Public Class frmDYNachrichtenVerarbeitung
|
||||
'End Select
|
||||
End If
|
||||
|
||||
|
||||
'AES/EZA: Wiedervorlage zur Ausfuhr
|
||||
If Not found And cGetMsgType.isAES_E_EXP_FUP_DEXPFE(doc) Then
|
||||
MsgBox("HALLLO")
|
||||
If readAES_E_EXP_FUP_DEXPFE(doc) <> "" Then found = True
|
||||
|
||||
End If
|
||||
|
||||
|
||||
'
|
||||
|
||||
'------------------------------------------
|
||||
@@ -5750,6 +5759,114 @@ Public Class frmDYNachrichtenVerarbeitung
|
||||
End Try
|
||||
End Function
|
||||
|
||||
Function readAES_E_EXP_FUP_DEXPFE(doc As XmlDocument) As String
|
||||
Try
|
||||
Dim xmlDoc As New XmlDocument()
|
||||
' xmlDoc.LoadXml(xmlContent)
|
||||
If doc.GetElementsByTagName("LRN").Count > 0 Then
|
||||
|
||||
Dim LRN = doc.GetElementsByTagName("LRN")(0).InnerText
|
||||
readAES_E_EXP_FUP_DEXPFE = LRN
|
||||
|
||||
|
||||
If LRN.Replace("-", "/").Contains("/") AndAlso LRN.Length >= 13 Then
|
||||
Dim split = LRN.Replace("-", "/").Split("/")
|
||||
If split(0).Length = 4 AndAlso split(1).Length >= 8 Then
|
||||
' LRN passt vom Format!, suche nach DY_ANM:
|
||||
Dim dy_id As String = ""
|
||||
If LRN.ToString.Length > 15 Then
|
||||
dy_id = SQL.getValueTxtBySql("SELECT isnull(dy_Id,-1) FROM tblDakosy_Zollanmeldungen where [dy_BezugsNr]='" & LRN.ToString.Trim & "'", "FMZOLL")
|
||||
If dy_id = "" Then
|
||||
dy_id = SQL.getValueTxtBySql("SELECT isnull(dy_Id,-1) FROM tblDakosy_Zollanmeldungen where '" & LRN.ToString.Trim & "' LIKE [dy_BezugsNr] +'%' and LEN(dy_BezugsNr)>=13", "FMZOLL")
|
||||
End If
|
||||
Else
|
||||
dy_id = SQL.getValueTxtBySql("SELECT isnull(dy_Id,-1) FROM tblDakosy_Zollanmeldungen where [dy_BezugsNr]='" & LRN.ToString.Trim & "'", "FMZOLL")
|
||||
End If
|
||||
|
||||
'-------------------------------------------
|
||||
If IsNumeric(dy_id) AndAlso dy_id > 0 Then
|
||||
'-------------------------------------------
|
||||
' DY Anmeldung gefunden
|
||||
'-------------------------------------------
|
||||
Dim DY_ANM = New cDakosy_Zollanmeldungen(dy_id)
|
||||
Dim AES_TMP = cDakosyAES.LOADByAnmIDFull(dy_id, False)
|
||||
If DY_ANM IsNot Nothing AndAlso DY_ANM.dy_AvisoId IsNot Nothing AndAlso DY_ANM.dy_SendungsId IsNot Nothing Then
|
||||
|
||||
|
||||
|
||||
If True Then
|
||||
'Benachrichtigung
|
||||
Try
|
||||
Dim SQL As New VERAG_PROG_ALLGEMEIN.SQL
|
||||
Dim sendToID As String = SQL.DLookup("tblSnd_VG_MA", "tblSendungen", "tblSnd_SendungID='" & DY_ANM.dy_SendungsId & "'", "AVISO", -1)
|
||||
Dim art = "B"
|
||||
|
||||
'Wenn Benutzer vorschreiben nicht online, dann Benutzer der Sendung...
|
||||
If sendToID <= 0 OrElse (Not VERAG_PROG_ALLGEMEIN.cSession.IS_ONLINE(sendToID, True)) Then
|
||||
sendToID = SQL.DLookup("LetzterMitarbeiterId", "tblSendungen", "tblSnd_SendungID='" & DY_ANM.dy_SendungsId & "'", "AVISO", -1)
|
||||
art = "B"
|
||||
End If
|
||||
|
||||
'Wenn Benutzer der Sendung nicht online, dann Benutzer des LKW ..
|
||||
If sendToID <= 0 OrElse (Not VERAG_PROG_ALLGEMEIN.cSession.IS_ONLINE(sendToID, True)) Then
|
||||
sendToID = SQL.DLookup("LetzterMitarbeiterId", "Aviso", "AvisoId='" & DY_ANM.dy_AvisoId & "'", "AVISO", -1)
|
||||
art = "B"
|
||||
End If
|
||||
|
||||
'Wenn Benutzer des LKWs nicht online, Team...
|
||||
If sendToID <= 0 OrElse (Not VERAG_PROG_ALLGEMEIN.cSession.IS_ONLINE(sendToID, True)) Then
|
||||
sendToID = SQL.DLookup("tblSnd_TeamId", "tblSendungen", "tblSnd_SendungID='" & DY_ANM.dy_SendungsId & "'", "AVISO", -1)
|
||||
art = "T"
|
||||
End If
|
||||
|
||||
'Wenn TEAM nicht gefunden, Firma...
|
||||
If sendToID <= 0 Then
|
||||
If AES_TMP IsNot Nothing AndAlso AES_TMP.aes_firma IsNot Nothing AndAlso AES_TMP.aes_firma <> "" Then
|
||||
sendToID = AES_TMP.aes_firma
|
||||
art = "F"
|
||||
End If
|
||||
End If
|
||||
If sendToID = "" Then sendToID = "VERAG" 'DEFAULT
|
||||
'Wenn gefunden
|
||||
If (art = "F" AndAlso If(sendToID, "") <> "") OrElse sendToID >= 0 Then
|
||||
|
||||
Dim statusAVISO = SQL.DLookup("Status", "Aviso", "AvisoID='" & DY_ANM.dy_AvisoId & "'", "AVISO")
|
||||
|
||||
Select Case statusAVISO
|
||||
'Case VERAG_PROG_ALLGEMEIN.cGlobal.Status_Ankunft, VERAG_PROG_ALLGEMEIN.cGlobal.Status_Vorbereitet, VERAG_PROG_ALLGEMEIN.cGlobal.Status_Vorgeschrieben,,VERAG_PROG_ALLGEMEIN.cGlobal.erfasst Nue
|
||||
' Case VERAG_PROG_ALLGEMEIN.cGlobal.Status_NichtEingetroffen, VERAG_PROG_ALLGEMEIN.cGlobal.Status_Freigegeben
|
||||
'Nicht
|
||||
Case Else
|
||||
Dim code = VERAG_PROG_ALLGEMEIN.cAvisoBenachrichtigungenCodes.AES_NachfrageVerbleib
|
||||
VERAG_PROG_ALLGEMEIN.cAvisoBenachrichtigungen.INSERT_BENACHRICHTIGUNG(DY_ANM.dy_AvisoId, DY_ANM.dy_SendungsId, code, art, sendToID, "ZOLL: Nachfrage Verbleib", 1, , "Nachfrage Verbleib",,, If(AES_TMP IsNot Nothing, If(AES_TMP.aes_firma, ""), ""))
|
||||
End Select
|
||||
End If
|
||||
|
||||
Catch ex As Exception
|
||||
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace & vbNewLine & "TXT_Nachfrage_Verbleib - Datei: " & Dateiname, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||
|
||||
End Try
|
||||
End If
|
||||
|
||||
|
||||
End If
|
||||
End If
|
||||
|
||||
|
||||
End If
|
||||
|
||||
Return LRN
|
||||
|
||||
End If
|
||||
|
||||
|
||||
|
||||
End If
|
||||
Catch ex As Exception
|
||||
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace & vbNewLine & "Datei: " & Dateiname, System.Reflection.MethodInfo.GetCurrentMethod.Name)
|
||||
End Try
|
||||
Return ""
|
||||
End Function
|
||||
Function readEZA_FreierVerkehrAktVeredelUmwandlungXML(doc As XmlDocument) As String
|
||||
Try
|
||||
readEZA_FreierVerkehrAktVeredelUmwandlungXML = ""
|
||||
|
||||
145
initATLASAufschubkonten/frmStartOptions.Designer.vb
generated
145
initATLASAufschubkonten/frmStartOptions.Designer.vb
generated
@@ -161,6 +161,8 @@ Partial Class frmStartOptions
|
||||
Me.MyComboBox1 = New VERAG_PROG_ALLGEMEIN.MyComboBox()
|
||||
Me.txtVRGOut_BezugsNr = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.TabPage3 = New System.Windows.Forms.TabPage()
|
||||
Me.Label50 = New System.Windows.Forms.Label()
|
||||
Me.MyTextBox6 = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.CheckBox9 = New System.Windows.Forms.CheckBox()
|
||||
Me.Label49 = New System.Windows.Forms.Label()
|
||||
Me.Button28 = New System.Windows.Forms.Button()
|
||||
@@ -194,12 +196,9 @@ Partial Class frmStartOptions
|
||||
Me.LinkLabel73 = New System.Windows.Forms.LinkLabel()
|
||||
Me.LinkLabel69 = New System.Windows.Forms.LinkLabel()
|
||||
Me.LinkLabel72 = New System.Windows.Forms.LinkLabel()
|
||||
Me.txtPloseJahr = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.lblUTAPDFvollst = New System.Windows.Forms.LinkLabel()
|
||||
Me.txtUTADate = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.TextBox3 = New System.Windows.Forms.TextBox()
|
||||
Me.cbxIDSUmbenenen = New System.Windows.Forms.CheckBox()
|
||||
Me.txtIDSYear = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.LinkLabel70 = New System.Windows.Forms.LinkLabel()
|
||||
Me.LinkLabel67 = New System.Windows.Forms.LinkLabel()
|
||||
Me.cbxITalt = New System.Windows.Forms.CheckBox()
|
||||
@@ -273,6 +272,9 @@ Partial Class frmStartOptions
|
||||
Me.LinkLabel43 = New System.Windows.Forms.LinkLabel()
|
||||
Me.LinkLabel44 = New System.Windows.Forms.LinkLabel()
|
||||
Me.Label24 = New System.Windows.Forms.Label()
|
||||
Me.txtPloseJahr = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.txtUTADate = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.txtIDSYear = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.txtUTAYear = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.txtKdNr = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.txtBatchNrofTransaction = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
@@ -308,6 +310,7 @@ Partial Class frmStartOptions
|
||||
Me.txtGJ_UNISPED = New VERAG_PROG_ALLGEMEIN.MyTextBox()
|
||||
Me.Button21 = New System.Windows.Forms.Button()
|
||||
Me.DataGridViewTextBoxColumn1 = New System.Windows.Forms.DataGridViewTextBoxColumn()
|
||||
Me.LinkLabel73 = New System.Windows.Forms.LinkLabel()
|
||||
Me.pnl.SuspendLayout()
|
||||
CType(Me.PictureBox24, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
CType(Me.PictureBox23, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||
@@ -1066,6 +1069,7 @@ Partial Class frmStartOptions
|
||||
'
|
||||
'TabPage1
|
||||
'
|
||||
Me.TabPage1.Controls.Add(Me.LinkLabel73)
|
||||
Me.TabPage1.Controls.Add(Me.LinkLabel68)
|
||||
Me.TabPage1.Controls.Add(Me.PictureBox26)
|
||||
Me.TabPage1.Controls.Add(Me.cbxGestellungspeichern)
|
||||
@@ -1131,10 +1135,10 @@ Partial Class frmStartOptions
|
||||
Me.LinkLabel68.LinkColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(54, Byte), Integer), CType(CType(128, Byte), Integer))
|
||||
Me.LinkLabel68.Location = New System.Drawing.Point(18, 393)
|
||||
Me.LinkLabel68.Name = "LinkLabel68"
|
||||
Me.LinkLabel68.Size = New System.Drawing.Size(52, 13)
|
||||
Me.LinkLabel68.Size = New System.Drawing.Size(127, 13)
|
||||
Me.LinkLabel68.TabIndex = 151
|
||||
Me.LinkLabel68.TabStop = True
|
||||
Me.LinkLabel68.Text = "KN8 EZT"
|
||||
Me.LinkLabel68.Text = "KN8 EZT Statistik Austria"
|
||||
'
|
||||
'PictureBox26
|
||||
'
|
||||
@@ -2137,6 +2141,8 @@ Partial Class frmStartOptions
|
||||
'
|
||||
'TabPage3
|
||||
'
|
||||
Me.TabPage3.Controls.Add(Me.Label50)
|
||||
Me.TabPage3.Controls.Add(Me.MyTextBox6)
|
||||
Me.TabPage3.Controls.Add(Me.CheckBox9)
|
||||
Me.TabPage3.Controls.Add(Me.Label49)
|
||||
Me.TabPage3.Controls.Add(Me.Button28)
|
||||
@@ -2169,6 +2175,40 @@ Partial Class frmStartOptions
|
||||
Me.TabPage3.Text = "Partner-Systeme"
|
||||
Me.TabPage3.UseVisualStyleBackColor = True
|
||||
'
|
||||
'Label50
|
||||
'
|
||||
Me.Label50.AutoSize = True
|
||||
Me.Label50.Location = New System.Drawing.Point(548, 305)
|
||||
Me.Label50.Name = "Label50"
|
||||
Me.Label50.Size = New System.Drawing.Size(29, 13)
|
||||
Me.Label50.TabIndex = 149
|
||||
Me.Label50.Text = "Top:"
|
||||
'
|
||||
'MyTextBox6
|
||||
'
|
||||
Me.MyTextBox6._DateTimeOnly = False
|
||||
Me.MyTextBox6._numbersOnly = False
|
||||
Me.MyTextBox6._numbersOnlyKommastellen = ""
|
||||
Me.MyTextBox6._numbersOnlyTrennzeichen = False
|
||||
Me.MyTextBox6._Prozent = False
|
||||
Me.MyTextBox6._ShortDateNew = False
|
||||
Me.MyTextBox6._ShortDateOnly = False
|
||||
Me.MyTextBox6._TimeOnly = False
|
||||
Me.MyTextBox6._TimeOnly_Seconds = False
|
||||
Me.MyTextBox6._value = "200"
|
||||
Me.MyTextBox6._Waehrung = False
|
||||
Me.MyTextBox6._WaehrungZeichen = False
|
||||
Me.MyTextBox6.ForeColor = System.Drawing.Color.Black
|
||||
Me.MyTextBox6.Location = New System.Drawing.Point(583, 302)
|
||||
Me.MyTextBox6.MaxLength = 18
|
||||
Me.MyTextBox6.MaxLineLength = -1
|
||||
Me.MyTextBox6.MaxLines_Warning = ""
|
||||
Me.MyTextBox6.MaxLines_Warning_Label = Nothing
|
||||
Me.MyTextBox6.Name = "MyTextBox6"
|
||||
Me.MyTextBox6.Size = New System.Drawing.Size(150, 20)
|
||||
Me.MyTextBox6.TabIndex = 148
|
||||
Me.MyTextBox6.Text = "200"
|
||||
'
|
||||
'CheckBox9
|
||||
'
|
||||
Me.CheckBox9.AutoSize = True
|
||||
@@ -2486,12 +2526,9 @@ Partial Class frmStartOptions
|
||||
Me.TabPage4.Controls.Add(Me.LinkLabel73)
|
||||
Me.TabPage4.Controls.Add(Me.LinkLabel69)
|
||||
Me.TabPage4.Controls.Add(Me.LinkLabel72)
|
||||
Me.TabPage4.Controls.Add(Me.txtPloseJahr)
|
||||
Me.TabPage4.Controls.Add(Me.lblUTAPDFvollst)
|
||||
Me.TabPage4.Controls.Add(Me.txtUTADate)
|
||||
Me.TabPage4.Controls.Add(Me.TextBox3)
|
||||
Me.TabPage4.Controls.Add(Me.cbxIDSUmbenenen)
|
||||
Me.TabPage4.Controls.Add(Me.txtIDSYear)
|
||||
Me.TabPage4.Controls.Add(Me.LinkLabel70)
|
||||
Me.TabPage4.Controls.Add(Me.LinkLabel67)
|
||||
Me.TabPage4.Controls.Add(Me.cbxITalt)
|
||||
@@ -2565,6 +2602,9 @@ Partial Class frmStartOptions
|
||||
Me.TabPage4.Controls.Add(Me.LinkLabel43)
|
||||
Me.TabPage4.Controls.Add(Me.LinkLabel44)
|
||||
Me.TabPage4.Controls.Add(Me.Label24)
|
||||
Me.TabPage4.Controls.Add(Me.txtPloseJahr)
|
||||
Me.TabPage4.Controls.Add(Me.txtUTADate)
|
||||
Me.TabPage4.Controls.Add(Me.txtIDSYear)
|
||||
Me.TabPage4.Controls.Add(Me.txtUTAYear)
|
||||
Me.TabPage4.Controls.Add(Me.txtKdNr)
|
||||
Me.TabPage4.Controls.Add(Me.txtBatchNrofTransaction)
|
||||
@@ -3582,6 +3622,84 @@ Partial Class frmStartOptions
|
||||
Me.Label24.TabIndex = 30
|
||||
Me.Label24.Text = "Import"
|
||||
'
|
||||
'txtPloseJahr
|
||||
'
|
||||
Me.txtPloseJahr._DateTimeOnly = False
|
||||
Me.txtPloseJahr._numbersOnly = True
|
||||
Me.txtPloseJahr._numbersOnlyKommastellen = ""
|
||||
Me.txtPloseJahr._numbersOnlyTrennzeichen = False
|
||||
Me.txtPloseJahr._Prozent = False
|
||||
Me.txtPloseJahr._ShortDateNew = False
|
||||
Me.txtPloseJahr._ShortDateOnly = False
|
||||
Me.txtPloseJahr._TimeOnly = False
|
||||
Me.txtPloseJahr._TimeOnly_Seconds = False
|
||||
Me.txtPloseJahr._value = ""
|
||||
Me.txtPloseJahr._Waehrung = False
|
||||
Me.txtPloseJahr._WaehrungZeichen = False
|
||||
Me.txtPloseJahr.BackColor = System.Drawing.SystemColors.Window
|
||||
Me.txtPloseJahr.ForeColor = System.Drawing.Color.Red
|
||||
Me.txtPloseJahr.Location = New System.Drawing.Point(725, 111)
|
||||
Me.txtPloseJahr.MaxLength = 10
|
||||
Me.txtPloseJahr.MaxLineLength = -1
|
||||
Me.txtPloseJahr.MaxLines_Warning = ""
|
||||
Me.txtPloseJahr.MaxLines_Warning_Label = Nothing
|
||||
Me.txtPloseJahr.Name = "txtPloseJahr"
|
||||
Me.txtPloseJahr.Size = New System.Drawing.Size(66, 20)
|
||||
Me.txtPloseJahr.TabIndex = 158
|
||||
Me.txtPloseJahr.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
|
||||
'
|
||||
'txtUTADate
|
||||
'
|
||||
Me.txtUTADate._DateTimeOnly = False
|
||||
Me.txtUTADate._numbersOnly = False
|
||||
Me.txtUTADate._numbersOnlyKommastellen = ""
|
||||
Me.txtUTADate._numbersOnlyTrennzeichen = False
|
||||
Me.txtUTADate._Prozent = False
|
||||
Me.txtUTADate._ShortDateNew = False
|
||||
Me.txtUTADate._ShortDateOnly = True
|
||||
Me.txtUTADate._TimeOnly = False
|
||||
Me.txtUTADate._TimeOnly_Seconds = False
|
||||
Me.txtUTADate._value = ""
|
||||
Me.txtUTADate._Waehrung = False
|
||||
Me.txtUTADate._WaehrungZeichen = True
|
||||
Me.txtUTADate.BackColor = System.Drawing.SystemColors.Window
|
||||
Me.txtUTADate.ForeColor = System.Drawing.Color.Red
|
||||
Me.txtUTADate.Location = New System.Drawing.Point(537, 448)
|
||||
Me.txtUTADate.MaxLength = 10
|
||||
Me.txtUTADate.MaxLineLength = -1
|
||||
Me.txtUTADate.MaxLines_Warning = ""
|
||||
Me.txtUTADate.MaxLines_Warning_Label = Nothing
|
||||
Me.txtUTADate.Name = "txtUTADate"
|
||||
Me.txtUTADate.Size = New System.Drawing.Size(66, 20)
|
||||
Me.txtUTADate.TabIndex = 156
|
||||
Me.txtUTADate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
|
||||
'
|
||||
'txtIDSYear
|
||||
'
|
||||
Me.txtIDSYear._DateTimeOnly = False
|
||||
Me.txtIDSYear._numbersOnly = True
|
||||
Me.txtIDSYear._numbersOnlyKommastellen = ""
|
||||
Me.txtIDSYear._numbersOnlyTrennzeichen = False
|
||||
Me.txtIDSYear._Prozent = False
|
||||
Me.txtIDSYear._ShortDateNew = False
|
||||
Me.txtIDSYear._ShortDateOnly = False
|
||||
Me.txtIDSYear._TimeOnly = False
|
||||
Me.txtIDSYear._TimeOnly_Seconds = False
|
||||
Me.txtIDSYear._value = ""
|
||||
Me.txtIDSYear._Waehrung = False
|
||||
Me.txtIDSYear._WaehrungZeichen = True
|
||||
Me.txtIDSYear.BackColor = System.Drawing.SystemColors.Window
|
||||
Me.txtIDSYear.ForeColor = System.Drawing.Color.Red
|
||||
Me.txtIDSYear.Location = New System.Drawing.Point(24, 387)
|
||||
Me.txtIDSYear.MaxLength = 10
|
||||
Me.txtIDSYear.MaxLineLength = -1
|
||||
Me.txtIDSYear.MaxLines_Warning = ""
|
||||
Me.txtIDSYear.MaxLines_Warning_Label = Nothing
|
||||
Me.txtIDSYear.Name = "txtIDSYear"
|
||||
Me.txtIDSYear.Size = New System.Drawing.Size(66, 20)
|
||||
Me.txtIDSYear.TabIndex = 155
|
||||
Me.txtIDSYear.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
|
||||
'
|
||||
'txtUTAYear
|
||||
'
|
||||
Me.txtUTAYear._DateTimeOnly = False
|
||||
@@ -4096,6 +4214,17 @@ Partial Class frmStartOptions
|
||||
Me.DataGridViewTextBoxColumn1.MinimumWidth = 8
|
||||
Me.DataGridViewTextBoxColumn1.Name = "DataGridViewTextBoxColumn1"
|
||||
'
|
||||
'LinkLabel73
|
||||
'
|
||||
Me.LinkLabel73.AutoSize = True
|
||||
Me.LinkLabel73.LinkColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(54, Byte), Integer), CType(CType(128, Byte), Integer))
|
||||
Me.LinkLabel73.Location = New System.Drawing.Point(18, 419)
|
||||
Me.LinkLabel73.Name = "LinkLabel73"
|
||||
Me.LinkLabel73.Size = New System.Drawing.Size(148, 13)
|
||||
Me.LinkLabel73.TabIndex = 152
|
||||
Me.LinkLabel73.TabStop = True
|
||||
Me.LinkLabel73.Text = "KN8 EZT DE Stat.Bundesamt"
|
||||
'
|
||||
'frmStartOptions
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -301,6 +301,10 @@ Public Class frmStartOptions
|
||||
VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM = False
|
||||
VERAG_PROG_ALLGEMEIN.cATEZ_ncts_api.query_declarations(Now.AddDays(-3), Now, False)
|
||||
closeMe()
|
||||
Case "NCTS_FREMD_UPDATE_MRN" 'TRANSCODE NCTS UPDATEN solange status <>60,90
|
||||
VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM = False
|
||||
updateATEZStatusByMRNTop(500)
|
||||
closeMe()
|
||||
Case "UID_Pruefung"
|
||||
Dim f As New frmInfo(PARAM)
|
||||
f.Show()
|
||||
@@ -1901,8 +1905,8 @@ Public Class frmStartOptions
|
||||
End Function
|
||||
|
||||
Function getPlattsAufschlag_SONDER_Lukenda(outletGroug As String) As Double
|
||||
If outletGroug.Contains("4473") Then Return 0.032 - 0.015
|
||||
If outletGroug.Contains("4474") Then Return 0.032 - 0.015
|
||||
If outletGroug.Contains("4473") Then Return 0.032 - 0.015 - 0.0065 ' SUBEN
|
||||
If outletGroug.Contains("4474") Then Return 0.032 - 0.015 - 0.0065 ' SUBEN
|
||||
If outletGroug.Contains("4493") Then Return 0.032 - 0.015
|
||||
If outletGroug.Contains("4485") Then Return 0.032 - 0.015
|
||||
If outletGroug.Contains("4486") Then Return 0.032 - 0.015
|
||||
@@ -3972,17 +3976,17 @@ Public Class frmStartOptions
|
||||
End If
|
||||
SDL.Sachbearbeiter = "ASFINAG"
|
||||
|
||||
Dim Validto = SQL.checkNullStr(oRDR.GetValue("DatumVertragsabschluss"))
|
||||
Dim Validto = SQl.checkNullStr(oRDR.GetValue("DatumVertragsabschluss"))
|
||||
|
||||
SDL.KartenNr = SQL.checkNullStr(oRDR.GetValue("CardNumber"))
|
||||
SDL.KartenNr = SQl.checkNullStr(oRDR.GetValue("CardNumber"))
|
||||
If Validto <> "" Then
|
||||
SDL.GültigBis = DateAdd("d", -1, DateAdd("m", 1, DateSerial("20" & Mid(oRDR.GetValue("CardNumber"), 1, 2), Mid(Validto, 3, 2), 1)))
|
||||
End If
|
||||
SDL.OBUID = SQL.checkNullStr(oRDR.GetValue("OBUID"))
|
||||
SDL.Vertragsabschlussdatum = SQL.checkNullStr(oRDR.GetValue("DatumVertragsabschluss"))
|
||||
SDL.Kategorie = SQL.checkNullStr(oRDR.GetValue("Kategorie"))
|
||||
SDL.Schadstoffklasse = SQL.checkNullStr(oRDR.GetValue("Schadstoffklasse"))
|
||||
SDL.Status = SQL.checkNullStr(oRDR.GetValue("Status"))
|
||||
SDL.OBUID = SQl.checkNullStr(oRDR.GetValue("OBUID"))
|
||||
SDL.Vertragsabschlussdatum = SQl.checkNullStr(oRDR.GetValue("DatumVertragsabschluss"))
|
||||
SDL.Kategorie = SQl.checkNullStr(oRDR.GetValue("Kategorie"))
|
||||
SDL.Schadstoffklasse = SQl.checkNullStr(oRDR.GetValue("Schadstoffklasse"))
|
||||
SDL.Status = SQl.checkNullStr(oRDR.GetValue("Status"))
|
||||
SDL.SAVE()
|
||||
End If
|
||||
|
||||
@@ -4028,21 +4032,21 @@ Public Class frmStartOptions
|
||||
End If
|
||||
SDL.Sachbearbeiter = "ASFINAG" & IIf(VERAG_PROG_ALLGEMEIN.cAllgemein.TESTSYSTEM, "_TEST", "")
|
||||
|
||||
Dim Validto = SQL.checkNullStr(row.Item("contractDate"))
|
||||
Dim Validto = SQl.checkNullStr(row.Item("contractDate"))
|
||||
|
||||
SDL.KartenNr = SQL.checkNullStr(row.Item("cardNumber"))
|
||||
SDL.KartenNr = SQl.checkNullStr(row.Item("cardNumber"))
|
||||
If Validto <> "" Then
|
||||
'MsgBox(Mid(row.Item("ValidTo"), 1, 2) & " " & Mid(row.Item("ValidTo"), 3, 2))
|
||||
SDL.GültigBis = DateAdd("d", -1, DateAdd("m", 1, DateSerial("20" & Mid(row.Item("ValidTo"), 1, 2), Mid(row.Item("ValidTo"), 3, 2), 1))) 'noch im DETAIL checken!
|
||||
End If
|
||||
|
||||
SDL.OBUID = SQL.checkNullStr(row.Item("OBUID"))
|
||||
SDL.Vertragsabschlussdatum = SQL.checkNullStr(row.Item("contractDate"))
|
||||
SDL.Kategorie = SQL.checkNullStr(row.Item("vehicleCategory"))
|
||||
SDL.Schadstoffklasse = SQL.checkNullStr(row.Item("emissionCategory"))
|
||||
SDL.Status = SQL.checkNullStr(row.Item("status"))
|
||||
SDL.Nationalitaet = SQL.checkNullStr(row.Item("nationality"))
|
||||
SDL.CO2Kategorie = SQL.checkNullStr(row.Item("CO2EmissionsClass"))
|
||||
SDL.OBUID = SQl.checkNullStr(row.Item("OBUID"))
|
||||
SDL.Vertragsabschlussdatum = SQl.checkNullStr(row.Item("contractDate"))
|
||||
SDL.Kategorie = SQl.checkNullStr(row.Item("vehicleCategory"))
|
||||
SDL.Schadstoffklasse = SQl.checkNullStr(row.Item("emissionCategory"))
|
||||
SDL.Status = SQl.checkNullStr(row.Item("status"))
|
||||
SDL.Nationalitaet = SQl.checkNullStr(row.Item("nationality"))
|
||||
SDL.CO2Kategorie = SQl.checkNullStr(row.Item("CO2EmissionsClass"))
|
||||
SDL.SAVE()
|
||||
End If
|
||||
|
||||
@@ -5520,11 +5524,13 @@ Public Class frmStartOptions
|
||||
Me.Cursor = Cursors.Default
|
||||
End Sub
|
||||
|
||||
|
||||
Private Sub Button26_Click(sender As Object, e As EventArgs) Handles Button26.Click
|
||||
VERAG_PROG_ALLGEMEIN.cATEZ_ncts_api.query_declarations(datTranscodeVon._value, datTranscodeBis._value, cbxOverrideNCTSFin.Checked)
|
||||
End Sub
|
||||
|
||||
Private Sub Button27_Click(sender As Object, e As EventArgs) Handles btnTestATEZ.Click
|
||||
|
||||
VERAG_PROG_ALLGEMEIN.cATEZ_ncts_api.updateStatusByMRN(MyTextBox5.Text)
|
||||
|
||||
End Sub
|
||||
@@ -5605,19 +5611,30 @@ Public Class frmStartOptions
|
||||
|
||||
Private Sub Button28_Click(sender As Object, e As EventArgs) Handles Button28.Click
|
||||
|
||||
Dim dt = (New SQL).loadDgvBySql("SELECT TOP (200) ncts_MRN FROM [tblNCTS_FREMD] where ncts_Status between 50 and 59 and ncts_Partnersystem='ATEZ'", "FMZOLL")
|
||||
' Dim dt = (New SQL).loadDgvBySql("SELECT TOP (1000) [ncts_Id] FROM [tblNCTS_FREMD] where ncts_Partnersystem='ATEZ' and ncts_status < 60", "FMZOLL")
|
||||
Dim top = 200
|
||||
If IsNumeric(MyTextBox6._value) AndAlso CInt(MyTextBox6._value) > 0 Then
|
||||
top = CInt(MyTextBox6._value)
|
||||
End If
|
||||
|
||||
updateATEZStatusByMRNTop(top)
|
||||
End Sub
|
||||
|
||||
Sub updateATEZStatusByMRNTop(top As Integer)
|
||||
Dim dt = (New SQL).loadDgvBySql("SELECT TOP (" & top & ") ncts_MRN FROM [tblNCTS_FREMD] where ncts_Status between 50 and 59 and ncts_Partnersystem='ATEZ'", "FMZOLL")
|
||||
If dt IsNot Nothing Then
|
||||
Label49.Text = "-"
|
||||
Dim cnt = 1
|
||||
For Each r In dt.Rows
|
||||
Label49.Text = cnt & "/" & dt.Rows.Count
|
||||
Me.Refresh()
|
||||
VERAG_PROG_ALLGEMEIN.cATEZ_ncts_api.get_ie015_xml_by_mrn(r("ncts_MRN"))
|
||||
VERAG_PROG_ALLGEMEIN.cATEZ_ncts_api.updateStatusByMRN(r("ncts_MRN"))
|
||||
Next
|
||||
Label49.Text = dt.Rows.Count & "fin"
|
||||
End If
|
||||
End Sub
|
||||
|
||||
|
||||
Private Sub LinkLabel72_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles LinkLabel72.LinkClicked
|
||||
If txtPloseJahr.Text.ToString.Length <> 4 Then MsgBox("Bitte Jahr eingeben!") : Exit Sub
|
||||
Dim kdNrPlose As Integer = -1
|
||||
@@ -5803,5 +5820,14 @@ Public Class frmStartOptions
|
||||
End If
|
||||
|
||||
|
||||
End Sub
|
||||
Private Sub LinkLabel73_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles LinkLabel73.LinkClicked
|
||||
Me.Cursor = Cursors.WaitCursor
|
||||
Try
|
||||
Dim erg = VERAG_PROG_ALLGEMEIN.cTariffKN8_Interface.UPDATE_KN8_DESTAT()
|
||||
showPic(erg, PictureBox26)
|
||||
Catch ex As Exception : VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR(ex.Message, ex.StackTrace, System.Reflection.MethodBase.GetCurrentMethod.Name) : End Try
|
||||
Me.Cursor = Cursors.Default
|
||||
|
||||
End Sub
|
||||
End Class
|
||||
Reference in New Issue
Block a user