Tue, 19 Sep 2017 17:46:01 +0200[Logistics] Added missing space default tip
Asier Martirena <asier.martirena@openbravo.com> [Tue, 19 Sep 2017 17:46:01 +0200] rev 32251
[Logistics] Added missing space

Tue, 19 Sep 2017 17:33:36 +0200[Logistics] In C&R and CL the order's delivered status is updated.
Asier Martirena <asier.martirena@openbravo.com> [Tue, 19 Sep 2017 17:33:36 +0200] rev 32250
[Logistics] In C&R and CL the order's delivered status is updated.

Now, the canceled and cancellation orders must check the existing shipments in order to set the delivered value to true or false.

Wed, 30 Aug 2017 10:51:37 +0200Fixes issue 36678: Where clause can be customized by query generator subclass
Augusto Mauch <augusto.mauch@openbravo.com> [Wed, 30 Aug 2017 10:51:37 +0200] rev 32249
Fixes issue 36678: Where clause can be customized by query generator subclass

Classes that extend DataSetTableQueryGenerator can now customize the where clause by overwriting the customizeExtraProperties method. The customization is done by adding WhereClauseSimpleExpression to the DataSetTableQueryGeneratorExtraProperties passed as parameter.

Classes that extend DataSetTableQueryGenerator sometimes need to know the name of the table being exported in order to know how to transform its query. For instance, depending on the table being exported sometimes a clause to exclude the records defined for client 0.

Now that table name is passed as a parameter to transformWhereClause. It is an API change, but it does not have any consequences, I checked that no one else is invoking that method.

The way the WhereClauseSimpleExpression where iterated to build a where clause was wrong, as if there were more than one the query would be built without joining each where clause with an 'AND' keyword.

Wed, 20 Sep 2017 13:57:17 +0200Backed out changeset 59f57f808017
Asier Martirena <asier.martirena@openbravo.com> [Wed, 20 Sep 2017 13:57:17 +0200] rev 32248
Backed out changeset 59f57f808017

Wed, 20 Sep 2017 13:57:02 +0200Backed out changeset 90a903c4cbda
Asier Martirena <asier.martirena@openbravo.com> [Wed, 20 Sep 2017 13:57:02 +0200] rev 32247
Backed out changeset 90a903c4cbda

Thu, 14 Sep 2017 12:37:20 +0200Fixes issue 36137: Config scripts are not applied on install.source
Inigo Sanchez <inigo.sanchez@openbravo.com> [Thu, 14 Sep 2017 12:37:20 +0200] rev 32246
Fixes issue 36137: Config scripts are not applied on install.source

The problem was that config scripts could not be applied on install source task at the same way
that update.database task. The problem was in ImportSampledata because this task was not be able
to load the database model applying the config script files. Now this problem has been fixed
because ImportSampledata task read the database model from xml taking into account any model
changes defined in the configScript files.

Besides, it have been implemented new model changes unsupported till now: RemoveTriggerChange,
RemoveIndexChange, ColumnRequiredChange and RemoveCheckChange.

This fix introduced also some important changes:
-DBSMOBUtil.loadDataStructures method is not executed DBSMOBUtil.applyConfigScripts anymore.
-AlterDatabaseDataAll.readDatabaseModel method is take into account model changes defined in
configScript files while reading the model from XML files.
-CreateXML2SQL task is take into account model changes defined in configScript files.
-ImportSampledata task is take into account model changes defined in configScript files.
-Now CheckAPIDistribution task is take into account model changes defined in configScript files.

Thu, 08 Jun 2017 20:46:16 +0200Fixes issue 36137: ConfigScript with removeCheckChange on install.source fails
Inigo Sanchez <inigo.sanchez@openbravo.com> [Thu, 08 Jun 2017 20:46:16 +0200] rev 32245
Fixes issue 36137: ConfigScript with removeCheckChange on install.source fails

Mon, 19 Jun 2017 15:16:26 +0200fixed bug 36274: abandoned connection in SessionListener
Asier Lostalé <asier.lostale@openbravo.com> [Mon, 19 Jun 2017 15:16:26 +0200] rev 32244
fixed bug 36274: abandoned connection in SessionListener

Detach connection from current thread to allow it to be properly returned
to pool.

This is required whever the thread doing the actio is not handling an standard
request.

Fri, 16 Jun 2017 12:57:27 +0200fixed bug 36261: connections logged as abandoned in translate task
Asier Lostalé <asier.lostale@openbravo.com> [Fri, 16 Jun 2017 12:57:27 +0200] rev 32243
fixed bug 36261: connections logged as abandoned in translate task

Connection for Translate task was kept unclosed in SessionInfo so when the pool
was destroyed it was logged as abandoned.

Fixed by closing it before destroying pool.

Wed, 06 Sep 2017 16:51:30 +0530Fixes issue 36753: Error in Payment Plan after execute a payment
Atul Gaware <atul.gaware@openbravo.com> [Wed, 06 Sep 2017 16:51:30 +0530] rev 32242
Fixes issue 36753: Error in Payment Plan after execute a payment

** Use FIN_Utility updatePaymentAmounts method instead of private updatePaymentAmounts
method in FIN_ExecutePayment to avoid wrong updation of fin_payment_schedule
** Use FIN_Utility updateBusinessPartnerCredit
** Remove break statement
** Removed unused private updatePaymentAmounts method from FIN_ExecutePayment