Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Page contents

Table of Contents
maxLevel2

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

...

Warning
titleAttention!

1. Never change the report file name

2. Only full admin users can edit reports

3. Compile before uploading a changed document

4. Make sure all elements are NOT bordered in red as that suggests the element is not positioned correctly

5. Do not move elements or fields out of their default bands

How to access iReport on Paradigm

  1. Log into your ParadigmEMS first
  2. Click on Reports from side menu
  3. Click on Report Edit, it shows a list of Reports/Letters. 
  4. You can do a quick search for the report you need, type in the report name at the top left corner Image Added
  5. Click on the pencil icon Image Added, scroll to the Report Properties section
  6. Report Identifier = Report_id, please do not make any changes (refer to warning #1)
  7. Click on the Edit Labels (you should know where it is if you are a competent user) and scroll down to the bottom
  8. 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
languagejava
themeMidnight
linenumberstrue
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" ) )

...