summaryrefslogtreecommitdiff
path: root/sql/Poland-chart.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/Poland-chart.sql')
-rwxr-xr-xsql/Poland-chart.sql12
1 files changed, 11 insertions, 1 deletions
diff --git a/sql/Poland-chart.sql b/sql/Poland-chart.sql
index 41df38b8..b7793bc5 100755
--- a/sql/Poland-chart.sql
+++ b/sql/Poland-chart.sql
@@ -331,7 +331,17 @@ insert into tax (chart_id,rate) values ((select id from chart where accno = '223
insert into tax (chart_id,rate) values ((select id from chart where accno = '223030200'),0.07);
insert into tax (chart_id,rate) values ((select id from chart where accno = '223030300'),0);
--
-update defaults set inventory_accno_id = (select id from chart where accno = '333000000'), income_accno_id = (select id from chart where accno = '773010000'), expense_accno_id = (select id from chart where accno = '773110000'), fxgain_accno_id = (select id from chart where accno = '775060000'), fxloss_accno_id = (select id from chart where accno = '775140000'), invnumber = '1000', sonumber = '1000', ponumber = '1000', curr = 'PLN:USD:EUR', weightunit = 'kg';
+INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select id from chart where accno = '333000000'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select id from chart where accno = '773010000'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('expense_accno_id', (select id from chart where accno = '773110000'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('fxgain_accno_id', (select id from chart where accno = '775060000'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('fxloss_accno_id', (select id from chart where accno = '775140000'), invnumber = '1000', sonumber = '1000', ponumber = '1000', curr = 'PLN:USD:EUR');
+
+ INSERT INTO defaults (setting_key, value) VALUES ('weightunit', 'kg');
--