发布时间:2026-1-5
特价活动:>>>> 用友U8、T6、T+、T3软件产品4折优惠,畅捷通T+cloud、好会计、好业财、好生意云产品8折优惠,另有话费赠送。
【问题描述】
上年度账启用了某模块,但年度结转后想反启用!
【问题答复】
反启用工具只能对总账、工资、固定资产、采购、销售、存货核算进行反 启用。故库存模块反启用需要在数据为中执行,执行语句前修改cacc_id 为账 套编号,UFdata_001_2023 为用户需要反启用的账套库,执行前请备份所有账套 数据,以免执行到其他账套中:
——库存
Update ufdata_001_2023..accinformat ion set cvalue='cdefault' where csys id='st' and ctype='ddate'
Delete ufsystem..ua_account_sub where cacc_ id='001'andcsub_ id='st' and iyear='2023'
Delete ufsystem..ua_account_sub where cacc_ id='001'andcsub_ id='st' and iyear='9999'
——应收
Update ufdata_001_2023..accinformat ion set cvalue='cdefault' where csys id='ar' and ctype='ddate'
Delete ufsystem..ua_account_sub where cacc_ id='001' and csub_ id='ar' and iyear='2023'
Delete ufsystem..ua_account_sub where cacc_ id='001' and csub_ id='ar' and iyear='9999'
——应付
Update ufdata_001_2023..accinformat ion set cvalue='cdefault' where csysid='ap' and ctype='ddate'
Delete ufsystem..ua_account_sub where cacc_ id='001'andcsub_ id='ap' and iyear='2023'
Delete ufsystem..ua_account_sub where cacc_ id='001'andcsub_ id='ap' and iyear='9999'
——采购
Update ufdata_001_2023..accinformat ion set cvalue='cdefault' where csysid='pu'andctype='ddate'
Delete ufsystem..ua_account_sub where cacc_ id='001'andcsub_ id='pu' and iyear='2023'
Delete ufsystem..ua_account_sub where cacc_ id='001'andcsub_ id='pu' and iyear='9999'
——销售
Update ufdata_001_2023..accinformat ion set cvalue='cdefault' where csys id='sa' and ctype='ddate'
Delete ufsystem..ua_account_sub where cacc_ id='001'andcsub_ id='sa' and iyear='2023'
Delete ufsystem..ua_account_sub where cacc_ id='001'andcsub_ id='sa' and iyear='9999'
——核算
Update ufdata_001_2023..accinformationsetcvalue='cdefault'wherecsys id=' ia'andctype='ddate'
Delete ufsystem..ua_account_subwherecacc_ id='001'andcsub_ id=' ia'andiyear='2023'
Delete ufsystem..ua_account_subwherecacc_ id='001'andcsub_ id=' ia'andiyear='9999'
——固定资产
Update ufdata_001_2023..accinformat ion set cvalue='cdefault'where csys id='fa'and ctype='ddate'
Delete ufsystem..ua_account_sub wherecacc_ id='001' and csub_ id='fa'and iyear='2023'
Delete ufsystem..ua_account_sub where cacc_ id='001'and csub_ id='fa'and iyear='9999'
截屏,微信识别二维码
客服QQ:5151867
(点击QQ号复制,添加好友)