首页 > 其他 > 详细

用友的凭证update

时间:2015-01-05 18:06:44      阅读:309      评论:0      收藏:0      [点我收藏+]
select pk_glorgbook from bd_glorgbook where glorgbookcode=0100-0001;--0001N510000000006K4X
select no,period,year,dr,pk_voucher from gl_voucher where no=68 and dr=0 and period=01 and year=2014 and 
pk_glorgbook=0001N510000000006K4X;
update gl_voucher set no=69 where pk_voucher=1162N51000000001YHZ3;
update gl_detail set nov=69where pk_voucher=1162N51000000001YHZ3;

 

select no,period,year,dr,gl_voucher.explanation, pk_voucher from gl_voucher where no in(153,156,154,287 )
and dr=0 and period=04 and year=2014 and pk_glorgbook=0001N510000000006K4X for update;

 

用友的凭证update

原文:http://www.cnblogs.com/sumsen/p/4203933.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!