Alloheim/Export/SAPExporter - Minianpassung
This commit is contained in:
@@ -148,15 +148,15 @@ namespace Alloheim.Export
|
||||
sb.Append("EUR\t");
|
||||
if (counter < 10)
|
||||
{
|
||||
sb.Append(String.Format("1192{0:yyyy}{0:MM}00{1} \t", lastDate, counter));// Profitcenter + Rechnungs - Nr.VN, genau 11 Stellen
|
||||
sb.Append(String.Format("1192{0:yy}{0:MM}00{1} \t", lastDate, counter));// Profitcenter + Rechnungs - Nr.VN, genau 11 Stellen
|
||||
}
|
||||
else if (counter < 100)
|
||||
{
|
||||
sb.Append(String.Format("1192{0:yyyy}{0:MM}0{1} \t", lastDate, counter));// Profitcenter + Rechnungs - Nr.VN, genau 11 Stellen
|
||||
sb.Append(String.Format("1192{0:yy}{0:MM}0{1} \t", lastDate, counter));// Profitcenter + Rechnungs - Nr.VN, genau 11 Stellen
|
||||
}
|
||||
else
|
||||
{
|
||||
sb.Append(String.Format("1192{0:yyyy}{0:MM}{1} \t", lastDate, counter));// Profitcenter + Rechnungs - Nr.VN, genau 11 Stellen
|
||||
sb.Append(String.Format("1192{0:yy}{0:MM}{1} \t", lastDate, counter));// Profitcenter + Rechnungs - Nr.VN, genau 11 Stellen
|
||||
}
|
||||
sb.Append("1192\t"); // Belegkopftext 1192
|
||||
sb.Append("D\t"); // D = Debitorenposition / zweite Zeile: S = Sachkontenposition
|
||||
@@ -166,7 +166,7 @@ namespace Alloheim.Export
|
||||
sb.Append("00\t"); // Umsatzsteuerschlüssel
|
||||
sb.Append("S\t"); // zweite Zeile: S
|
||||
sb.Append(String.Format("1192{0}\t", row[1])); // Debitorennummer Bewohner
|
||||
sb.Append(String.Format("1192{0} {1:MM}/{1:yyyy}:{2}\t", row[1], lastDate, row[3])); // Buchungstext: Bew.Nr., Abr.-Zeitraum, Nachname, Vorname
|
||||
sb.Append(String.Format("1192{0}:{1:MM}/{1:yyyy}:{2}\t", row[1], lastDate, row[3])); // Buchungstext: Bew.Nr., Abr.-Zeitraum, Nachname, Vorname
|
||||
sb.AppendLine();
|
||||
|
||||
// zweite Linie - Rechnungspostionen
|
||||
@@ -177,15 +177,15 @@ namespace Alloheim.Export
|
||||
sb.Append("EUR\t");
|
||||
if (counter < 10)
|
||||
{
|
||||
sb.Append(String.Format("1192{0:yyyy}{0:MM}00{1} \t", lastDate, counter));// Profitcenter + Rechnungs - Nr.VN, genau 11 Stellen
|
||||
sb.Append(String.Format("1192{0:yy}{0:MM}00{1} \t", lastDate, counter));// Profitcenter + Rechnungs - Nr.VN, genau 11 Stellen
|
||||
}
|
||||
else if (counter < 100)
|
||||
{
|
||||
sb.Append(String.Format("1192{0:yyyy}{0:MM}0{1} \t", lastDate, counter));// Profitcenter + Rechnungs - Nr.VN, genau 11 Stellen
|
||||
sb.Append(String.Format("1192{0:yy}{0:MM}0{1} \t", lastDate, counter));// Profitcenter + Rechnungs - Nr.VN, genau 11 Stellen
|
||||
}
|
||||
else
|
||||
{
|
||||
sb.Append(String.Format("1192{0:yyyy}{0:MM}{1} \t", lastDate, counter));// Profitcenter + Rechnungs - Nr.VN, genau 11 Stellen
|
||||
sb.Append(String.Format("1192{0:yy}{0:MM}{1} \t", lastDate, counter));// Profitcenter + Rechnungs - Nr.VN, genau 11 Stellen
|
||||
}
|
||||
sb.Append("1192\t"); // Belegkopftext 1192
|
||||
sb.Append("S\t"); // S = Sachkontenposition
|
||||
|
||||
Reference in New Issue
Block a user