修改U8启用模块日期以下以库存为例
注意:以下方法仅适用于你所调整区间没有对应的表单业务发生,如确实要调整,需要删除调整区间内的业务表单,以下场景仅适用于初始化工作未完成需要重新初始化及业务单据不多情况:
--修改库存启用日期 表1 UFDATA下表: AccInformation
select * from AccInformation where csysid='st' and ctype='Ddate'
--更新表日期为新启用时间
update AccInformation set cvalue='2023-01-01' where csysid='st' and ctype='Ddate'
--修改库存启用日期 表2:UFSystem下表
select * from UA_Account_sub where cacc_id='930' and iyear='9999' and csub_id='st'
--更新UFSystem下表单日期
update UA_Account_sub set dSubSysUsed='2023-01-01',dSubOriDate='2023-01-01' where cacc_id='930' and iyear='9999' and csub_id='st'
--UFdata 下结账表GL_mend表,ST表示库存结账:
更新结账区间,对应你更新的启用时间为截止时间。
select * from GL_mend where iyear='2022'
update GL_mend set bflag_st=1 where iyear='2022'
2023-04-27 补充
--查询结账期间状况表 数据库为账套数据库UFdata:
select * from GL_mend where iyear=2022
--查询UFSystem下UA_Account_sub表,查看系统各模块启用状态:
注意含两个时间字段:dsubsysused dsuboridate
select * from UA_Account_sub where cAcc_Id='103' and iyear=9999
--查询UFDATA下 AccInformation 这里需要更新三个包含日期字段:
select * from AccInformation where cSysID='AP' and cCaption like '%启用%'
更新以下字段:更新为调整系统的启用时间:
dAPFirstDate --应付启用开始时间
dAPNatStartDate --自然启用日期
dAPStartDate ---应付系统启用日期
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· 字符编码:从基础到乱码解决
· SpringCloud带你走进微服务的世界