summaryrefslogtreecommitdiff
path: root/sql/Colombia-PUC-chart.sql
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-31 04:07:04 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-31 04:07:04 +0000
commit5d06ac37979901b7fe0ea6bddc18194fa6b14a25 (patch)
tree166b3500cf1d4c3e4af13a1d043fc1ce00924a6e /sql/Colombia-PUC-chart.sql
parentd08818151cb1cb4041599b977c66489eb6bc4e4f (diff)
COnverted all Canadian, Colombian, and Czech CoA's
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@415 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql/Colombia-PUC-chart.sql')
-rwxr-xr-xsql/Colombia-PUC-chart.sql14
1 files changed, 13 insertions, 1 deletions
diff --git a/sql/Colombia-PUC-chart.sql b/sql/Colombia-PUC-chart.sql
index 82087d75..035e249a 100755
--- a/sql/Colombia-PUC-chart.sql
+++ b/sql/Colombia-PUC-chart.sql
@@ -769,5 +769,17 @@ INSERT INTO tax (chart_id, rate) VALUES ((SELECT id FROM chart WHERE accno = '24
INSERT INTO tax (chart_id, rate) VALUES ((SELECT id FROM chart WHERE accno = '2408100001'), 0.16);
INSERT INTO tax (chart_id, rate) VALUES ((SELECT id FROM chart WHERE accno = '2408100002'), 0.07);
-UPDATE defaults SET inventory_accno_id = (SELECT id FROM chart WHERE accno = '141005001'), income_accno_id = (SELECT id FROM chart WHERE accno = '412027001'), expense_accno_id = (SELECT id FROM chart WHERE accno = '5250150001'), fxgain_accno_id = (SELECT id FROM chart WHERE accno = '4705400001'), fxloss_accno_id = (SELECT id FROM chart WHERE accno = '530520001'), curr = 'COP', weightunit = 'kg';
+ SET inventory_accno_id = (SELECT id FROM chart WHERE accno = '141005001'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (SELECT id FROM chart WHERE accno = '412027001'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('expense_accno_id', (SELECT id FROM chart WHERE accno = '5250150001'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('fxgain_accno_id', (SELECT id FROM chart WHERE accno = '4705400001'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('fxloss_accno_id', (SELECT id FROM chart WHERE accno = '530520001'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('curr', 'COP');
+
+ INSERT INTO defaults (setting_key, value) VALUES ('weightunit', 'kg');