Revision 4542774a
Von Bernd Bleßmann vor fast 5 Jahren hinzugefügt
SL/BackgroundJob/SelfTest/Transactions.pm | ||
---|---|---|
210 | 210 |
|
211 | 211 |
my $query = qq| |
212 | 212 |
SELECT sum(amount) from ar a WHERE a.id IN |
213 |
(SELECT id from ap where storno is true
|
|
213 |
(SELECT id from ar where storno is true
|
|
214 | 214 |
AND a.transdate >= ? and a.transdate <= ?)|; |
215 | 215 |
my ($summe_stornobuchungen_ar) = selectfirst_array_query($::form, $self->dbh, $query, $self->fromdate, $self->todate); |
216 | 216 |
|
Auch abrufbar als: Unified diff
SelfTest: Transactions: Stornosumme -> copy/paste-Fehler ar statt ap