Related to Issue 24499: Display the total number of bank statement lines inserted
authorPandeeswari Ramakrishnan <pandeeswari.ramakrishnan@openbravo.com>
Mon, 12 Aug 2013 12:02:10 +0530
changeset 20973 8151a5b44678
parent 20972 3f5e8c7117d6
child 20974 1cb4b186b7c6
Related to Issue 24499: Display the total number of bank statement lines inserted
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_BankStatementImport.java
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_BankStatementImport.java	Mon Aug 12 11:13:35 2013 +0200
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_BankStatementImport.java	Mon Aug 12 12:02:10 2013 +0530
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2010-2012 Openbravo SLU
+ * All portions are Copyright (C) 2010-2013 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  *************************************************************************
@@ -193,7 +193,8 @@
         msg.setMessage(message);
         setMyError(msg);
       }
-      return getMyError();
+      return getOBError(conn, vars, "@APRM_BankStatementNo@ " + bankStatement.getDocumentNo()
+          + "<br/>" + numberOfLines + " " + "@RowsInserted@", "Success", "Success");
     } else if (getMyError() != null && getMyError().getType().toLowerCase().equals("warning")) {
       return getMyError();
     } else {