Revision 80d94baf
Von Moritz Bunkus vor fast 18 Jahren hinzugefügt
sql/Pg-upgrade2/tax_description_without_percentage_skr04.sql | ||
---|---|---|
1 |
-- @tag: tax_description_without_percentage_skr04 |
|
2 |
-- @description: SKR04: Die Prozentangaben aus der tax.taxdescription entfernen. (Unter Berücksichtigung der Druckausgabe.) |
|
3 |
-- @depends: ustva_setup_2007 |
|
4 |
|
|
5 |
--############################################################# |
|
6 |
--# |
|
7 |
--# Taxdescription setzen |
|
8 |
--# |
|
9 |
--############################################################# |
|
10 |
|
|
11 |
UPDATE tax SET |
|
12 |
taxdescription = 'USt-frei' |
|
13 |
WHERE taxkey = '1' |
|
14 |
AND |
|
15 |
EXISTS ( -- update only for SKR04 |
|
16 |
SELECT coa FROM defaults |
|
17 |
WHERE defaults.coa='Germany-DATEV-SKR04EU' |
|
18 |
) |
|
19 |
; |
|
20 |
|
|
21 |
UPDATE tax SET |
|
22 |
taxdescription = 'Umsatzsteuer' |
|
23 |
WHERE taxkey = '2' |
|
24 |
AND |
|
25 |
EXISTS ( -- update only for SKR04 |
|
26 |
SELECT coa FROM defaults |
|
27 |
WHERE defaults.coa='Germany-DATEV-SKR04EU' |
|
28 |
) |
|
29 |
; |
|
30 |
|
|
31 |
UPDATE tax SET |
|
32 |
taxdescription = 'Umsatzsteuer' |
|
33 |
WHERE taxkey = '3' |
|
34 |
AND |
|
35 |
EXISTS ( -- update only for SKR04 |
|
36 |
SELECT coa FROM defaults |
|
37 |
WHERE defaults.coa='Germany-DATEV-SKR04EU' |
|
38 |
) |
|
39 |
; |
|
40 |
|
|
41 |
|
|
42 |
UPDATE tax SET |
|
43 |
taxdescription = 'Vorsteuer' |
|
44 |
WHERE taxkey = '8' |
|
45 |
AND |
|
46 |
EXISTS ( -- update only for SKR04 |
|
47 |
SELECT coa FROM defaults |
|
48 |
WHERE defaults.coa='Germany-DATEV-SKR04EU' |
|
49 |
) |
|
50 |
; |
|
51 |
|
|
52 |
UPDATE tax SET |
|
53 |
taxdescription = 'Vorsteuer' |
|
54 |
WHERE taxkey = '9' |
|
55 |
AND |
|
56 |
EXISTS ( -- update only for SKR04 |
|
57 |
SELECT coa FROM defaults |
|
58 |
WHERE defaults.coa='Germany-DATEV-SKR04EU' |
|
59 |
) |
|
60 |
; |
|
61 |
|
|
62 |
UPDATE tax SET |
|
63 |
taxdescription = 'Im anderen EU-Staat steuerpflichtige Lieferung' |
|
64 |
WHERE taxkey = '10' |
|
65 |
AND |
|
66 |
EXISTS ( -- update only for SKR04 |
|
67 |
SELECT coa FROM defaults |
|
68 |
WHERE defaults.coa='Germany-DATEV-SKR04EU' |
|
69 |
) |
|
70 |
; |
|
71 |
|
|
72 |
UPDATE tax SET |
|
73 |
taxdescription = 'Steuerfreie innergem. Lieferung an Abnehmer mit Id.-Nr.' |
|
74 |
WHERE taxkey = '11' |
|
75 |
AND |
|
76 |
EXISTS ( -- update only for SKR04 |
|
77 |
SELECT coa FROM defaults |
|
78 |
WHERE defaults.coa='Germany-DATEV-SKR04EU' |
|
79 |
) |
|
80 |
; |
|
81 |
|
|
82 |
UPDATE tax SET |
|
83 |
taxdescription = 'Steuerpflichtige EG-Lieferung zum erm??igten Steuersatz' |
|
84 |
WHERE taxkey = '12' |
|
85 |
AND |
|
86 |
EXISTS ( -- update only for SKR04 |
|
87 |
SELECT coa FROM defaults |
|
88 |
WHERE defaults.coa='Germany-DATEV-SKR04EU' |
|
89 |
) |
|
90 |
; |
|
91 |
|
|
92 |
|
|
93 |
UPDATE tax SET |
|
94 |
taxdescription = 'Steuerpflichtige EG-Lieferung zum vollen Steuersatz' |
|
95 |
WHERE taxkey = '13' |
|
96 |
AND |
|
97 |
EXISTS ( -- update only for SKR04 |
|
98 |
SELECT coa FROM defaults |
|
99 |
WHERE defaults.coa='Germany-DATEV-SKR04EU' |
|
100 |
) |
|
101 |
; |
|
102 |
|
|
103 |
|
|
104 |
UPDATE tax SET |
|
105 |
taxdescription = 'Steuerpflichtiger innergem. Erwerb zum erm??igten Steuersatz' |
|
106 |
WHERE taxkey = '18' |
|
107 |
AND |
|
108 |
EXISTS ( -- update only for SKR04 |
|
109 |
SELECT coa FROM defaults |
|
110 |
WHERE defaults.coa='Germany-DATEV-SKR04EU' |
|
111 |
) |
|
112 |
; |
|
113 |
|
|
114 |
UPDATE tax SET |
|
115 |
taxdescription = 'Steuerpflichtiger innergem. Erwerb zum vollen Steuersatz' |
|
116 |
WHERE taxkey = '19' |
|
117 |
AND |
|
118 |
EXISTS ( -- update only for SKR04 |
|
119 |
SELECT coa FROM defaults |
|
120 |
WHERE defaults.coa='Germany-DATEV-SKR04EU' |
|
121 |
) |
|
122 |
; |
Auch abrufbar als: Unified diff
Beim Kontenrahmen SKR04 den Steuersatz aus der Steuerschlüsselbeschreibung herausnehmen, weil der vom Programm inzwischen zusätzlich angezeigt wird.