HshCologne/Export/FibuExporter - Umstellung auf Rechnungsdatum als Maß für Export
This commit is contained in:
@@ -76,7 +76,7 @@ namespace HshCologne.Export
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0}", row[4])); // Belegfeld 2
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0:dd.MM.yyyy}", lastDate));
|
||||
sb.Append(String.Format("{0:dd.MM.yyyy}", row[2]));
|
||||
sb.Append(";");
|
||||
sb.Append(String.Format("{0}", row[1])); // Debitor Organisation
|
||||
sb.Append(";");
|
||||
@@ -105,7 +105,7 @@ inner join serviceinvoice si on si.invoicebaseoid = ib.oid
|
||||
inner join serviceinvoiceperiod sip on sip.serviceinvoiceoid = si.oid
|
||||
inner join costbearer cb on ib.recipientcostbeareroid = cb.oid
|
||||
inner join organisation org on org.costbeareroid = cb.oid
|
||||
WHERE ib.`AccountingPeriodEnd` >= ':Monat_Start' AND ib.`AccountingPeriodEnd` < ':Monat_End' and ib.IsActive = 1 AND ib.`IsExported` = 0
|
||||
WHERE ib.InvoiceDate >= ':Monat_Start' AND ib.InvoiceDate < ':Monat_End' and ib.IsActive = 1 AND ib.`IsExported` = 0
|
||||
GROUP BY ib.Oid
|
||||
order by ib.invoicenumber
|
||||
";
|
||||
|
||||
Reference in New Issue
Block a user