Which script language are you referring to? Do you mean BIRT's JavaScript support or something else (bsh, groovy, etc)?
Brett On Mon, Dec 15, 2008 at 6:20 PM, guo weizhan <guo.weiz...@gmail.com> wrote: > I remember BIRT can support the script language and can invoke the > entity method directly. they can work fine with each other. > > 2008/12/16 Brett Palmer <brettgpal...@gmail.com>: > > We want to integrate BIRT reports more closely with OFBiz. Our BIRT > design > > templates use standard SQL to generate the reports. We would like to > use > > the OFBiz entity engine to generate the SQL so we can leverage our > existing > > OFBiz application code. > > > > For example, we would like to use a class similar to the GenericDelegator > > but instead of retrieving the data from a table the class would generate > the > > SQL for the report. We would pass in entity names and conditions as we > do > > with the Delegator and this new class would generate the SQL for us. > > > > I can see some helper classes like SQLProcessor or GenericDAO that we > could > > use to help generate the SQL but wanted to know if anyone else has done > this > > before. > > > > Thanks in advance for your help. > > > > > > Brett > > >