我要实现帐表显示合计,
设置了
1. public override void Initialize()
{
// 支持分组汇总
this.ReportProperty.IsGroupSummary = true;
。。。。}
2. public override List
{
List
summarys.Add(new Kingdee.BOS.Core.Report.SummaryField("ftotalcostprice", Kingdee.BOS.Core.Enums.BOSEnums.Enu_SummaryType.SUM));
summarys.Add(new Kingdee.BOS.Core.Report.SummaryField("frealtotalcost", Kingdee.BOS.Core.Enums.BOSEnums.Enu_SummaryType.SUM));
summarys.Add(new Kingdee.BOS.Core.Report.SummaryField("fremaincost", Kingdee.BOS.Core.Enums.BOSEnums.Enu_SummaryType.SUM));
summarys.Add(new Kingdee.BOS.Core.Report.SummaryField("fbaseunitqty", Kingdee.BOS.Core.Enums.BOSEnums.Enu_SummaryType.SUM));
summarys.Add(new Kingdee.BOS.Core.Report.SummaryField("ftotalqty", Kingdee.BOS.Core.Enums.BOSEnums.Enu_SummaryType.SUM));
summarys.Add(new Kingdee.BOS.Core.Report.SummaryField("fremainqty", Kingdee.BOS.Core.Enums.BOSEnums.Enu_SummaryType.SUM));
return summarys;
}
但是,没有看到效果,
不知道还要设置什么?
推荐阅读