JSON Data Binding Issue with MRT file

Stimulsoft Reports.JAVA discussion
Post Reply
mahadev74
Posts: 2
Joined: Wed Feb 20, 2019 11:28 am

JSON Data Binding Issue with MRT file

Post by mahadev74 »

Hello

You should see the attachment now.


I am trying to bind the data from a JSON source to a stimulsoft MRT template how ever it is not working correctly as expected.

Please fine attached StimulSoftReportTest.zip that contains all the artifacts required to debug this

Unzip the attached Zip file to a local folder

1. You can find the java source in src\com\sppl\stimulsoftreport\StimulsoftReportTest.java
2. You can find the JSON at src\Reports\Input\Data\10000092_SoA.json
3. You can find the MRT template at src\Reports\Input\Template\stimulsoft_base_template.mrt
5. output PDF is generated at src\Reports\Output\output.pdf. The expected output is in ExpectedOutput.pdf

If you open output.pdf you can see that the report is incomplete with some numeric data being displayed in the transaction summary section.

Data from the data tables dtMaster, dtSummary, dtTrxn are not being displayed correctly as expected.

Can any stimulsoft JAVA SME please look into this and advise how to make sure all the data tables extracted from the JSON source are bound correctly to the MRT and displayed correctly?
Attachments
StimulsoftReportTest.zip
(590.48 KiB) Downloaded 244 times
Last edited by mahadev74 on Wed Feb 20, 2019 1:03 pm, edited 2 times in total.
Lech Kulikowski
Posts: 6199
Joined: Tue Mar 20, 2018 5:34 am

Re: JSON Data Binding Issue with MRT file

Post by Lech Kulikowski »

Hello,

The attachment is empty.

Thank you.
mahadev74
Posts: 2
Joined: Wed Feb 20, 2019 11:28 am

Re: JSON Data Binding Issue with MRT file

Post by mahadev74 »

Hey Lech - you can find the attachment in the original message now. Please review and advise
Lech Kulikowski
Posts: 6199
Joined: Tue Mar 20, 2018 5:34 am

Re: JSON Data Binding Issue with MRT file

Post by Lech Kulikowski »

Hello,

Thank you for the sample. We need some additional time to investigate the issue.

Thank you.
Lech Kulikowski
Posts: 6199
Joined: Tue Mar 20, 2018 5:34 am

Re: JSON Data Binding Issue with MRT file

Post by Lech Kulikowski »

Hello,

In your report, a lot of values are set in events.
e.Value = ...

In the Java version, only Interpretation mode is available in which events are not supported. You should totally modify your report.

Thank you.
Post Reply