Project

General

Profile

Actions

Activity #2784

open

Module #2640: Pension Claim - Phase III

Module #2663: Online Member Claim

Sub module #2622: Development & unit testing

Sub module #2779: Generate Form 10 D PDF on claim submit

PDF Logic

Added by Thara S Pillai about 2 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Category:
-
Start date:
06/06/2024
Due date:
% Done:

0%

Estimated time:
Planned Due Date:

Description

Develop jasper integrated with DB procedure to get pension claim data submitted by member in proper format
The format of PDF to share

Actions #1

Updated by Thara S Pillai about 2 years ago

  • Description updated (diff)
Actions #2

Updated by Nisha Balakrishnan about 2 years ago

  • Assignee set to Sherin Sebastian
Actions #3

Updated by Thara S Pillai about 2 years ago

To resolve subreport issue:

Compile jrxml to jasper from member application.

Create a function that accepts JRXML files and generates Jasper files. This function to execute once to generate the Jasper files, after which it can be commented out for the purpose of report generation.

String sourceFileName1 = request.getServletContext().getRealPath("/WEB-INF/Reports/form10DClaim/dbbased1.jrxml");
String compiledFileName1 = request.getServletContext().getRealPath("/WEB-INF/Reports/form10DClaim/dbbased1.jasper");
String sourceFileName2 = request.getServletContext().getRealPath("/WEB-INF/Reports/form10DClaim/dbbasedsub1.jrxml");
String compiledFileName2 = request.getServletContext().getRealPath("/WEB-INF/Reports/form10DClaim/dbbasedsub1.jrxml");

JasperCompileManager.compileReportToFile(sourceFileName1, compiledFileName1);
JasperCompileManager.compileReportToFile(sourceFileName2, compiledFileName2);

Actions

Also available in: Atom PDF