falsche DB
This commit is contained in:
@@ -2806,7 +2806,7 @@ Public Class frmMDMDatenverarbetiung
|
||||
maut.SAVE()
|
||||
Next
|
||||
|
||||
Dim pruefSumTTR = SQL.getValueTxtBySql("select sum(checksumAmounntInclVAT) from [ASFINAG].[dbo].[TTRTrailer] where PKHistory = 0 and [TTRTrailer].PKFileName in (select distinct([TTRBody].PKFileName) as Test from [ASFINAG].[dbo].[TTRBody] where (TTRBody.PKHistory = 0) And (TTRBody.PKFileName Like N'" & checkifTestfiles() & ".%') AND TTRBody.abrechnungsdatum = '" & f.Datum.ToShortDateString & "')", "FMZOLL")
|
||||
Dim pruefSumTTR = SQL.getValueTxtBySql("select sum(checksumAmounntInclVAT) from [ASFINAG].[dbo].[TTRTrailer] where PKHistory = 0 and [TTRTrailer].PKFileName in (select distinct([TTRBody].PKFileName) as Test from [ASFINAG].[dbo].[TTRBody] where (TTRBody.PKHistory = 0) And (TTRBody.PKFileName Like N'" & checkifTestfiles() & ".%') AND TTRBody.abrechnungsdatum = '" & f.Datum.ToShortDateString & "')", "ASFINAG")
|
||||
If pruefSumTTR IsNot Nothing AndAlso IsNumeric(pruefSumTTR) Then
|
||||
txtTTRSum.Text = CDbl(pruefSumTTR).ToString("C2")
|
||||
lblTTRSum.Visible = True
|
||||
|
||||
Reference in New Issue
Block a user