Related to Issue 42804: Code Review changes. Split update clause in two lines
authorDavid Miguelez <david.miguelez@openbravo.com>
Mon, 13 Jan 2020 19:09:56 +0100
changeset 36923 51251e3b315a
parent 36922 4f108937f1be
child 36924 2bf4a5d49474
Related to Issue 42804: Code Review changes. Split update clause in two lines
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/event/FIN_ReconciliationEventListener.java
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/event/FIN_ReconciliationEventListener.java	Mon Jan 13 08:48:54 2020 +0100
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/event/FIN_ReconciliationEventListener.java	Mon Jan 13 19:09:56 2020 +0100
@@ -61,7 +61,8 @@
     //@formatter:off
     String hql = 
             "update FIN_Reconciliation" +
-            " set startingbalance = startingbalance - :balance , endingBalance = endingBalance - :balance" +
+            " set startingbalance = startingbalance - :balance , " + 
+            "   endingBalance = endingBalance - :balance" +
             " where account.id = :accountId" +
             "   and transactionDate > :date";
     //@formatter:on