关于报表插件 SysReportBaseService.
金蝶云社区-wu9531
wu9531
0人赞赏了该文章 2,180次浏览 未经作者许可,禁止转载编辑于2014年04月15日 10:24:12

在 public override void BuilderReportSqlAndTempTable(IRptParams filter, string tableName)方法中,向tableName中插入了数据,从监控中也查出在tableName指向的那张表也有数据,为什么在最终界面没有显示出来?
tableName 中的数据结果是FSECONDAMBUNIT,fyQty,fyprice,fmqty,fmprice.

public override void Initialize()方法中定义了
base.ReportProperty.ReportType = ReportType.REPORTTYPE_NORMAL
base.ReportProperty.IdentityFieldName = "FSECONDAMBUNIT";
this.ReportProperty.IsGroupSummary = true;
this.ReportProperty.PrimaryKeyFieldName = "FSECONDAMBUNIT";
public override ReportHeader GetReportHeaders(IRptParams filter)方法中
header.AddChild("FSECONDAMBUNIT", new LocaleValue(ResManager.LoadKDString("二级阿米巴", "004098030004105", SubSystemType.SCM, new object[0]), base.Context.UserLocale.LCID));
header.AddChild("fyQty", new LocaleValue(ResManager.LoadKDString("年度&数量", "004098030004105", SubSystemType.SCM, new object[0]), base.Context.UserLocale.LCID));
header.AddChild("fyprice", new LocaleValue(ResManager.LoadKDString("年度&单价", "004098030004105", SubSystemType.SCM, new object[0]), base.Context.UserLocale.LCID));
//其它代码.....