Hello Swapnil, Instead of writing code in open and fetch method of rptdesign, you can use groovy to fetch data and then just get your data in open from groovy and set into fetch method, and groovy is easy to maintain than rptdesign.
-- Thanks and Regards Santosh Malviya On Thu, Aug 12, 2010 at 11:03 AM, Swapnil Sawant < [email protected]> wrote: > Hi, > > > I am new to report generation in ofbiz using BIRT GUI. For achieving report > generation in ofbiz, I follow below steps : > > > 1. Prepare the report using BIRT GUI (designing format of report, > assigning entity data to the fields in it) > > 2. Generate the code out of it . > > 3. Once code is generated, I need to change that auto-generated code > from BIRT GUI for some of the following things : > > a. Writing ofbiz logic (e.g. fetching data from ofbiz entity using > delegator.findBy.. )in open and fetch methods > > b. Change the entity field names from BIRT GUI format to ofbiz entity > fields (e.g. emplId field in ofbiz entity becomes EMPL_ID in BIRT > auto-generated code) > > > 4. Once above filtration is done then only I can use "rptdesign" > file in my ofbiz code. > > Hence, I wanted to know is there any way by which we can eliminate step - 3 > and start using BIRT auto-generated code directly in ofbiz in order to > achieve following benefits : > > > - Making maintenance of reports very easy > > - Reduce the development hours > > - Smooth integration of BIRT and ofbiz > > > > > Thanks & Regards, > Swapnil Sawant > > ________________________________ > This Email may contain confidential or privileged information for the > intended recipient (s) If you are not the intended recipient, please do not > use or disseminate the information, notify the sender and delete it from > your system. > > ______________________________________________________________________
