summaryrefslogtreecommitdiff
path: root/sql/Paraguay-chart.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/Paraguay-chart.sql')
-rwxr-xr-xsql/Paraguay-chart.sql14
1 files changed, 13 insertions, 1 deletions
diff --git a/sql/Paraguay-chart.sql b/sql/Paraguay-chart.sql
index 178d039b..db6ad0f1 100755
--- a/sql/Paraguay-chart.sql
+++ b/sql/Paraguay-chart.sql
@@ -249,5 +249,17 @@ INSERT INTO chart (accno, description, charttype, category, link, gifi_accno) VA
--
INSERT INTO tax (chart_id,rate) VALUES ((select id from chart where accno = '2.151'),'0.1');
--
-UPDATE defaults SET inventory_accno_id = (select id from chart where accno = '1.141'), income_accno_id = (select id from chart where accno = '4.110'), expense_accno_id = (select id from chart where accno = '5.110.01'), fxgain_accno_id = (select id from chart where accno = '4.340'), fxloss_accno_id = (select id from chart where accno = '5.340'), curr = 'PYG:USD:EUR', weightunit = 'kg';
+ SET inventory_accno_id = (select id from chart where accno = '1.141'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select id from chart where accno = '4.110'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('expense_accno_id', (select id from chart where accno = '5.110.01'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('fxgain_accno_id', (select id from chart where accno = '4.340'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('fxloss_accno_id', (select id from chart where accno = '5.340'));
+
+ INSERT INTO defaults (setting_key, value) VALUES ('curr', 'PYG:USD:EUR');
+
+ INSERT INTO defaults (setting_key, value) VALUES ('weightunit', 'kg');
--