Revision cbaa3d74
Von Jan Büren vor fast 3 Jahren hinzugefügt
SL/BackgroundJob/SelfTest/Transactions.pm | ||
---|---|---|
472 | 472 |
from acc_trans ac left join ar on (ac.trans_id = ar.id) |
473 | 473 |
WHERE ac.chart_link like 'AR_amount%' |
474 | 474 |
AND ac.transdate >= ? AND ac.transdate <= ? |
475 |
AND ar.type = 'invoice' |
|
475 | 476 |
group by invnumber,netamount having sum(ac.amount) <> ar.netamount|; |
476 | 477 |
|
477 | 478 |
my $ar_amount_not_ac_amount = selectall_hashref_query($::form, $self->dbh, $query, $self->fromdate, $self->todate); |
Auch abrufbar als: Unified diff
SelfTest: ar_amount nicht bei Anzahlungs- oder Schlußrechnungen prüfen