iufida 发表于 2023-12-25 20:03:00

利润表切换期间类型报错

T+-T-UFO

               
                  问题现象:
报表切换期间类型的时候无法切换成功,有报错提示。
https://o.oyonyou.com:9600/chanjet/guide/T+/37688/1_t5vqsvcpbr2.webp

问题分析:
系统模板有异常了,需要恢复出厂设置

解决方案:
如下是恢复三大表到出厂状态,清除了错误数据.
注意:下方脚本只适用于2007和2013会计制度;执行脚本前请做好数据备份。


新财务报表2007和2013会计制度还原三大表的出厂状态

DELETESR_ReportDataFormula where idReportDataDTO in (Select id FROMSR_ReportData where templateID in(-15001,-15011,-15021,-1001,-1011,-1021))

DELETESR_ReportDataCell where idReportDataDTO in(Select id FROMSR_ReportData where templateID in(-15001,-15011,-15021,-1001,-1011,-1021))

DELETESR_ReportData where templateID in(-15001,-15011,-15021,-1001,-1011,-1021)



DELETESR_PeriodTemplate where TemplateID in(-15001,-15011,-15021,-1001,-1011,-1021)

DELETESR_KeyWordwhere TemplateID in(-15001,-15011,-15021,-1001,-1011,-1021)



DELETESR_TemplateCell where idTemplateDTO in(Select id FROM   SR_Template where templateSourceID in(-15001,-15011,-15021,-1001,-1011,-1021))

DELETESR_Template where templateSourceID in(-15001,-15011,-15021,-1001,-1011,-1021)
页: [1]
查看完整版本: 利润表切换期间类型报错