Wed, 21 Oct 2015 10:36:47 +0200Related to issue 30986: Add parameter translation tab for Process Definition.
Inigo Sanchez <inigo.sanchez@openbravo.com> [Wed, 21 Oct 2015 10:36:47 +0200] rev 27798
Related to issue 30986: Add parameter translation tab for Process Definition.

It has been done two things:
*Added parameter translation tab for 'Process Definition'.
*Small fix in 'AD_Language' column. The reference has been changed to 'Table' reference.

Thu, 15 Oct 2015 09:53:14 +0200Related issue 30986: Add translation infrastructure for Process Definition.
Inigo Sanchez <inigo.sanchez@openbravo.com> [Thu, 15 Oct 2015 09:53:14 +0200] rev 27797
Related issue 30986: Add translation infrastructure for Process Definition.

Add translation DB infrastructure for Process Definition.

Thu, 22 Oct 2015 09:14:03 +0200related to issue 30931: RoleInheritanceWarningFICExtension, correct method name
Carlos Aristu <carlos.aristu@openbravo.com> [Thu, 22 Oct 2015 09:14:03 +0200] rev 27796
related to issue 30931: RoleInheritanceWarningFICExtension, correct method name

Thu, 22 Oct 2015 09:00:46 +0200related to issue 30931: added new method for RoleInheritanceWarningFICExtension
Carlos Aristu <carlos.aristu@openbravo.com> [Thu, 22 Oct 2015 09:00:46 +0200] rev 27795
related to issue 30931: added new method for RoleInheritanceWarningFICExtension

Wed, 21 Oct 2015 12:21:21 +0200fixed bug 30919: can't use DB connection defined as JNDI service
Asier Lostalé <asier.lostale@openbravo.com> [Wed, 21 Oct 2015 12:21:21 +0200] rev 27794
fixed bug 30919: can't use DB connection defined as JNDI service

Several problems fixed:
* Even configured, JNDI was not used in ModelProvider.initializeReferenceClasses
method
* Casting exception was thrown in ModelProvider.initializeReferenceClasses
* When Tomcat Pool was configured as external pool and also JDNI datasource
was configured, it was not properly managed. Now the pool is used and JNDI
datasource is set
* Improved some error logging which was hiding root cause stack traces

Wed, 21 Oct 2015 19:28:48 +0200related to issue 30931: Improvement in warning message of FICExtension
Carlos Aristu <carlos.aristu@openbravo.com> [Wed, 21 Oct 2015 19:28:48 +0200] rev 27793
related to issue 30931: Improvement in warning message of FICExtension
The warning message was not being shown the first time a permission was created for a template role in use. The problem was that row does not contain the role information yet. For this reason, now we try to retrieve the information from the information provided by the FIC

Wed, 21 Oct 2015 10:21:13 +0200related to issue 30931: Add missing comment
Carlos Aristu <carlos.aristu@openbravo.com> [Wed, 21 Oct 2015 10:21:13 +0200] rev 27792
related to issue 30931: Add missing comment

Wed, 14 Oct 2015 16:47:18 +0200Fixed bug 31039: Cannot create sales order from project phase if the customer default invoice terms is Contract Billing
Víctor Martínez Romanos <victor.martinez@openbravo.com> [Wed, 14 Oct 2015 16:47:18 +0200] rev 27791
Fixed bug 31039: Cannot create sales order from project phase if the customer default invoice terms is Contract Billing

The v_InvoiceRule variable was defined as CHAR. In case the C_BPartner.InvoiceRule length is higher than 1 (as when defining Contract Billing), the process throws an exception.
The solution is to declare the variable as C_BPartner.InvoiceRule%TYPE, which automatically takes the definition from the C_BPartner table.

Tue, 20 Oct 2015 12:57:26 +0200fixed issue 31152: context info in process definition can be extended
Asier Lostalé <asier.lostale@openbravo.com> [Tue, 20 Oct 2015 12:57:26 +0200] rev 27790
fixed issue 31152: context info in process definition can be extended

Process definition has a new property (additionalContextInfo) that can be used
to add additional properties, or overwrite existing ones, in context info that
is used later to compute ie. display logic.

In this way it will be possible to set this info with an ActionHandler to be used
later as part of context info.

Mon, 19 Oct 2015 12:38:32 +0200Fixed bug 31121: Copy Version process in Process Plan window is not working in Oracle
Víctor Martínez Romanos <victor.martinez@openbravo.com> [Mon, 19 Oct 2015 12:38:32 +0200] rev 27789
Fixed bug 31121: Copy Version process in Process Plan window is not working in Oracle

Ad_Sequence_Doc is a stored procedure that returns the next sequence number using an "out" parameter. The CallStoredProcedure.call() used to call that procedure doesn't currently support parameters of type "out", creating an exception in Oracle only (and not in PostgreSQL because the procedure is declared as a function returning the value).

Instead of calling the procedure using CallStoredProcedure.call(), we use Utility.getDocumentNo() method instead, which is a more standard way to get the next sequence no. from Java, and supports Oracle procedures with "out" parameters.

Besides the class has been modified to properly show an error message in the UI in case an exception is raised, which is something not working before neither.