From: Jan Büren Date: Thu, 3 Mar 2022 12:50:24 +0000 (+0100) Subject: reverse Charge Upgrade Skript. Syntax und Vorgängerversion X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~154 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=95196671f448d1f0b4f5adf52c260f59f1e32683;p=kivitendo-erp.git reverse Charge Upgrade Skript. Syntax und Vorgängerversion --- diff --git a/sql/Pg-upgrade2/tax_reverse_charge.sql b/sql/Pg-upgrade2/tax_reverse_charge.sql index cf075a954..fd1e7551d 100644 --- a/sql/Pg-upgrade2/tax_reverse_charge.sql +++ b/sql/Pg-upgrade2/tax_reverse_charge.sql @@ -1,6 +1,6 @@ -- @tag: tax_reverse_charge -- @description: Reverse Charge für Kreditorenbelege --- @depends: release_3_5_0 +-- @depends: release_3_6_0 -- @ignore: 0 ALTER TABLE tax add column reverse_charge_chart_id integer; @@ -99,7 +99,6 @@ WHERE EXISTS ( -- update only for SKR03 WHERE defaults.coa='Germany-DATEV-SKR04EU' ); -; -- if not defined insert into taxkeys(chart_id,tax_id,taxkey_id,startdate) SELECT (SELECT chart_id FROM tax WHERE taxkey = '94'),0,0,'1970-01-01' WHERE NOT EXISTS (SELECT chart_id from taxkeys where chart_id = ( SELECT chart_id FROM tax WHERE taxkey = '94'));