Hi,

This is an announcement about a change in Openbravo 2.50 public API.
Below you'll find the details about it:

Type: Change Number of Arguments in Java Function
Risk: Low
Comments: The change was made to solve the issue #8500

- Reasons:
In order to show General Ledger Report window, it is needed to be able
to ask for a concrete set of rows of a select (for example from to row
number 21 to number 40). When compiling XSQL files, this kind of
operations are built in such a way that performance is painful. Main
SQL statements of this XSQL file (ReportGeneralLedger_data.xsql) have
been re-designed to implement a much optimum way to obtain only a
sub-set of rows of the whole select. For this new design, new
parameters are needed to be provided to the xsql file, so the number of
parameters of the compiled java file will be different.

- Possible problems:
The only servlet in the standard that uses functions of the
ReportGeneralLedgerData.java has been already changed. If any module
has got in a java a call to modified functions, compilation will fail.
Nevertheless, I suppose there are few possibilities of this to happen.

You can find more information about Openbravo 2.50 public API changes:
http://forge.openbravo.com/plugins/espforum/view.php?group_id=100&forumid=549512&topicid=6995196
Moreover, in this issue, all API changes are commented:
https://issues.openbravo.com/view.php?id=9106 as well as in this wiki
page: http://wiki.openbravo.com/wiki/ERP/2.50/API_changes

Regards.

David Alsasua Egea

Openbravo
Localization and Accounting
e: [email protected]
m: +34.607.867.908
t: +34.948.287.507 ext: 3373

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Openbravo-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-development

Reply via email to