Leeren Kontenrahmen auf die Basics erweitert.
[kivitendo-erp.git] / sql / Leerer-Kontenrahmen-chart.sql
1 -- changes on system tables
2 -- TODO Make me Update2
3 ALTER TABLE tax ALTER COLUMN taxkey DROP NOT NULL;
4
5 -- Minimal COA
6
7 INSERT INTO chart (
8   accno,       description,        charttype,     category,    link,    
9   gifi_accno,  taxkey_id,          pos_ustva,     pos_bwa,     pos_bilanz,  
10   pos_eur,     datevautomatik,     new_chart_id,  valid_from  
11 ) VALUES (
12   ' ',         'Nicht zugeordnet'  'A',           '',          '',
13   '',          0,                  0,             0,           0,
14   0,           FALSE,              0,             now()  
15 );
16
17 -- Minimal Tax Konfiguration
18
19 INSERT INTO tax 
20        (chart_id,  rate,  taxnumber,  taxkey,  taxdescription) 
21 VALUES ('0',       '0',   '0',         '0',     'ohne Steuerautomatik');
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40