do not snap fx rates when converting the pool

This commit is contained in:
Paul Trowbridge 2021-04-12 11:28:04 -04:00
parent f156d599e5
commit 9db81ace17

View File

@ -365,33 +365,34 @@ WHERE
f.sdate BETWEEN gld.sdat AND gld.edat f.sdate BETWEEN gld.sdat AND gld.edat
AND coalesce(f.fspr,'') <> gld.fspr; AND coalesce(f.fspr,'') <> gld.fspr;
UPDATE --avoid setting fx as that should have been done up front to osmf
rlarp.osmfS_dev --UPDATE
SET -- rlarp.osmfS_dev
r_rate = .7900 --SET
WHERE -- r_rate = .7900
r_currency = 'CA'; --WHERE
-- r_currency = 'CA';
UPDATE --
rlarp.osmfS_dev --UPDATE
SET -- rlarp.osmfS_dev
r_rate = 1 --SET
WHERE -- r_rate = 1
r_currency = 'US'; --WHERE
-- r_currency = 'US';
UPDATE --
rlarp.osmfS_dev --UPDATE
SET -- rlarp.osmfS_dev
c_rate = .7900 --SET
WHERE -- c_rate = .7900
c_currency = 'CA'; --WHERE
-- c_currency = 'CA';
UPDATE --
rlarp.osmfS_dev --UPDATE
SET -- rlarp.osmfS_dev
c_rate = 1 --SET
WHERE -- c_rate = 1
c_currency = 'US'; --WHERE
-- c_currency = 'US';
UPDATE UPDATE
RLARP.OSMFS_DEV O RLARP.OSMFS_DEV O