Pro Artikel und Sortimentscode in Exact Online die Einnahmen pro Monat

421
Guido Leenders

Ich möchte pro Artikel und Sortimentscode in Exact Online die Gesamtmenge der gelieferten Artikel und den Betrag der Divisionswährung ermitteln. Exact Online bietet nur eine Übersicht pro Konto. Wie kann ich diese Liste mit Invantive Control abrufen?

0

1 Antwort auf die Frage

0
Guido Leenders

Dies ist eine häufig vorkommende Frage. Sie benötigen eine Invantive SQL-Anweisung, die die Mengen und Beträge aus dem Verkaufsjournal im Hauptbuch von Exact Online summiert. Es würde ungefähr so ​​aussehen:

select tle.division, tle.financialyear, tle.financialperiod, tle.itemcode, tle.item, itm.class_01, itm.class_10, sum(tle.quantity) quantity, sum(tle.amountdc) amountdc from transactionlines tle join exactonlinerest..items itm on itm.id = tle.item where tle.journalcode = '70' and tle.itemcode is not null and tle.financialyear = 2017 and tle.financialperiod = 3 group  by tle.division, tle.financialyear, tle.financialperiod, tle.itemcode, tle.item, itm.class_01, itm.class_10 order by tle.division, tle.financialyear, tle.financialperiod