neu
This commit is contained in:
@@ -278,6 +278,9 @@ Public Class usrCntlSpeditionsBuchSuche
|
||||
If cbxEIDR.CheckState = CheckState.Unchecked Then sqlstr &= " AND UK_EIDR_ausstehend=0 "
|
||||
End If
|
||||
|
||||
If txtBestimmungszollstelle.Visible And txtBestimmungszollstelle._value <> "" Then
|
||||
sqlstr &= " AND Bestimmungszollstelle='" & txtBestimmungszollstelle._value & "' "
|
||||
End If
|
||||
|
||||
If cboSachbearbeiter._value <> "" Then sqlstr &= " AND Speditionsbuch.[Personalnummer] = @Personalnummer "
|
||||
If cboSB_Qs._value <> "" Then sqlstr &= " AND Speditionsbuch.[PersonalnummerQS] = @PersonalnummerQS "
|
||||
@@ -374,6 +377,7 @@ Public Class usrCntlSpeditionsBuchSuche
|
||||
cboSachbearbeiter.fillWithSQL("SELECT ID,/*cast(ID as nvarchar(3)) +' ' + Name as*/ Name FROM Personal WHERE [Status]<>'L' " & sbWhere & " ORDER BY Name ", False, "FMZOLL", True)
|
||||
cboFiliale.fillWithSQL("SELECT FilialenNr, Grenzstelle FROM Filialen WHERE Fil_Status='A' ORDER BY FilialenNr ", True, "FMZOLL", True)
|
||||
' cboFilialeHandling.fillWithSQL("SELECT FilialenNr, Grenzstelle FROM Filialen WHERE Fil_Status='A' ORDER BY FilialenNr ", True, "FMZOLL", True)
|
||||
txtBestimmungszollstelle.initSearchBox(Me.FindForm, "[basncd_dstnr] ,[basncd_dstnr] +' - ' + [basncd_name] +' (' +[basncd_alpha]+')' as displayPARAM,[basncd_dstnr] as Nr,[basncd_name] as Dienststelle,[basncd_alpha] as Land FROM basncd", {" [basncd_dstnr]", "basncd_name"}, " [basncd_gbdat] >= getdate() ", " basncd_alpha,[basncd_name]", "basncd_dstnr", "displayPARAM", "ATLAS", , 400, 200, {"displayPARAM", "basncd_dstnr"})
|
||||
|
||||
cboHandlingssatz.fillWithSQL("SELECT [hs_Bezeichnung] FROM [tblHandlingssaetzeIntern] group by [hs_Bezeichnung] ", False, "FMZOLL", True)
|
||||
|
||||
@@ -2249,4 +2253,13 @@ Public Class usrCntlSpeditionsBuchSuche
|
||||
End If
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Private Sub lstGrenze_SelectedIndexChanged(sender As Object, e As EventArgs) Handles lstGrenze.SelectedIndexChanged
|
||||
txtBestimmungszollstelle.Visible = False
|
||||
|
||||
For Each l In lstGrenze.SelectedItems
|
||||
If l.text <> "???" Then Exit Sub
|
||||
Next
|
||||
txtBestimmungszollstelle.Visible = True
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Reference in New Issue
Block a user