小编Egh*_*abi的帖子

如何使用stimulreport为每家公司重复发票

我使用StimulSoftc#语言在asp.net中使用我的报告.我有一个包含3个列表的报告,一个是头列表,另外两个是详细列表.这是一份关于日期范围的法案报告.问题是我不能按照我喜欢的方式重复它们; 以下是我想要的清单和报告:

HaedList >> BillId,Coname,TotalPrice,InvoiceDate
ServiceList >> BillId,ServiceName,ServiceCost
ProductList >> BillId,ProductName,ProductCost
Run Code Online (Sandbox Code Playgroud)

用户将输入日期范围,例如2015/01/01至2015/01/03

--> Page 1

BillId=52 ---- CoName=Haaret

ServiceName=Repair,ServiceCost=12$
ServiceName=Cleaning,ServiceCost=2$

ProductName=DVD,ProductCost=10$
ProductName=CPU,ProductCost=60$
ProductName=VGA,ProductCost=40$

TotalPrice=124$
Tax=4$
Total >> 120$

--> Page 2
BillId=55 ---- CoName=GirBold

ServiceName=Training,ServiceCost=300$

ProductName=Pen,ProductCost=5$
ProductName=NoteBooks,ProductCost=10$

TotalPrice=315$
Tax=4$
Total >> 311$

--> Page 3

BillId=70---- CoName=DrillPort

ServiceName=Driver,ServiceCost=30$
ServiceName=Test,ServiceCost=10$

ProductName=Battery,ProductCost=35$
ProductName=Monitors,ProductCost=200$

TotalPrice=275$
Tax=4$
Total >> 271$
Run Code Online (Sandbox Code Playgroud)

所以我有3天的范围,我应按以下顺序打印4页.我的问题是,头部重复三次,然后是所有服务打印,然后是产品,然后是头部的摘要,如下所示:

BillId=52 ---- CoName=Haaret
BillId=70---- CoName=DrillPort
BillId=55 ---- CoName=GirBold


ServiceName=Repair,ServiceCost=12$
ServiceName=Cleaning,ServiceCost=2$
ServiceName=Driver,ServiceCost=30$
ServiceName=Test,ServiceCost=10$
ServiceName=Training,ServiceCost=300$

ProductName=DVD,ProductCost=10$
ProductName=CPU,ProductCost=60$
ProductName=VGA,ProductCost=40$
ProductName=Pen,ProductCost=5$
ProductName=NoteBooks,ProductCost=10$
ProductName=Battery,ProductCost=35$
ProductName=Monitors,ProductCost=200$

TotalPrice=124$ …
Run Code Online (Sandbox Code Playgroud)

c# asp.net stimulsoft

17
推荐指数
1
解决办法
1318
查看次数

标签 统计

asp.net ×1

c# ×1

stimulsoft ×1