Eqbal Sohrabi

Eqbal Sohrabi

  • NA
  • 40
  • 1.1k

how to Repeat Invoice for each company with stimulreport

Apr 4 2015 8:09 AM
I am using StimulSoft for my report in asp.net with c# language.
I have a report with 3 list, one as Heade list and two other list for detail.
Its a bill report for range of date.
the problem is that I cant repeat them in order I like,
the following list and report I want :

HaedList >> BillId,Coname,TotalPrice,InvoiceDate
ServiceList >> BillId,ServiceName,ServiceCost
ProductList >> BillId,ProductName,ProductCost


The user will Enter a range of date for example 2015/01/01 to 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$


so I have 3 day in range and I should print 4 page in The following order.
my problem is that The head repeat three time then All service Printed and then product and then The summery from head like the following



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$
Tax=4$
Total >> 120$
TotalPrice=315$
Tax=4$
Total >> 311$
TotalPrice=275$
Tax=4$
Total >> 271$




The following link contain three Image and Report Template I have make for my project.

The Sample and Three Image]

Best Regards