Professional Documents
Culture Documents
10 Reporting PDF
10 Reporting PDF
10 Reporting PDF
Reporting
By Kitti Upariphutthiphong
Technical Consultant, ecosoft
kittiu@gmail.com
ADempiere|ERP
1
Module Objectives
2
Types of Reports
I.e., Sales Order Form, I.e., Open Items, I.e., Balance Sheet,
Shipment Form Invoice List Trial Balance
3
Module 10.1
Working with Reports
ADempiere|ERP
4
Work with Reports
Lookup Record
Drilldown
6
WORKSHOP
7
Working with Window Report
Lookup Record
Click on Lookup Record icon
Leave all criteria blank and click OK
The report will now show all records.
8
Working with Window Report
View Purchase Order Form Click on Format Item tab, this tab will display all
formatting component of the report.
Back to Purchase Order window
For example, Logo, is the image with X / Y position,
Click on Print Preview button etc.
Purchase Order From will be displayed
View Print Format of this From Although we can create or modify format using
Click on Customize button ADempieres own Formatting, it is quite difficult.
This will bring up Orders Print Format window for We will later on learn how to use Jasper Report Tools as a
this Purchase Order Form designer instead.
9
Working with Standalone Report
10
Module 10.2
Report Setup
ADempiere|ERP
11
Windows Related to Report Setup
2. Print Format
Report Formatting
Data Linkage to
Table and Column
Report View
Optional Jasper Process (Overwrite)
12
How a Window find Report?
Table Name
and
RECORD_ID
Default Tables
Print Format
13
Print Preview Form (General)
Report Name
and
RECORD_ID
Print Format
ADempiere Form
Get Reports
Information
Jasper Process
Jasper Form
14
Print Preview Form (Document)
Special Report
Report Name Rpt C_Order
and Rpt C_Payment
RECORD_ID Rpt C_InOut
Rpt C_Invoice
Rpt
Rpt
ADempiere Form
Jasper Form
15
Standalone Report
Report
Input
Parameters
Report View
Get Reports
Information
Jasper Process
Jasper Report
16
Module 10.3
Working with Jasper Report
ADempiere|ERP
17
Why Jasper Report
18
Scenario
19
Standalone Tax Report
Save change
Click on Preview to execute the Report
Click on Preview to execute the Report. You
will notice that it will simply return all records. Jasper will ask for C_BPartner_ID, please
supply any valid C_Bpartner_ID
Add Business Partner as criteria. Now, the Jasper File is Valid and ready to
Click on SQL button again to open Report deploy.
Query dialog.
Create Report in Application Dictionary
Click New Parameter button
Login to ADempiere as System Admin
Parameter Name: C_BPartner_ID
Username: SuperUser
Value Expression: Big Decimal
Password: System
Click OK to save new parameter Role: System Administrator
Drag C_BPartner_ID to the query pane and Open Report & Process window.
add where clause
WHERE bp. C_BPartner_ID = $P{C_BPartner_ID }
20
Standalone Tax Report
22
Use Jasper for Sales Order Form
Right click on Order Print Format field, and Deploy report, copy SalesOrderForm.jrxml
Zoom into C:\Adempiere\Reports folder
Print Format window will be opened
Set the Jasper Process field to My Sales
Use the Sales Order Form
Order Form Run Process Cache Reset to ensure that the
new form is refreshed.
Open Sales Order window
On any valid Sales Order, click on Print
Preview button to see the new form
25
Module 10.4
Financial Reports
ADempiere|ERP
26
Financial Reports
27
WORKSHOP
28
Create Report Line Set
We will create a configuration to display only Field 1st data 2nd data 3rd data
the Asset, Liabilities, Owner Equity, and Org * *
Total report line information. Name Asset Liabilities Owner Equity
Login to ADempiere as Client Sequence 10 20 30
Username: GardenAdmin Line Type Segment Segment Segment
Password: GardenAdmin Value Value Value
Click Report Line tab and create Report For example, 1 Asset account shall contain a summed-up
Lines with following information, value taken from listed posting and non-posting accounts
belonging to 1 Asset
29
Create Report Line Set
30
Create Report Column Set
We now need to configure the Beginning The relative period 0 means the active period, and -1 means
1 period prior to the active period. You can also specify 1,
Balance, Debit Transaction, Credit which means 1 period after the active period.
Transaction, and Ending Balance.
And for calculation column, add the 2 records
Create Report Column Set Field 6th data 7th data
Open Report ColumnSet window Name Deviation Growth (%)
Click New Printed Deselected Selected
Organization: * Sequence 60 70
Name: List of account balances Posting Type Actual Actual
Click Save Amount Type Blank Blank
Click Report Column tab and create Report Calculation Subtract (Op1-Op2) Percentage (Op1 of Op2)
Field 1st data 2nd data 3rd data 4th data 5th data
Name Beginning Balance Debit Transaction Credit Transaction Period Balance Ending Balance
Sequence 10 20 30 40 50
Posting Type Actual Actual Actual Actual Actual
Amount Type Balance (acct sign) Debit Only Credit Only Balance (acct sign) Balance (acct sign)
Period Type Total Period Period Period Total
Column Type Relative Period Relative Period Relative Period Relative Period Relative Period
Relative Period -1 0 0 0 0
31
Create Financial Report
Create Asset, Liabilities and Equity list The report appears as follows (the actual numbers
report. may vary with your installation, but the format
generated should be the same)
Open Financial Report window
Click New Enable List Source option
Organization: * The previous step only see the summay.
Accounting Schema: GardenWorld US/A/US To see the detail of the source of account,
Dollar
select the List Source option before Create
Calendar: GardenWorld Calendar Report.
Name: Asset, Liabilities and Equity list
Report Line Set: Account Information
Report Column Set: List of account balances
Click Save
Click on Create Report button and click OK
on the criteria dialog box.
32
What else can be done with Financial Report?
33
Test Your Knowledge
34