ATEZ Bereitstellung DY; 4802 ATILLA

This commit is contained in:
2023-08-24 08:44:30 +02:00
parent 27d0b8f95c
commit fa40157528
8 changed files with 47 additions and 17 deletions

View File

@@ -1402,7 +1402,7 @@ Module Mail
sqlstr &= " SELECT [Grenzstelle], SUM(Speditionsbuch.Abfertigungsanzahl) as Anzahl FROM Speditionsbuch WHERE Abfertigungsart IN (26,28) "
sqlstr &= " AND [Grenzstelle] <> 'SFD' and FilialenNr NOT IN ( 4801,4806 ) "
sqlstr &= " AND [Grenzstelle] <> 'SFD' and FilialenNr NOT IN ( 4801,4802,4806 ) "
sqlstr &= " and Abfertigungsdatum between '" & von.ToShortDateString & "' and '" & bis.ToShortDateString & "' " &
" GROUP BY [Grenzstelle]" &
" ORDER BY Anzahl DESC"