update was assigning wrong columns

This commit is contained in:
Trowbridge 2019-04-29 11:33:12 -04:00
parent cd53505d59
commit 2fb28dd85f

View File

@ -306,8 +306,8 @@ SET
,assc = x.assc
,brand = x.brand
,fb_cst_loc = o.fb_qty * x.stdcost
,fb_cst_loc_cur = o.fb_qty * x.stdcost
,fb_cst_loc_fut = o.fb_qty * x.stdcost
--,fb_cst_loc_cur = o.fb_qty * x.stdcost
--,fb_cst_loc_fut = o.fb_qty * x.stdcost
,cost_loc = o.fb_qty * x.stdcost
,cost_usd = o.fb_qty * x.stdcost * x.c_rate
,c_currency = x.c_currency
@ -316,9 +316,9 @@ SET
,part_group = x.part_group
,branding = x.branding
,color = x.color
,segm = x.color
,segm = x.segm
,majg_descr = x.majg_descr
,ming_descr = x.majg_descr
,ming_descr = x.ming_descr
,majs_descr = x.majs_descr
,mins_descr = x.mins_descr
,quota_rep = x.quota_rep