用友U8+通过SQL脚本反启用模块

--固定资产模块反启用:
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 ufsystem..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 ufsystem..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 ufsystem..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 ufsystem..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 ufsystem..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 ufsystem..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 ufsystem..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 ufsystem..ua_account_sub 
where (cacc_id='001') and (cSub_Id = 'AP');

--GSP质量管理模块反启用
update accinformation
set cvalue=''
where csysid='GS' and ctype='ddate';
update gl_mend
set bflag_GS=0 ;
delete from ufsystem..ua_account_sub 
where cacc_id='001' and csub_id='GS' 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值