From d561034be427e01d6ebb026ae59e0a1c159bdc34 Mon Sep 17 00:00:00 2001
From: einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>
Date: Tue, 31 Oct 2006 04:08:18 +0000
Subject: Danish and Dutch CoA's...

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@416 4979c152-3d1c-0410-bac9-87ea11338e46
---
 sql/Dutch_Default-chart.sql | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

(limited to 'sql/Dutch_Default-chart.sql')

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');
 --
-- 
cgit v1.2.3

