Digicust -> Plausibitätsprüfungen
This commit is contained in:
@@ -81,7 +81,6 @@ Public Class frmDigicust
|
|||||||
Try
|
Try
|
||||||
|
|
||||||
If Not checkAttachment() Then
|
If Not checkAttachment() Then
|
||||||
|
|
||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
|
|
||||||
@@ -299,7 +298,13 @@ Public Class frmDigicust
|
|||||||
|
|
||||||
|
|
||||||
getBezugsnr(BezugsNr)
|
getBezugsnr(BezugsNr)
|
||||||
|
|
||||||
|
If AVISO.LKW_Nr.Length > 10 Then
|
||||||
|
txtLKWId.Text = AVISO.LKW_Nr.Substring(0, 10)
|
||||||
|
Else
|
||||||
txtLKWId.Text = AVISO.LKW_Nr
|
txtLKWId.Text = AVISO.LKW_Nr
|
||||||
|
End If
|
||||||
|
|
||||||
txtLWKLand.Text = AVISO.LKW_Nationalitaet
|
txtLWKLand.Text = AVISO.LKW_Nationalitaet
|
||||||
|
|
||||||
|
|
||||||
@@ -420,9 +425,28 @@ Public Class frmDigicust
|
|||||||
|
|
||||||
If cboStammreferenz._value = "" Then
|
If cboStammreferenz._value = "" Then
|
||||||
lblInfo.Text = "Stammref. auswählen!"
|
lblInfo.Text = "Stammref. auswählen!"
|
||||||
|
cboStammreferenz.Focus()
|
||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If txtLKWId.TextLength > 10 Then
|
||||||
|
lblInfo.Text = "LKW-Kennzeichen zu lang (max 10 Stellen)."
|
||||||
|
txtLKWId.Focus()
|
||||||
|
Return False
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
If txtVorpapierT.Text > 2 Then
|
||||||
|
lblInfo.Text = "Vopapier-Code zu lang (max 2 Stellen)."
|
||||||
|
txtVorpapierT.Focus()
|
||||||
|
Return False
|
||||||
|
End If
|
||||||
|
|
||||||
|
If txtVorpapier.Text > 30 Then
|
||||||
|
lblInfo.Text = "Vopapier zu lang (max 30 Stellen)."
|
||||||
|
txtVorpapier.Focus()
|
||||||
|
Return False
|
||||||
|
End If
|
||||||
|
|
||||||
'TODO
|
'TODO
|
||||||
Return True
|
Return True
|
||||||
|
|||||||
Reference in New Issue
Block a user