ZukunftLeben/Export/DatevExporter.cs - Debitornr wieder aus HP
SupportOID=168733
This commit is contained in:
@@ -117,7 +117,7 @@ namespace ZukunftLeben.Export
|
||||
buchungstext = String.Format("{0}, {1} {2:MM}/{2:yy}", c.Person.LastName, c.Person.FirstName, row[8]);
|
||||
}
|
||||
|
||||
string konto = String.Format("{0}", row[1]).Trim(); // customer.DebitorNumber
|
||||
string konto = String.Format("{0}", row[7]).Trim(); // c2s.Notice als Debitor
|
||||
string belegfeld1 = String.Format("{0}", row[3]).Trim(); // ib.invoicenumber
|
||||
sb.Append(BuildBuchungszeile(row[0], konto, "8100", row[2], belegfeld1, buchungstext)); // Betrag, Konto (Debitor), Gegenkonto (Erlöskonto), Belegdatum, Belegfeld 1 (Rechnungsnummer), Buchungstext
|
||||
}
|
||||
@@ -182,7 +182,7 @@ cb2sc.Notice AS 'Kostenstelle',
|
||||
buchungstext = String.Format("{0}, {1} {2:MM}/{2:yy}", c.Person.LastName, c.Person.FirstName, lastDate);
|
||||
}
|
||||
|
||||
string konto = String.Format("{0}", row[1]).Trim(); // customer.DebitorNumber
|
||||
string konto = String.Format("{0}", row[5]).Trim(); // c2s.Notice als Debitor
|
||||
sb.Append(BuildBuchungszeile(row[0], konto, "8100", lastDate, "", buchungstext)); // Betrag, Konto (Debitor), Gegenkonto (Erlöskonto), Belegdatum, Belegfeld 1, Buchungstext
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user