projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
552ed9b
)
SelfTests: False Positive bei Buchungen auf ic_cogs als Sammelkonto vermeiden
author
Daniel Krieger
<daniel@kivitendo.de>
Mon, 4 Jun 2018 08:51:12 +0000
(10:51 +0200)
committer
Jan Büren
<jan@kivitendo-premium.de>
Mon, 4 Jun 2018 08:51:12 +0000
(10:51 +0200)
SL/BackgroundJob/SelfTest/Transactions.pm
patch
|
blob
|
history
diff --git
a/SL/BackgroundJob/SelfTest/Transactions.pm
b/SL/BackgroundJob/SelfTest/Transactions.pm
index
d1842c3
..
b64966a
100644
(file)
--- a/
SL/BackgroundJob/SelfTest/Transactions.pm
+++ b/
SL/BackgroundJob/SelfTest/Transactions.pm
@@
-479,7
+479,7
@@
sub check_ap_acc_trans_amount {
my $query = qq|
select sum(ac.amount) as amount, ap.invnumber,ap.netamount
from acc_trans ac left join ap on (ac.trans_id = ap.id)
- WHERE ac.chart_link like '%AP_amount%'
+ WHERE ac.chart_link like '%AP_amount%'
OR ac.chart_link like '%IC_cogs%'
AND ac.transdate >= ? AND ac.transdate <= ?
group by invnumber,trans_id,netamount having sum(ac.amount) <> ap.netamount*-1|;