Ezoll-Import, etc.

This commit is contained in:
2026-05-20 10:44:39 +02:00
parent 322ea5466f
commit e2a1178c3e
2 changed files with 4 additions and 3 deletions

View File

@@ -381,6 +381,7 @@ Public Class usrCntlUSTV
Next
cProgramFunctions.genExcelFromDT_NEW(dtNew, {"K1:K" & (dtNew.Rows.Count + 1), "O1:T" & (dtNew.Rows.Count + 1)},,,,, True)
End If

View File

@@ -2363,7 +2363,7 @@ Public Class frmMDMDatenverarbetiung
trans.device_product_number as [Card Number],
trans.entry_point_name as [Entry Terminal],
trans.exit_point_name as [Exit Terminal],
case when trans.device_product_type like '%System Fee' then (msts_fee_amount + transaction_gross_amount) - trans.USteuer_EUR else transaction_gross_amount - trans.USteuer_EUR End As [Nett Amount],
case when trans.device_product_type like '%System Fee' then (msts_fee_amount + transaction_gross_amount) - trans.USteuer_EUR else transaction_gross_amount - trans.USteuer_EUR End As [Net Amount],
trans.USteuer_EUR As [VAT Amount],
case when trans.device_product_type like '%System Fee' then msts_fee_amount + transaction_gross_amount else transaction_gross_amount End as [Total Amount]
From [VERAG].[dbo].[tblMSESettlements] as bills
@@ -2390,8 +2390,8 @@ Public Class frmMDMDatenverarbetiung
Datenquelle,
[Customer No],
[Licence Plate Number],
[Transaction Date],
[Transaction Country],
[Transaction Date],
[Product description],
[Card Number],
[Entry Terminal],
@@ -2499,7 +2499,7 @@ transAgg AS
FROM VERAG.dbo.tblIDSTransactionsNew trans
WHERE trans.charged = 0 and KdNrVERAG not in (756150, 711104)
WHERE trans.chargedDatetime is not null and KdNrVERAG not in (756150, 711104)
GROUP BY
CAST(trans.YearMonthDay AS date),