【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
  • 11
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值