From df1e2f0e58e57647c64b07060ce3f9584850d19a Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Fri, 21 Feb 2020 11:17:31 -0500 Subject: [PATCH] change the forecast pool cost to be based on current cost, not historic --- build/build_fcpool.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/build_fcpool.sql b/build/build_fcpool.sql index df61601..a5f0e3a 100644 --- a/build/build_fcpool.sql +++ b/build/build_fcpool.sql @@ -94,8 +94,8 @@ SELECT ,fb_qty units ,fb_val_loc value_loc ,fb_val_loc * r_rate value_usd - ,fb_cst_loc cost_loc - ,fb_cst_loc * c_rate cost_usd + ,fb_cst_loc_cur cost_loc + ,fb_cst_loc_cur * c_rate cost_usd ,calc_status ,flag ,o.odate order_date