注册账号 登录
用友之家-用友软件论坛 返回首页

kuailegg的个人空间 https://www.oyonyou.com/?315482 [收藏] [复制] [分享] [RSS]

日志

反启用帐套

已有 525 次阅读2014-5-4 21:36 |个人分类:软件使用| 反启用帐套

反启用帐套:
分享一个全部反启用的方法
update accinformation set cvalue=null where ctype='ddate' 
update ufsystem..ua_account_sub set dsubsysused=null ,cuser_id=null , dsuboridate=null where cacc_id ='013' 
delete from ufsystem..ua_account_sub where cAcc_Id='013'

(一)固定资产模块反启用:
update accinformation set cvalue=''
where csysid='FA' and ctype='ddate'
--可省 and (cid='601'or cid='05'or cid='603'OR CID='602' OR CID='03'OR CID='06')
update gl_mend set bflag_FA=0
delete ua_account_sub where (cacc_id='001') and (cSub_Id = 'FA')
(二)工资模块反启用:

update accinformation set cvalue=''
where csysid='wa' and ctype='ddate'
--可省 and (cid='601'or cid='05'or cid='603')


update gl_mend set bflag_Wa=0
delete ua_account_sub where (cacc_id='001') and (cSub_Id = 'Wa')

(三)采购模块反启用:
update accinformation set cvalue=''
where csysid='PU' and ctype='ddate'
--可省 and (cid='602'or cid='122'or cid='167')

update gl_mend set bflag_PU=0
delete ua_account_sub where (cacc_id='001') and (cSub_Id = 'PU')

(四)销售模块反启用:
update accinformation set cvalue=''
where csysid='SA' and ctype='ddate'
--可省 and (cid='602'or cid='143'or cid='215')

update gl_mend set bflag_SA=0
delete ua_account_sub where (cacc_id='001') and (cSub_Id = 'SA')

(五)库存模块反启用:
update accinformation set cvalue=''
where csysid='st' and ctype='ddate'
--可省 and (cid='602'or cid='143')

update gl_mend set bflag_st=0
delete ua_account_sub where (cacc_id='001') and (cSub_Id = 'st')

(六)存货模块反启用:
update accinformation set cvalue=''
where csysid='IA' and ctype='ddate'
--可省 and (cid='602'or cid='104')

update gl_mend set bflag_IA=0
delete ua_account_sub where (cacc_id='001') and (cSub_Id = 'IA')

(七)应收模块反启用:
update accinformation set cvalue=''
where csysid='AR' and ctype='ddate'
--可省 and (cid='29'or cid='11')

update gl_mend set bflag_AR=0
delete ua_account_sub where (cacc_id='001') and (cSub_Id = 'AR')


(八)应付模块反启用:
update accinformation set cvalue=''
where csysid='AP' and ctype='ddate'
--可省 and (cid='24'or cid='09')

update gl_mend set bflag_AP=0
delete ua_account_sub where (cacc_id='001') and (cSub_Id = 'AP')





路过

雷人

握手

鲜花

鸡蛋

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册账号

QQ|站长微信|Archiver|手机版|小黑屋|用友之家 ( 蜀ICP备07505338号|51072502110008 )

GMT+8, 2024-6-3 05:03 , Processed in 0.023743 second(s), 10 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

返回顶部