Hi all,
I would like generate a report using BIRT, the report create a PDF file, each page in the file contains information on one and only one Party. The information on the page divided on 2 sections Header and body. In the header section we can found information like personal info. and the body contains accounting info. can someone point me to an example that simulate this? Or some hints can help to build report like this. Thanks. S. Hage |
Hi ,
To create report in BIRT first you need to fetch data in a groovy file or in .rptdesign file then you have to define your dataset elements like partyId , after that from layout , in .rptdesign file , create a table with few columns and rows , drop your party id element into the details row which is generally the second row. Then add one more header row in the same table and insert a grid inside that row with few rows and columns , this grid will work for you as a header . after this select the detail row of table and then add a group by function into it and do the group by party id . this group by will give you detail of party on each page , also do the page break. Hope this help you. Ravindra Mandre Bangalore On Sun, Sep 18, 2011 at 6:12 PM, S.Hage <[hidden email]> wrote: > Hi all, > I would like generate a report using BIRT, the report create a PDF file, > each page in the file contains information on one and only one Party. The > information on the page divided on 2 sections Header and body. In the > header > section we can found information like personal info. and the body contains > accounting info. > > can someone point me to an example that simulate this? Or some hints can > help to build report like this. > > Thanks. > S. Hage > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/help-with-BIRT-tp3821756p3821756.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
In reply to this post by S.Hage
take a look at framework\example\webapp\example\WEB-INF\controller.xml
for the <view-map name="ViewHandler" type="birt" then look at the page= to find the examples S.Hage sent the following on 9/18/2011 5:42 AM: > Hi all, > I would like generate a report using BIRT, the report create a PDF file, > each page in the file contains information on one and only one Party. The > information on the page divided on 2 sections Header and body. In the header > section we can found information like personal info. and the body contains > accounting info. > > can someone point me to an example that simulate this? Or some hints can > help to build report like this. > > Thanks. > S. Hage > > -- > View this message in context: http://ofbiz.135035.n4.nabble.com/help-with-BIRT-tp3821756p3821756.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
Administrator
|
Also https://demo-trunk.ofbiz.apache.org/example/control/BirtMain
Jacques From: "BJ Freeman" <[hidden email]> > take a look at framework\example\webapp\example\WEB-INF\controller.xml > for the > <view-map name="ViewHandler" type="birt" > then look at the page= > to find the examples > > S.Hage sent the following on 9/18/2011 5:42 AM: >> Hi all, >> I would like generate a report using BIRT, the report create a PDF file, >> each page in the file contains information on one and only one Party. The >> information on the page divided on 2 sections Header and body. In the header >> section we can found information like personal info. and the body contains >> accounting info. >> >> can someone point me to an example that simulate this? Or some hints can >> help to build report like this. >> >> Thanks. >> S. Hage >> >> -- >> View this message in context: http://ofbiz.135035.n4.nabble.com/help-with-BIRT-tp3821756p3821756.html >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> |
Free forum by Nabble | Edit this page |