Bonitätsprüfung beim Creditreform -> Fehlerkorrektur
This commit is contained in:
@@ -211,61 +211,89 @@ Public Class frmBonitaet
|
|||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If txtBonitaetsindex.Text <> "" Then
|
||||||
|
If Not IsNumeric(txtBonitaetsindex.Text) Then
|
||||||
|
lblWarning.Text = "eingetragener Bonitätsindex ist kein Zahlenwert!"
|
||||||
|
Return False
|
||||||
|
End If
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Select Case ADRESSE.LandKz.ToString
|
Select Case ADRESSE.LandKz.ToString
|
||||||
|
|
||||||
Case "AT", "A"
|
Case "AT", "A"
|
||||||
|
If txtBonitaetsindex.Text <> "" Then
|
||||||
If (CInt(txtBonitaetsindex.Text) < 100 Or CInt(txtBonitaetsindex.Text) > 700) And cboTool._value = "creditsafe AT" Then
|
If (CInt(txtBonitaetsindex.Text) < 100 Or CInt(txtBonitaetsindex.Text) > 700) And cboTool._value = "creditsafe AT" Then
|
||||||
lblWarning.Text = "B-Score muss zwischen 100 und 700 liegen"
|
lblWarning.Text = "B-Score muss zwischen 100 und 700 liegen"
|
||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
If cboTool._value = "creditsafe" Then
|
If cboTool._value = "creditsafe" Then
|
||||||
lblWarning.Text = "falsches Prüfungstool, bitte AT auswählen"
|
lblWarning.Text = "falsches Prüfungstool, bitte AT auswählen"
|
||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If txtBonitaetsindex.Text <> "" Then
|
||||||
If CInt(txtBonitaetsindex.Text) < 10 And CInt(txtBonitaetsindex.Text) <> 0 And cboTool._value = "creditreform" Then
|
If CInt(txtBonitaetsindex.Text) < 10 And CInt(txtBonitaetsindex.Text) <> 0 And cboTool._value = "creditreform" Then
|
||||||
lblWarning.Text = "B-Index muss größer als 10 sein"
|
lblWarning.Text = "B-Index muss größer als 10 sein"
|
||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Case "DE", "D"
|
Case "DE", "D"
|
||||||
|
If txtBonitaetsindex.Text <> "" Then
|
||||||
If (CDbl(txtBonitaetsindex.Text) < 1.0 Or CDbl(txtBonitaetsindex.Text) > 6.0) And cboTool._value = "creditsafe" Then
|
If (CDbl(txtBonitaetsindex.Text) < 1.0 Or CDbl(txtBonitaetsindex.Text) > 6.0) And cboTool._value = "creditsafe" Then
|
||||||
lblWarning.Text = "B-Index muss zwischen 1.0 und 6.0 liegen"
|
lblWarning.Text = "B-Index muss zwischen 1.0 und 6.0 liegen"
|
||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
If cboTool._value = "creditsafe AT" Then
|
If cboTool._value = "creditsafe AT" Then
|
||||||
lblWarning.Text = "falsches Prüfungstool, bitte Creditsafe auswählen"
|
lblWarning.Text = "falsches Prüfungstool, bitte Creditsafe auswählen"
|
||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If txtBonitaetsindex.Text <> "" Then
|
||||||
If CInt(txtBonitaetsindex.Text) < 10 And CInt(txtBonitaetsindex.Text) <> 0 And cboTool._value = "creditreform" Then
|
If CInt(txtBonitaetsindex.Text) < 10 And CInt(txtBonitaetsindex.Text) <> 0 And cboTool._value = "creditreform" Then
|
||||||
lblWarning.Text = "B-Index muss größer als 10 sein"
|
lblWarning.Text = "B-Index muss größer als 10 sein"
|
||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Case Else
|
Case Else
|
||||||
|
If txtBonitaetsindex.Text <> "" Then
|
||||||
If (CDbl(txtBonitaetsindex.Text) < 1.0 Or CDbl(txtBonitaetsindex.Text) > 1000.0) And cboTool._value = "creditsafe" Then
|
If (CDbl(txtBonitaetsindex.Text) < 1.0 Or CDbl(txtBonitaetsindex.Text) > 1000.0) And cboTool._value = "creditsafe" Then
|
||||||
lblWarning.Text = "B-Index muss zwischen 1.0 und 1000.0 liegen"
|
lblWarning.Text = "B-Index muss zwischen 1.0 und 1000.0 liegen"
|
||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
If cboTool._value = "creditsafe AT" Then
|
If cboTool._value = "creditsafe AT" Then
|
||||||
lblWarning.Text = "falsches Prüfungstool, bitte Creditsafe auswählen"
|
lblWarning.Text = "falsches Prüfungstool, bitte Creditsafe auswählen"
|
||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If txtBonitaetsindex.Text <> "" Then
|
||||||
If CInt(txtBonitaetsindex.Text) < 10 And CInt(txtBonitaetsindex.Text) <> 0 And cboTool._value = "creditreform" Then
|
If CInt(txtBonitaetsindex.Text) < 10 And CInt(txtBonitaetsindex.Text) <> 0 And cboTool._value = "creditreform" Then
|
||||||
lblWarning.Text = "B-Index muss größer als 10 sein"
|
lblWarning.Text = "B-Index muss größer als 10 sein"
|
||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
End Select
|
End Select
|
||||||
|
|||||||
@@ -2792,6 +2792,7 @@ Public Class usrCntlKundenuebersicht
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
initCreditsave()
|
initCreditsave()
|
||||||
|
setKD(kdNr)
|
||||||
Cursor = Cursors.Default
|
Cursor = Cursors.Default
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
Reference in New Issue
Block a user