[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [417] trunk/sql
- Subject: SF.net SVN: ledger-smb: [417] trunk/sql
- From: ..hidden..
- Date: Mon, 30 Oct 2006 20:10:39 -0800
Revision: 417
http://svn.sourceforge.net/ledger-smb/?rev=417&view=rev
Author: einhverfr
Date: 2006-10-30 20:10:35 -0800 (Mon, 30 Oct 2006)
Log Message:
-----------
Egyptian and French CoA's...
Modified Paths:
--------------
trunk/sql/Egypt-UTF8-chart.sql
trunk/sql/France-chart.sql
Modified: trunk/sql/Egypt-UTF8-chart.sql
===================================================================
--- trunk/sql/Egypt-UTF8-chart.sql 2006-10-31 04:08:18 UTC (rev 416)
+++ trunk/sql/Egypt-UTF8-chart.sql 2006-10-31 04:10:35 UTC (rev 417)
@@ -72,8 +72,19 @@
INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('5790','ÙØØÙÙ','A','E','AP_amount','');
INSERT INTO chart (accno,description,charttype,category,link,gifi_accno) VALUES ('2280','ØØØØØ ÙØØØØØ ÙØØØÙØ','A','L','','');
-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'), weightunit = 'kg', curr = 'USD:CAD:EUR';
+ SET 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 ('weightunit', 'kg');
+INSERT INTO defaults (setting_key, value) VALUES ('curr', 'USD:CAD:EUR';
+
INSERT INTO tax (chart_id,rate,taxnumber) VALUES ((SELECT id FROM chart WHERE accno = '2310'),'0.1',NULL);
INSERT INTO tax (chart_id,rate,taxnumber) VALUES ((SELECT id FROM chart WHERE accno = '2320'),'0.14',NULL);
INSERT INTO tax (chart_id,rate,taxnumber) VALUES ((SELECT id FROM chart WHERE accno = '2330'),'0.3',NULL);
Modified: trunk/sql/France-chart.sql
===================================================================
--- trunk/sql/France-chart.sql 2006-10-31 04:08:18 UTC (rev 416)
+++ trunk/sql/France-chart.sql 2006-10-31 04:10:35 UTC (rev 417)
@@ -947,5 +947,17 @@
--
-- update defaults
--
-update defaults set inventory_accno_id = (select id from chart where accno = '681730'), income_accno_id = (select id from chart where accno = '707000'), expense_accno_id = (select id from chart where accno = '601000'), fxgain_accno_id = (select id from chart where accno = '999000'), fxloss_accno_id = (select id from chart where accno = '999010'), curr = 'EUR', weightunit = 'kg';
+INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select id from chart where accno = '681730'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select id from chart where accno = '707000'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('expense_accno_id', (select id from chart where accno = '601000'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('fxgain_accno_id', (select id from chart where accno = '999000'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('fxloss_accno_id', (select id from chart where accno = '999010'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('curr', 'EUR');
+
+ INSERT INTO defaults (setting_key, value) VALUES ('weightunit', 'kg');
--
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.