本文主要是介绍【T+】畅捷通T+软件,财务报表初始化。,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
【问题描述】
随着畅捷通T+软件的不断更新,
其中最新版本的【财务报表】相比【原财务报表】有了明显的区别。
并且从前台是无法针对最新的【财务报表】中默认的三大报表进行报表初始化。
即:报表公式修改过多后,想要恢复最初状态,无法快速处理。
【解决方法】
备份好账套,针对账套库进行执行下述语句,恢复预制报表(即:报表初始化)。
资产负债表:
1.查找对应的templateSourceID,账套库,执行脚本:
select templateSourceID,* from SR_Template where name ='资产负债表'
2.用查找到的templateSourceID,去替换下面的-15001,全部替换后再去选择账套库,执行脚本:
DELETE SR_ReportDataFormula where idReportDataDTO in (Select id FROM SR_ReportData where templateID in(-15001))
DELETE SR_ReportDataCell where idReportDataDTO in(Select id FROM SR_ReportData where templateID in(-15001))
DELETE SR_ReportData where templateID in(-15001)DELETE SR_PeriodTemplate where TemplateID in(-15001)
DELETE SR_KeyWord where TemplateID in(-15001)DELETE SR_TemplateCell where idTemplateDTO in(Select id FROM SR_Template where templateSourceID in(-15001))
DELETE SR_Template where templateSourceID in(-15001)
利润表:
1.查找对应的templateSourceID,账套库,执行脚本:
select templateSourceID,* from SR_Template where name ='利润表'
2.用查找到的templateSourceID,去替换下面的-15001,全部替换后再去选择账套库,执行脚本:
DELETE SR_ReportDataFormula where idReportDataDTO in (Select id FROM SR_ReportData where templateID in(-15001))
DELETE SR_ReportDataCell where idReportDataDTO in(Select id FROM SR_ReportData where templateID in(-15001))
DELETE SR_ReportData where templateID in(-15001)DELETE SR_PeriodTemplate where TemplateID in(-15001)
DELETE SR_KeyWord where TemplateID in(-15001)DELETE SR_TemplateCell where idTemplateDTO in(Select id FROM SR_Template where templateSourceID in(-15001))
DELETE SR_Template where templateSourceID in(-15001)
现金流量表:
1.查找对应的templateSourceID,账套库,执行脚本:
select templateSourceID,* from SR_Template where name ='现金流量表'
2.用查找到的templateSourceID,去替换下面的-15001,全部替换后再去选择账套库,执行脚本:
DELETE SR_ReportDataFormula where idReportDataDTO in (Select id FROM SR_ReportData where templateID in(-15001))
DELETE SR_ReportDataCell where idReportDataDTO in(Select id FROM SR_ReportData where templateID in(-15001))
DELETE SR_ReportData where templateID in(-15001)DELETE SR_PeriodTemplate where TemplateID in(-15001)
DELETE SR_KeyWord where TemplateID in(-15001)DELETE SR_TemplateCell where idTemplateDTO in(Select id FROM SR_Template where te
这篇关于【T+】畅捷通T+软件,财务报表初始化。的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!