Advice about design of "Supplier order" with attachments
Posted: Tue Nov 25, 2014 11:37 am
Good morning.
In our software we have the possibility, for each "Supplier order", to add some attachments (eg. jpeg images).
We need to print, in the same report, the "Supplier order" and, after that, the attachments (images, one for each page).
Actually we print 2 separated reports, one for the order and one for the attachments; our need is to print them in a single report.
Please note that in the data source we may have different orders and, for each one, their attachments. So there must be a new page before any new order (and before any attachment).
The order page is formed by an header, the body, and a footer: the footer is printed only on last page of the order. Then, after the order, we must have the attachments images (one for each page). At the end of the attachments there must be a new page and, after that, must begin the next order (header, body, footer, then the attachments of the order). At each order the page number must be reset.
Example:
Header order 1 (page 1)
Body order 1
- page break
Header order 1 (page 2)
Body order 1
Footer order 1 (totals)
- page break
Image of attachment 1 of order 1
- page breask
Image of attachment 2 of order 1
- page break
Header order 2 (page 1)
Body order 2
...and so on.
May you kindly give me an advice about design and how to structure dataset dictionary?
Thank you.
In our software we have the possibility, for each "Supplier order", to add some attachments (eg. jpeg images).
We need to print, in the same report, the "Supplier order" and, after that, the attachments (images, one for each page).
Actually we print 2 separated reports, one for the order and one for the attachments; our need is to print them in a single report.
Please note that in the data source we may have different orders and, for each one, their attachments. So there must be a new page before any new order (and before any attachment).
The order page is formed by an header, the body, and a footer: the footer is printed only on last page of the order. Then, after the order, we must have the attachments images (one for each page). At the end of the attachments there must be a new page and, after that, must begin the next order (header, body, footer, then the attachments of the order). At each order the page number must be reset.
Example:
Header order 1 (page 1)
Body order 1
- page break
Header order 1 (page 2)
Body order 1
Footer order 1 (totals)
- page break
Image of attachment 1 of order 1
- page breask
Image of attachment 2 of order 1
- page break
Header order 2 (page 1)
Body order 2
...and so on.
May you kindly give me an advice about design and how to structure dataset dictionary?
Thank you.