summaryrefslogtreecommitdiff
path: root/sql/Sweden-chart.sql
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-31 04:23:28 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-31 04:23:28 +0000
commit2230a9b561c625d2365c70b23985609bfa05a51b (patch)
treea25a5499478cfd046e7c990faafe562582b5a926 /sql/Sweden-chart.sql
parentc9112193ee0b36390570e8eaae05357bb1ab43cf (diff)
Finished converting CoA's...
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@418 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql/Sweden-chart.sql')
-rwxr-xr-xsql/Sweden-chart.sql14
1 files changed, 13 insertions, 1 deletions
diff --git a/sql/Sweden-chart.sql b/sql/Sweden-chart.sql
index bfc6fa72..d721a76d 100755
--- a/sql/Sweden-chart.sql
+++ b/sql/Sweden-chart.sql
@@ -1134,5 +1134,17 @@ insert into tax (chart_id,rate) values ((select id from chart where accno = '262
insert into tax (chart_id,rate) values ((select id from chart where accno = '2630'),0.06);
insert into tax (chart_id,rate) values ((select id from chart where accno = '2640'),0);
--
-update defaults set inventory_accno_id = (select id from chart where accno ='1400'), income_accno_id = (select id from chart where accno = '3010'), expense_accno_id = (select id from chart where accno = '4010'), fxgain_accno_id = (select id from chart where accno = '3960'), fxloss_accno_id = (select id from chart where accno = '7960'), curr = 'SEK:EUR:USD', weightunit = 'kg';
+INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select id from chart where accno ='1400'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select id from chart where accno = '3010'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('expense_accno_id', (select id from chart where accno = '4010'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('fxgain_accno_id', (select id from chart where accno = '3960'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('fxloss_accno_id', (select id from chart where accno = '7960'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('curr', 'SEK:EUR:USD');
+
+ INSERT INTO defaults (setting_key, value) VALUES ('weightunit', 'kg');