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 28072
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.

Wed, 21 Oct 2015 09:30:23 +0200[HGVOL] Merged from PI
Sandra Huguet <sandra.huguet@openbravo.com> [Wed, 21 Oct 2015 09:30:23 +0200] rev 28071
[HGVOL] Merged from PI

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 28070
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 28069
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.

Tue, 20 Oct 2015 09:14:00 +0200fixes issue 30931: Add ability to inherit role permissions
Carlos Aristu <carlos.aristu@openbravo.com> [Tue, 20 Oct 2015 09:14:00 +0200] rev 28068
fixes issue 30931: Add ability to inherit role permissions

Mon, 19 Oct 2015 19:09:05 +0200[roleInheritance] Updated Recalculate Permissions process description
Carlos Aristu <carlos.aristu@openbravo.com> [Mon, 19 Oct 2015 19:09:05 +0200] rev 28067
[roleInheritance] Updated Recalculate Permissions process description

Mon, 19 Oct 2015 11:55:50 +0200[roleInheritance] Fixes in javadoc
Carlos Aristu <carlos.aristu@openbravo.com> [Mon, 19 Oct 2015 11:55:50 +0200] rev 28066
[roleInheritance] Fixes in javadoc

Mon, 19 Oct 2015 11:36:33 +0200[roleInheritance] Not use class name explicitly in RoleInheritanceManager
Carlos Aristu <carlos.aristu@openbravo.com> [Mon, 19 Oct 2015 11:36:33 +0200] rev 28065
[roleInheritance] Not use class name explicitly in RoleInheritanceManager

Fri, 16 Oct 2015 15:41:44 +0200[roleInheritance] Merge with pi
Carlos Aristu <carlos.aristu@openbravo.com> [Fri, 16 Oct 2015 15:41:44 +0200] rev 28064
[roleInheritance] Merge with pi

Fri, 16 Oct 2015 15:37:05 +0200[roleInheritance] Show warning message on NEW also
Carlos Aristu <carlos.aristu@openbravo.com> [Fri, 16 Oct 2015 15:37:05 +0200] rev 28063
[roleInheritance] Show warning message on NEW also