diff --git a/ReportImp/MalteserJohanniterJohanneshaus/Datev/DatevExporter.cs b/ReportImp/MalteserJohanniterJohanneshaus/Datev/DatevExporter.cs index a5a618a19..28d798159 100644 --- a/ReportImp/MalteserJohanniterJohanneshaus/Datev/DatevExporter.cs +++ b/ReportImp/MalteserJohanniterJohanneshaus/Datev/DatevExporter.cs @@ -32,7 +32,7 @@ namespace MalteserJohanniterJohanneshaus.Export StringBuilder sb = new StringBuilder(); //sb.AppendLine("Datum;Konto;Gegenkonto;Buchungstext;Belegfeld1;Umsatz Soll;Kostenstelle"); - sb.AppendLine("Belegdatum;Belegnummer;Debitorennummer;Kontonummer;Betrag;Buchungstext;Kostenstelle"); + sb.AppendLine("Belegdatum;Belegnummer;Debitorennummer;Kontonummer;Betrag;Buchungstext;Kostenstelle;SH KZN;F KZN;W KZN"); var s = GetMonatlicheBetraegeString(date); if (!String.IsNullOrWhiteSpace(s)) @@ -104,6 +104,7 @@ c2s.Notice AS 'Kostenstelle' sb.Append(";"); sb.Append("70000"); + sb.Append(";S;0;EUR"); } return sb.ToString(); @@ -147,12 +148,13 @@ cb2sc.Notice AS 'Kostenstelle', sb.Append(String.Format("{0:0.00}", row[0])); sb.Append(";"); - sb.Append(String.Format("ABW, {0} - {1:yyyy}/{1:MM}", row[3], lastDate)); + sb.Append(String.Format("{0} - {1:yyyy}/{1:MM}", row[3], lastDate)); sb.Append(";"); string costcenter; costcenter = String.Format("{0}", row[5]); // CB2SC Notice costcenter.Trim(); sb.Append(costcenter); + sb.Append(";S;0;EUR"); } return sb.ToString();