文档库 最新最全的文档下载
当前位置:文档库 › 通过后台数据库反启用用友erp各模块

通过后台数据库反启用用友erp各模块

(一)固定资产模块反启用:
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')





1楼

环境:WINXP前台 WINSERVER2003R2后台
用友软件版本:U852

问题:其在建立帐套时是在08年4月份,但建完帐套后一直没有时间初始化,拖到5月份后再初始化时,发现帐套的启用日期已经不对了。于是要修改。

具体操作:先修改UFSYSTEM库中的UA_ACCOUNT表中的IMONTH字段值为5(代表5月),然后进到803帐套数据库里面,打开ACCINFORMATION表,找CCAPTION字段中有“总帐系统开始时间”、“总帐系统启用时间”、“总帐系统启用会计日期”,将CVLAUE字段的值改为相应的启用月份日期即可。

也可以在ACCINFORMATION表里使用SQL语句来查找
Select *
From AccInformation
Where (cCaption LIKE ‘总账%’)
然后根据搜出来的字段改动到相应的日期即

可。





相关文档