calc status cannot be null due to inclusion in where clause

This commit is contained in:
Paul Trowbridge 2019-03-22 10:50:18 -04:00
parent ad8639a4c8
commit d968237ea7

View File

@ -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