码迷,mamicode.com
首页 > 其他好文 > 详细

审核后采购订单修改单据明细补充

时间:2017-06-21 19:47:38      阅读:139      评论:0      收藏:0      [点我收藏+]

标签:时空


update jxddhz set dwbh=‘DWI00000053‘ where djbh=‘JHFYMA00030945 ‘ 

update jxddmx set dj_sn=16 where djbh=‘JHFYMA00030945 ‘ and dj_sn=15 

insert into jxddmx

 select a.cgddh,a.cgdd_sort,a.spid,4 as dj_sort,‘否‘,‘‘,0,‘‘,0,b.dw,‘‘,b.jlgg,a.jiansh,a.lingsshl,a.shl,15/1.17 as dj,15 as hshj,100,a.shl*15/1.17 as je,b.shlv,a.shl*15-a.shl*15/1.17 as she,a.shl*15 as hsje,0,0,0,‘‘,‘‘,‘否‘,3,0,‘‘,14.71 pckhdj,‘‘ xsbmxz,14.71 pcxsxj 

 from INT_WMS_CGRK_BILL a,spkfk b 

 where a.spid=b.spid and a.djbh=‘RKD00003299‘


审核后采购订单修改单据明细补充

标签:时空

原文地址:http://bks2015.blog.51cto.com/9847303/1940652

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!