diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-31 04:08:18 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-31 04:08:18 +0000 |
commit | d561034be427e01d6ebb026ae59e0a1c159bdc34 (patch) | |
tree | 30a688659519449be72df07c3f91b066383360fd /sql | |
parent | 5d06ac37979901b7fe0ea6bddc18194fa6b14a25 (diff) |
Danish and Dutch CoA's...
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@416 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql')
-rwxr-xr-x | sql/Danish_Default-chart.sql | 14 | ||||
-rwxr-xr-x | sql/Dutch_Default-chart.sql | 14 | ||||
-rwxr-xr-x | sql/Dutch_Standard-chart.sql | 14 |
3 files changed, 39 insertions, 3 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'); -- diff --git a/sql/Dutch_Default-chart.sql b/sql/Dutch_Default-chart.sql index 45659dc9..3862f4c6 100755 --- a/sql/Dutch_Default-chart.sql +++ b/sql/Dutch_Default-chart.sql @@ -76,5 +76,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 = '2310'),0.19); insert into tax (chart_id,rate) values ((select id from chart where accno = '2311'),0.06); -- -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 = 'EUR:USD', 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', 'EUR:USD'); + + INSERT INTO defaults (setting_key, value) VALUES ('weightunit', 'kg'); -- diff --git a/sql/Dutch_Standard-chart.sql b/sql/Dutch_Standard-chart.sql index 27de122a..79e1cac6 100755 --- a/sql/Dutch_Standard-chart.sql +++ b/sql/Dutch_Standard-chart.sql @@ -229,5 +229,17 @@ insert into tax (chart_id,rate) values ((select id from chart where accno = '180 insert into tax (chart_id,rate) values ((select id from chart where accno = '1810'),0.19); insert into tax (chart_id,rate) values ((select id from chart where accno = '1811'),0.06); -- -update defaults set inventory_accno_id = (select id from chart where accno = '7001'), income_accno_id = (select id from chart where accno = '8520'), expense_accno_id = (select id from chart where accno = '8010'), fxgain_accno_id = (select id from chart where accno = '9220'), fxloss_accno_id = (select id from chart where accno = '9220'), curr = 'EUR:USD', weightunit = 'kg'; +INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select id from chart where accno = '7001')); + + INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select id from chart where accno = '8520')); + + INSERT INTO defaults (setting_key, value) VALUES ('expense_accno_id', (select id from chart where accno = '8010')); + + INSERT INTO defaults (setting_key, value) VALUES ('fxgain_accno_id', (select id from chart where accno = '9220')); + + INSERT INTO defaults (setting_key, value) VALUES ('fxloss_accno_id', (select id from chart where accno = '9220')); + + INSERT INTO defaults (setting_key, value) VALUES ('curr', 'EUR:USD'); + + INSERT INTO defaults (setting_key, value) VALUES ('weightunit', 'kg'); -- |