X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/debf6f14125467bae667bebb2584745bf1a7e718..4536d0a7bc1b0b014cdac7211dcc171973678dbf:/SL/USTVA.pm diff --git a/SL/USTVA.pm b/SL/USTVA.pm index 9f1551ed4..f99021f9a 100644 --- a/SL/USTVA.pm +++ b/SL/USTVA.pm @@ -912,7 +912,7 @@ sub get_accounts_ustva { SELECT id FROM taxkeys WHERE 1=1 AND chart_id=ac.chart_id - AND taxkey_id = ac.taxkey + --AND taxkey_id = ac.taxkey AND startdate <= COALESCE(AP.transdate) ORDER BY startdate DESC LIMIT 1 )