标签:out sel from 清空 update 初始 HERE loop --
--初始化出库单汇总,去除出库任务单,清空波次号UPDATE out_sale_billing_D T
SET zyzt =‘0‘,T.SL_LHWCL =T.SL,T.SL_ZJWCL =0, T.SL_KCBZ = 0,t.sf_gq=‘否‘,T.SF_YCW_SL =‘否‘
WHERE djbh = c.djbh
AND yzid = c.yzid;
DELETE FROM OUT_SALE_TASK_D WHERE DJBH= C.DJBH AND YZID = C.YZID;
DELETE FROM OUT_SALE_TASK_M WHERE DJBH= C.DJBH AND YZID = C.YZID;
END LOOP;
END;
UPDATE out_sale_billing_m set BCH=‘‘ WHERE DJBH =‘XHBB00000414140‘;
标签:out sel from 清空 update 初始 HERE loop --
原文地址:https://blog.51cto.com/bks2015/2452465