Page contents
Table of Contents | ||
---|---|---|
|
Objective
This page contains snippets and blocks of code that are useful for editing iReport XML templates.
Assumptions
- You have full admin access to ParadigmEMS
- You are a competent user of ParadigmEMS
You have already downloaded Jasper iReport v3.
...
Page contents
...
0, refer to How to download and install iReport v3.0
Warning | ||
---|---|---|
| ||
|
How to access iReport on Paradigm
- Log into your ParadigmEMS first
- Click on Reports from side menu
- Click on Report Edit, it shows a list of Reports/Letters.
- You can do a quick search for the report you need, type in the report name at the top left corner
- Click on the pencil icon , scroll to the Report Properties section
- Report Identifier = Report_id, please do not make any changes (refer to warning #1)
- Click on the Edit Labels (you should know where it is if you are a competent user) and scroll down to the bottom
- Click to download the Report that the name matches the Report identifier. Sometimes you will see more than one report, the rest are sub-reports (i.e. ReportHeader, Reportfooter).
Java Conditions
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
new Boolean($P{letterNumber}.equalsIgnoreCase("1st")||$P{letterNumber}.equalsIgnoreCase("2nd")) new Boolean ( ! $F{provider_code}.equals( "Morling" ) ) new Boolean( $V{amountDueTotal}.compareTo( new Double (0.00) ) > 0 ) new Boolean ( $V{PAGE_NUMBER}.toString() == "1" ) new Boolean ($F{chessn}!=null && !$P{unitEnrolmentEndDate}.equals("")) new Boolean ( $F{course_level}.equals("VET")) new Boolean ( $F{enrolment_status_id}.equals( "ENROLMENT_COMPLETED" ) ) |
...