From: Udo Spallek Date: Thu, 3 May 2007 12:29:20 +0000 (+0000) Subject: Solved Bug 579 X-Git-Tag: release-2.4.3^2~404 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2fc0c33e6eb479f20a00baa9f24a5bffc9690286;p=kivitendo-erp.git Solved Bug 579 --- diff --git a/sql/Pg-upgrade2/COA_Account_Settings001.sql b/sql/Pg-upgrade2/COA_Account_Settings001.sql new file mode 100644 index 000000000..d603d3ee5 --- /dev/null +++ b/sql/Pg-upgrade2/COA_Account_Settings001.sql @@ -0,0 +1,16 @@ +-- @tag: COA_Account_Settings001 +-- @description: Aktualisierung des SKR03 +-- @depends: release_2_4_2 + +UPDATE taxkeys + SET pos_ustva='861', + tax_id=(SELECT id FROM tax WHERE taxkey='2'), + taxkey_id='2' + WHERE startdate='1970-01-01' + AND chart_id = (SELECT id FROM chart WHERE accno ='1771') + AND + EXISTS ( -- update only for SKR03 + SELECT coa FROM defaults + WHERE defaults.coa='Germany-DATEV-SKR03EU' + ); +