diff options
-rwxr-xr-x | sql/Danish_Default-chart.sql | 14 | ||||
-rwxr-xr-x | sql/Dutch_Default-chart.sql | 14 | ||||
-rwxr-xr-x | sql/Dutch_Standard-chart.sql | 14 |
3 files changed, 39 insertions, 3 deletions
diff --git a/sql/Danish_Default-chart.sql b/sql/Danish_Default-chart.sql index b7223d8b..090f40ed 100755 --- a/sql/Danish_Default-chart.sql +++ b/sql/Danish_Default-chart.sql @@ -71,5 +71,17 @@ insert into chart (accno,description,charttype,gifi_accno,category,link) values insert into tax (chart_id,rate) values ((select id from chart where accno = '1210'),0.25); insert into tax (chart_id,rate) values ((select id from chart where accno = '2311'),0.25); -- -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'), curr = 'DKK', weightunit = 'kg'; +INSERT INTO defaults (setting_key, value) VALUES ('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 ('curr', 'DKK'); + + INSERT INTO defaults (setting_key, value) VALUES ('weightunit', 'kg'); -- diff --git a/sql/Dutch_Default-chart.sql b/sql/Dutch_Default-chart.sql index 45659dc9..3862f4c6 100755 --- a/sql/Dutch_Default-chart.sql +++ b/sql/Dutch_Default-chart.sql @@ -76,5 +76,17 @@ INSERT INTO chart (accno,description,charttype,gifi_accno,category,link) VALUES insert into tax (chart_id,rate) values ((select id from chart where accno = '2310'),0.19); insert into tax (chart_id,rate) values ((select id from chart where accno = '2311'),0.06); -- -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'), curr = 'EUR:USD', weightunit = 'kg'; +INSERT INTO defaults (setting_key, value) VALUES ('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 ('curr', 'EUR:USD'); + + INSERT INTO defaults (setting_key, value) VALUES ('weightunit', 'kg'); -- diff --git a/sql/Dutch_Standard-chart.sql b/sql/Dutch_Standard-chart.sql index 27de122a..79e1cac6 100755 --- a/sql/Dutch_Standard-chart.sql +++ b/sql/Dutch_Standard-chart.sql @@ -229,5 +229,17 @@ insert into tax (chart_id,rate) values ((select id from chart where accno = '180 insert into tax (chart_id,rate) values ((select id from chart where accno = '1810'),0.19); insert into tax (chart_id,rate) values ((select id from chart where accno = '1811'),0.06); -- -update defaults set inventory_accno_id = (select id from chart where accno = '7001'), income_accno_id = (select id from chart where accno = '8520'), expense_accno_id = (select id from chart where accno = '8010'), fxgain_accno_id = (select id from chart where accno = '9220'), fxloss_accno_id = (select id from chart where accno = '9220'), curr = 'EUR:USD', weightunit = 'kg'; +INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select id from chart where accno = '7001')); + + INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select id from chart where accno = '8520')); + + INSERT INTO defaults (setting_key, value) VALUES ('expense_accno_id', (select id from chart where accno = '8010')); + + INSERT INTO defaults (setting_key, value) VALUES ('fxgain_accno_id', (select id from chart where accno = '9220')); + + INSERT INTO defaults (setting_key, value) VALUES ('fxloss_accno_id', (select id from chart where accno = '9220')); + + INSERT INTO defaults (setting_key, value) VALUES ('curr', 'EUR:USD'); + + INSERT INTO defaults (setting_key, value) VALUES ('weightunit', 'kg'); -- |