Adempiere Jasper Update

Developers
2012-04-04
2013-03-08
  • Hi All,

    Currently, Adempiere 361 supports Jasper Reports 3.7.3.
    How can we integrate the new Jasper Reports 4.5.1 with Adempiere?

    Regards,
    A.Rehman

     
  • Hi,

    You can upgrade your JasperReport library in ADempiere quite easily. Steps which i have made are below:

    1) Downloaded newest version of JasperReports and iReport
    2) Get ADempiere source
    3) In ADempiere source tree replace old version of jasperreports-3.5.3.jar with the newest jasperreports-4.5.1.jar
    4) Modify build.xml and set proper jasper reports version(4.5.1)
    5) Start ADempiere build process(utils_dev/RUN_build.sh)
    6) Do not forget to apply latest ADempiere patches!
    

    In case you have dificulties building it alone I have uploaded ADempiere with JasperReports-4.5.1
    https://sourceforge.net/projects/adempiere-mysql/files/

    I have tested JasperReport with ADempiere Swing and ZK WEB UI.
     
    Enjoy and Best regards,
    Trifon

     
  • Mario Calderon
    Mario Calderon
    2012-04-06

    hi Trifon,
    thanks for your hint.

    If it is that easy, I think it should come out with the next release, don't you think so?

    I remember there were once issues with "itext" and other packages while updating to a newer jasper version.
    But if you could update without anything else, the better.

    Just for my information: did you test with several types of reports, including list elements?

    Best regards,
    Mario Calderon

     
  • Hi Mario,

    Yes. It is that easy.
    I have tested with Invoice report which has embedded report.

    I'm not sure to what you refer as list element?

    Sure it will be good to be in the next version.
    My only problem is Mercurial and the whole HUGE amount of branches in it. Whihc one is TRUNK and which one should be next version made from?

    Regards,
    Trifon

     
  • Hi Trifon,

    Thanks for the guidance. I will try it and will update my experience soon.
    Can you please tell me which patches are related to jasper?

    Regards,
    A.Rehman

     
  • Johnson Joseph
    Johnson Joseph
    2012-04-06

    Hi Trifon,

    If the query gives stargiht way result which can be formatted using ireport/jasper easily.

    In some cases we may not be able to get the result even with a complex query. The data set may need a further calculation. In such cases a java  coding is also required on the top of the query data set. I would like to how to use java coding and the final formatting using ireport/jasper.

    Can you give your expert advice on this

    Thanks
    Johnson

     
  • Hi Johnson,

    It sounds like you need two or three step process to calculate your result set data.
    Can you please be more concrete and give example what you want to calculate?

    Regards,
    Trifon

     
  • Hi Trifon,

    Thank you bro. I have tested it. It is working absolutely fine. Once again thanks for tremendous help.

    Regards,
    A.Rehman

     
  • Jubin Philip
    Jubin Philip
    2012-04-10

    Hi Trifon,

    Is the zoom on reports feature available in Jasper Reports? By zoom i mean, in the original reports provided by Adempiere, we can right click and zoom on certain rows (hyperlinked in report) and it will open up its record.
    Eg: business partner field in Adempiere report  Open Detail

    Is such a feature available in Jasper Reports?

    Thanks,

    Philip

     
  • Hi Philip,

    Is the zoom on reports feature available in Jasper Reports?
    

    Currently not available in ADempiere-Jasper integration, but i have started research on this topic.
    Generally JasperReports has such feature. It can be developed in ADempiere too, but will require development effort.

    Regards,
    Trifon

     
  • Jubin Philip
    Jubin Philip
    2012-04-10

    Thanks Trifon for the reply.

    It would be a wonderful addition if the feature would be incorporated. It would indeed be much more powerful.

    Hope to see the feature added on sometime in the future :-)

    Regards,

    Philip

     
  • Hi Philip,

    if i can write honestly. Only "Hope" is not enough to add new feature to Software project.

    Hope is good thing, i also hope, but when i want to see something developed i just write it into java code.
    If users really want a feature they support development of this feature.
    If nobody so far have developed it means that nobody really needs it.

    ADempiere is lean development project or Development Just In Time.

    Regards,
    Trifon

     
  • Teo Sarca
    Teo Sarca
    2012-04-12

    Hi,

    @Trifon,

    My only problem is Mercurial and the whole HUGE amount of branches in it. Whihc one is TRUNK and which one should be next version made from?

    It's quite simple. Create the branch with the same name as the tracker#, using hg flow.

    Best regards,
    Teo Sarca

     
  • Josivan Santos
    Josivan Santos
    2012-06-25

    Hi folks
    i am using adempiere 3.7 and i want to know what is the ireport version i must have
    tks.