How to customize a document layout without an over-layer

The example here is to add an extension field to a print-managed standard document without over-layering the report. We will use the sales order confirmation report to add the sales order pool's name to the report.

There are two main types of reports: listing reports and documents. The documents, such as the sales order confirmation document, use temporary tables to make the layout easier to write. Any report can use this technique, but it is more common on document layouts and complicated listing reports.

It is often good practice to have a separate model for reports. Reports can use elements that we have written across packages, for example, we may have an extension package and an ISV package that has elements we wish to report on, but we don't want to link our package as a dependency on the ISV package.

We won't cover the actual report design in this recipe, as report design is beyond the scope of this book; but we will cover all other areas.

We have already added the fields and event handlers in the prior two recipes; we just need to add the field to the report.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.126.248