details:   https://code.openbravo.com/erp/devel/pi/rev/fdc9ea867984
changeset: 34270:fdc9ea867984
user:      Asier Martirena <asier.martirena <at> openbravo.com>
date:      Thu Jul 05 12:44:28 2018 +0200
summary:   Related to issue 37460: Removed wrongly closed parenthesis

diffstat:

 src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r e21023f96bf5 -r fdc9ea867984 
src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java
--- a/src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java    
Thu Jul 05 10:00:54 2018 +0200
+++ b/src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java    
Thu Jul 05 12:44:28 2018 +0200
@@ -357,7 +357,7 @@
       hql.append("WHERE EXISTS (SELECT 1 ");
       hql.append("FROM MaterialMgmtShipmentInOutLine AS sl ");
       hql.append("WHERE sl.salesOrderLine = ol) ");
-      hql.append("AND ol.salesOrder.id = :orderId)");
+      hql.append("AND ol.salesOrder.id = :orderId");
       final Query query = 
OBDal.getInstance().getSession().createQuery(hql.toString());
       query.setParameter("orderId", oldOrderId);
       query.setMaxResults(1);

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to