summaryrefslogtreecommitdiff
path: root/sql/UK_General-chart.sql
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-14 21:29:33 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-14 21:29:33 +0000
commit6fb9913158ea30e4e0d1cd2421df0a5e16ec80e3 (patch)
tree98ebe3e3c4f34e55ea8b1497e95474047794893b /sql/UK_General-chart.sql
parentb649674cedc410fe068bfe441b6da6ab5ac5e4e3 (diff)
Fixed defaults in numerous CoA's
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@598 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql/UK_General-chart.sql')
-rwxr-xr-xsql/UK_General-chart.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/UK_General-chart.sql b/sql/UK_General-chart.sql
index 131facc6..3aca9ec3 100755
--- a/sql/UK_General-chart.sql
+++ b/sql/UK_General-chart.sql
@@ -105,9 +105,9 @@ INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES
INSERT INTO tax (chart_id,rate) VALUES ((SELECT id FROM chart WHERE accno = '2200'),0.175);
INSERT INTO tax (chart_id,rate) VALUES ((SELECT id FROM chart WHERE accno = '2205'),0.05);
--
- SET inventory_accno_id = (SELECT id FROM chart WHERE accno = '1001'));
+INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (SELECT id FROM chart WHERE accno = '1001'));
- INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (SELECT id FROM chart WHERE accno = '4000'));
+ INSERT INTO defaults (setting_key, value) VALUES ('income_accno_id', (SELECT id FROM chart WHERE accno = '4000'));
INSERT INTO defaults (setting_key, value) VALUES ('expense_accno_id', (SELECT id FROM chart WHERE accno = '5000'));