diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-30 04:52:12 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-30 04:52:12 +0000 |
commit | ce72ed47e3da91c31a2b7f82f4e8816865606c54 (patch) | |
tree | eea3cd6f54de9c29167f34804665abc4b9cb8678 /sql/coa/pl/chart | |
parent | 187c1d4200967ed52f161d8ce04f6c7c30d64d00 (diff) |
Fixing 1804712 and some related issues
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1678 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql/coa/pl/chart')
-rwxr-xr-x | sql/coa/pl/chart/General.sql | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sql/coa/pl/chart/General.sql b/sql/coa/pl/chart/General.sql index c31bc1cf..dd21c715 100755 --- a/sql/coa/pl/chart/General.sql +++ b/sql/coa/pl/chart/General.sql @@ -340,9 +340,14 @@ INSERT INTO defaults (setting_key, value) VALUES ('inventory_accno_id', (select 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 ('fxloss_accno_id', (select id from chart where accno = '775140000')); - INSERT INTO defaults (setting_key, value) VALUES ('weightunit', 'kg'); +INSERT INTO defaults (setting_key, value) VALUES ('invnumber', '1000'); +INSERT INTO defaults (setting_key, value) VALUES ('curr' 'PLN:USD:EUR'); +INSERT INTO defaults (setting_key, value) VALUES ('weightunit', 'kg'); + +UPDATE defaults SET value = '1000' WHERE setting_key = 'sonumber'; +UPDATE defaults SET value = '1000' WHERE setting_key = 'ponumber'; -- |