copy units to descriptive fields

This commit is contained in:
Trowbridge 2019-03-21 15:01:59 -04:00
parent a3a5d3ad0d
commit fcfe3e6fb9

View File

@ -678,7 +678,7 @@ SELECT
,b.fb_val_loc *r_rate value_usd ,b.fb_val_loc *r_rate value_usd
,COALESCE(im.cgstcs,ip.chstcs, ir.y0stcs)*b.fb_qty cost_loc ,COALESCE(im.cgstcs,ip.chstcs, ir.y0stcs)*b.fb_qty cost_loc
,COALESCE(im.cgstcs,ip.chstcs, ir.y0stcs)*b.fb_qty*cx.rate cost_usd ,COALESCE(im.cgstcs,ip.chstcs, ir.y0stcs)*b.fb_qty*cx.rate cost_usd
,b.units ,b.fb_qty units
FROM FROM
applyx b applyx b
LEFT OUTER JOIN LGDAT.STKMM M ON LEFT OUTER JOIN LGDAT.STKMM M ON