Add Page Numbers optional

32-16 Oracle Reports Users Guide to Building Reports Figure 32–14 Paper Design view of the preprinted form report with page numbers

14. Save your report.

32.6 Summary

Congratulations You have successfully built a report that you can print on a preprinted form. You now know how to: ■ manually create two queries and link them. ■ create a summary column. ■ create a break group in your data model. ■ use the tools in the Paper Layout view to create your layout. ■ use the Report Block Wizard to create a mailing label report. ■ use the Report Block Wizard to create a tabular report. ■ add page numbering using fields in the Paper Layout view. For more information on any of the wizards, views, or properties used in this example, refer to the Oracle Reports online Help, which is available in Oracle Reports Builder or hosted on the Oracle Technology Network OTN, as described in Section 4.1.1, Using the Oracle Reports online Help . Building an Invoice Report 33-1 33 Building an Invoice Report In this chapter, you will learn about reports that display output on invoices. By following the steps in this chapter, you can generate the report output shown in Figure 33–1 . Figure 33–1 Invoice report output Concepts ■ Invoice reports are masterdetail reports with billing amounts that print conditionally. The customer name, address, and related information are derived from the master query or group, if there is only one query. The line–items come from the detail query. The billing amounts are printed in the page footer. ■ This information must all print on specific line and column positions on the preprinted invoice form. To format your information correctly, you will use many of the same techniques as you used in Chapter 32, Building a Report Using a Preprinted Form . ■ As an additional aid to formatting this report, you will link to a TIFF image of the invoice. This will enable you to position your fields more precisely. 33-2 Oracle Reports Users Guide to Building Reports Data Relationships The data for this report is fetched using two queries, linked together in a masterdetail relationship. You will also define a break and two summaries. Layout This layout is similar to the layout for the preprinted form report, but in this case you will also link to a TIFF image of your form to use as a guide while adjusting the positions of several fields. Example Scenario In this example, you will create a report that prints an invoice for each customer, listing the following information: ■ standard billing information such as name, address, date, purchase order number, and so on ■ a list of items purchased, including item number, description, and price ■ the total cost of all items purchased You will also learn how to import an image of a preprinted form in this case, a blank invoice image and use the tools in the Paper Layout view to print your report on this form. As you build this example report, you will: ■ Create a New Report Manually to create a new, empty report. ■ Create a Data Model With a Data Link to create two queries with a data link between them. ■ Create Summary and Formula Columns to include on the invoice.