执行KINGDEE帐套清除工具清除,发现还有少量的2006年的单据没有清除完毕,生产领料倒是一个不差都清除了,55555555

不知道这个工具怎么开发的,一点都不好用,遗留的问题总要解决,没办法,自己来处理吧,HOHO!
在SQL2K的查询分析里面执行下列语句:
update icstockbill set fcheckerid = null where fdate <'2007-01-01'
delete from icstockbill where fdate <'2007-01-01'
delete from icstockbill where fdate <'2007-01-01'
update icpurchase set fcheckerid = null where fdate <'2007-01-01'
delete from icpurchase where fdate <'2007-01-01'
delete from icpurchase where fdate <'2007-01-01'
update poorder set fcheckerid = null where fdate <'2007-01-01'
delete from poorder where fdate <'2007-01-01'
delete from poorder where fdate <'2007-01-01'
update POInStock set fcheckerid = null where fdate <'2007-01-01'
delete from POInStock where fdate <'2007-01-01'
delete from POInStock where fdate <'2007-01-01'
update icsale set fcheckerid = null where fdate <'2007-01-01'
delete from icsale where fdate <'2007-01-01'
delete from icsale where fdate <'2007-01-01'
update seoutstock set fcheckerid = null where fdate <'2007-01-01'
delete from seoutstock where fdate <'2007-01-01'
delete from seoutstock where fdate <'2007-01-01'
update seorder set fcheckerid = null where fdate <'2007-01-01'
delete from seorder where fdate <'2007-01-01'
delete from seorder where fdate <'2007-01-01'
转载于:https://blog.51cto.com/redking/57309
由于KINGDEE帐套清除工具未能彻底清理2006年单据,博主通过SQL命令手动更新及删除了多个模块中日期早于2007年的记录。
3489

被折叠的 条评论
为什么被折叠?



