diff options
Diffstat (limited to 'sql/France-chart.sql')
-rwxr-xr-x | sql/France-chart.sql | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sql/France-chart.sql b/sql/France-chart.sql index 24151270..47dd8f80 100755 --- a/sql/France-chart.sql +++ b/sql/France-chart.sql @@ -947,5 +947,17 @@ INSERT INTO tax (chart_id, rate) VALUES ((SELECT id FROM chart WHERE accno = '44 -- -- 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'); -- |