Difference between revisions of "Report"

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.
m (Intermediate save - more to follow.)
m (Description)
Line 36: Line 36:
 
If only one report is defined, it will be displayed immediately.  If there are more than one, a small pop-up dialog will appear next to the Report icon in the tool bar, as shown below, with a list of all the defined reports.  Clicking on one of the items in the list will open the selected report.
 
If only one report is defined, it will be displayed immediately.  If there are more than one, a small pop-up dialog will appear next to the Report icon in the tool bar, as shown below, with a list of all the defined reports.  Clicking on one of the items in the list will open the selected report.
 
{{Space}}
 
{{Space}}
[[Image:Report_Popup.png|center|200px]]
+
[[Image:Report_Popup.png|center]]
 
{{Space}}
 
{{Space}}
ADempiere will determine if the report is a Jasper Report or a standard report and will display the report accordingly.  For more on Jasper Reports, see the Jasper Report documentation.  The rest of this article refers to the standard report.  
+
ADempiere will determine if the report is a Jasper Report or a standard report and will display the report accordingly.  For more on Jasper Reports, see the Jasper Report documentation.  The rest of this article refers to the standard report.
 
+
 
+
 
+
 
+
  
 
== For Developers ==
 
== For Developers ==

Revision as of 18:56, 20 September 2010

Table of Contents{{#if: Functionality| | Functionality }}{{#if: | | [[{{{3}}}]] }}{{#if: | | [[{{{4}}}]] }}{{#if: | | [[{{{5}}}]] }} | Report{{#if: Request| | Request }} ⇒

The Report function provides a way to generate simple reports based on the data being viewed.

Access

Icon: Report24.png
Menu: →Report }}{{#if: | → }}{{#if: | → }}
Short Cut: <F11>

Restrictions

To enable reports, the user's role must have Can Report checked in the {{#if: |{{{2}}}|Role }} Window.

The Report function is only available when viewing a data window.

Description

The Report function will display reports on the current records and table. The format of the report is determined by Print Formats, several of which can be defined for any table.

It is possible to modify the report formats and add others so that there is a choice of what you want to see when you click the report button. For more information on the possibilities, see Print Formats.

It is also possible to override the internal report mechanism and create the reports with Jasper Reports. See Jasper Reports Integration for more information.

When the report menu or icon (Report24.png) is selected or clicked, ADempiere will check to see if there are any predefined reports.

If there are no pre-defined reports, ADempiere will create one using the name of the table. This default print format will use a standard header and will display all available fields in a flat format, one line per row. This will often result in a report that is many pages wide - not very useful, but its a start.

If only one report is defined, it will be displayed immediately. If there are more than one, a small pop-up dialog will appear next to the Report icon in the tool bar, as shown below, with a list of all the defined reports. Clicking on one of the items in the list will open the selected report.

 

Report Popup.png

 

ADempiere will determine if the report is a Jasper Report or a standard report and will display the report accordingly. For more on Jasper Reports, see the Jasper Report documentation. The rest of this article refers to the standard report.

For Developers

The software that controls this dialog is found in

  • client/src
    • org.compiere.apps.APanel.java
    • org.compiere.print.AReport.java