Revision 2fc0c33e
Von Udo Spallek vor mehr als 17 Jahren hinzugefügt
sql/Pg-upgrade2/COA_Account_Settings001.sql | ||
---|---|---|
1 |
-- @tag: COA_Account_Settings001 |
|
2 |
-- @description: Aktualisierung des SKR03 |
|
3 |
-- @depends: release_2_4_2 |
|
4 |
|
|
5 |
UPDATE taxkeys |
|
6 |
SET pos_ustva='861', |
|
7 |
tax_id=(SELECT id FROM tax WHERE taxkey='2'), |
|
8 |
taxkey_id='2' |
|
9 |
WHERE startdate='1970-01-01' |
|
10 |
AND chart_id = (SELECT id FROM chart WHERE accno ='1771') |
|
11 |
AND |
|
12 |
EXISTS ( -- update only for SKR03 |
|
13 |
SELECT coa FROM defaults |
|
14 |
WHERE defaults.coa='Germany-DATEV-SKR03EU' |
|
15 |
); |
|
16 |
|
Auch abrufbar als: Unified diff
Solved Bug 579