diff options
Diffstat (limited to 'sql/Danish_Default-chart.sql')
-rwxr-xr-x | sql/Danish_Default-chart.sql | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sql/Danish_Default-chart.sql b/sql/Danish_Default-chart.sql index b7223d8b..090f40ed 100755 --- a/sql/Danish_Default-chart.sql +++ b/sql/Danish_Default-chart.sql @@ -71,5 +71,17 @@ insert into chart (accno,description,charttype,gifi_accno,category,link) values insert into tax (chart_id,rate) values ((select id from chart where accno = '1210'),0.25); insert into tax (chart_id,rate) values ((select id from chart where accno = '2311'),0.25); -- -update defaults set inventory_accno_id = (select id from chart where accno = '1520'), income_accno_id = (select id from chart where accno = '4020'), expense_accno_id = (select id from chart where accno = '5010'), fxgain_accno_id = (select id from chart where accno = '4450'), fxloss_accno_id = (select id from chart where accno = '5810'), curr = 'DKK', weightunit = 'kg'; +INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select id from chart where accno = '1520')); + + INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select id from chart where accno = '4020')); + + INSERT INTO defaults (setting_key, value) VALUES ('expense_accno_id', (select id from chart where accno = '5010')); + + INSERT INTO defaults (setting_key, value) VALUES ('fxgain_accno_id', (select id from chart where accno = '4450')); + + INSERT INTO defaults (setting_key, value) VALUES ('fxloss_accno_id', (select id from chart where accno = '5810')); + + INSERT INTO defaults (setting_key, value) VALUES ('curr', 'DKK'); + + INSERT INTO defaults (setting_key, value) VALUES ('weightunit', 'kg'); -- |