From d08818151cb1cb4041599b977c66489eb6bc4e4f Mon Sep 17 00:00:00 2001
From: einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>
Date: Tue, 31 Oct 2006 04:04:09 +0000
Subject: Converted Australian and Austrian CoA's

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

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

diff --git a/sql/Austria-chart.sql b/sql/Austria-chart.sql
index 47a11f72..d52d3170 100755
--- a/sql/Austria-chart.sql
+++ b/sql/Austria-chart.sql
@@ -139,5 +139,16 @@ insert into tax (chart_id,rate) values ((select id from chart where accno = '353
 insert into tax (chart_id,rate) values ((select id from chart where accno = '3531'),0.10);
 insert into tax (chart_id,rate) values ((select id from chart where accno = '3532'),0.20);
 --
-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 = '7610'), fxgain_accno_id = (select id from chart where accno = '4640'), fxloss_accno_id = (select id from chart where accno = '8050'), 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 ('income_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 = '7610'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('fxgain_accno_id', (select id from chart where accno = '4640'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('fxloss_accno_id', (select id from chart where accno = '8050'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('curr', 'EUR:USD');
+
+ INSERT INTO defaults (setting_key, value) VALUES ('weightunit', 'kg');
 --
-- 
cgit v1.2.3

