diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-31 04:23:28 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-31 04:23:28 +0000 |
commit | 2230a9b561c625d2365c70b23985609bfa05a51b (patch) | |
tree | a25a5499478cfd046e7c990faafe562582b5a926 /sql/Norwegian_Default-chart.sql | |
parent | c9112193ee0b36390570e8eaae05357bb1ab43cf (diff) |
Finished converting CoA's...
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@418 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql/Norwegian_Default-chart.sql')
-rwxr-xr-x | sql/Norwegian_Default-chart.sql | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sql/Norwegian_Default-chart.sql b/sql/Norwegian_Default-chart.sql index 3a04b4da..9da1cb0d 100755 --- a/sql/Norwegian_Default-chart.sql +++ b/sql/Norwegian_Default-chart.sql @@ -293,5 +293,17 @@ insert into tax (chart_id,rate) values ((select id from chart where accno = '271 insert into tax (chart_id,rate) values ((select id from chart where accno = '2720'),0.24); insert into tax (chart_id,rate) values ((select id from chart where accno = '2725'),0.12); -- -update defaults set inventory_accno_id = (select id from chart where accno = '1250'), income_accno_id = (select id from chart where accno = '3010'), expense_accno_id = (select id from chart where accno = '4010'), fxgain_accno_id = (select id from chart where accno = '8080'), fxloss_accno_id = (select id from chart where accno = '8180'), curr = 'NOK:EUR:USD', weightunit = 'kg'; +INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select id from chart where accno = '1250')); + + INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select id from chart where accno = '3010')); + + INSERT INTO defaults (setting_key, value) VALUES ('expense_accno_id', (select id from chart where accno = '4010')); + + INSERT INTO defaults (setting_key, value) VALUES ('fxgain_accno_id', (select id from chart where accno = '8080')); + + INSERT INTO defaults (setting_key, value) VALUES ('fxloss_accno_id', (select id from chart where accno = '8180')); + + INSERT INTO defaults (setting_key, value) VALUES ('curr', 'NOK:EUR:USD'); + + INSERT INTO defaults (setting_key, value) VALUES ('weightunit', 'kg'); -- |