From d968237ea704750421d6e498da6291517dff8679 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Fri, 22 Mar 2019 10:50:18 -0400 Subject: [PATCH] calc status cannot be null due to inclusion in where clause --- route_sql/new_basket.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/route_sql/new_basket.sql b/route_sql/new_basket.sql index e5484fb..6765dca 100644 --- a/route_sql/new_basket.sql +++ b/route_sql/new_basket.sql @@ -352,8 +352,8 @@ SELECT ,0::numeric fb_cst_loc_fut ,mxm.amount*mxm.momix*jr.mix fb_val_loc --history value ,0::numeric fb_val_loc_pl - ,null::text calc_status - ,null::text flag + ,''::text calc_status + ,''::text flag ,make_date(mxm.yr + 2020,mxm.cal,mxm.odom) orderdate ,make_date(mxm.yr + 2020,mxm.cal,mxm.odom) + rlag requestdate ,make_date(mxm.yr + 2020,mxm.cal,mxm.odom) + rlag + slag shipdate