Using Jasper Report Form in place of Standard Forms

From ADempiere
Revision as of 00:42, 28 September 2010 by Kittiu (Talk) (How ADempiere locate Forms for each document type)

Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.

This content contributed by Ecosoft, Thailand.

Overview

Jasper Report is adopted as more flexible and easy way to create reports. Without it, we need to create Forms or Reports using ADempiere's Print Format. In some case, it is ok, but many cases quite difficult to use.

There are many pages in this Wiki talking about how to user Jasper Report, which will be very informative to read. To be more specific, this page will give the overview with pictures how to use Jasper Report as a Form, i.e., Invoice, Receipt, etc.

How ADempiere locate Forms for each document type

Before the integration with Jasper Report, Print Format is the only way to create Form in ADempiere. As such, in the window that do the Form - Document mapping is using the Print Format to tell what form to use for which document type. This give some confusion at first, but we will see how jasper report form will be used on top of it later.

  • For most Document Type, Print Form window will be used as default, Some exception will be discussed later.

Print Form

  • But can be overwritten to be more specific for different Document Type in window Document Type, field Print Format

Document Type

  • Right click on the Print Format field and Zoom to see them in detail. Sample of Sales Order Form is as following,

Sample Standard Order From

Creating new Jasper Report Form and passing the right parameter

Number to Text in Jasper Form (Thai Language)

Registering Jasper Form

See Also

Bold text