details:   /erp/erp/devel/main/rev/7b09f958bcd7
changeset: 5085:7b09f958bcd7
user:      Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
date:      Wed Oct 07 13:31:06 2009 +0200
summary:   Fixes bug 0010895: Accounting process should remove any existing 
entry in accounting before posting a document

details:   /erp/erp/devel/main/rev/217952fe2d6a
changeset: 5086:217952fe2d6a
user:      Juan Pablo Aroztegi <juanpablo.aroztegi <at> openbravo.com>
date:      Fri Oct 09 11:35:31 2009 +0200
summary:   Merge

diffstat:

 .hgsigs                                              |  1 +
 .hgtags                                              |  2 ++
 src/org/openbravo/erpCommon/ad_forms/AcctServer.java |  3 ++-
 3 files changed, 5 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 0915b92ee31c -r 217952fe2d6a .hgsigs
--- a/.hgsigs   Mon Oct 05 20:01:51 2009 +0200
+++ b/.hgsigs   Fri Oct 09 11:35:31 2009 +0200
@@ -5,3 +5,4 @@
 a6f332641aa432d7f95ca0573188bea0325cae07 0 
iEYEABECAAYFAkqbY88ACgkQMWZMecruBGwq4ACgknNbFFRej6y27dVjXSWx/J0azw0AnRuzB5bVx8qpVzKGHbjNkH+zb1iS
 42782aedb04befc8fffaf9c23e6d70622a18239e 0 
iEUEABECAAYFAkqegrwACgkQSO9EMJSZ6bxIJQCY9NHVx3ur1uZTcVPejHQhKOd/1gCeJT9yR/Rw+1mOkvlxxNqutO3mC5g=
 70052b5cd164664443305e080dff95632a35db74 0 
iEYEABECAAYFAkrCRtoACgkQz3UmZbtB87D7rACgg7XykiUXmzcifLLzi9JForObga0AoImS+wW0PU2pSC6zqS3gt2pA5yiH
+9d3a0d3eb72d7b3e751413809fceaa8142b0484a 0 
iEYEABECAAYFAkrKN+IACgkQz3UmZbtB87CZ7QCaAllz+OE3JigDDtIXvWpizebbN4UAn2lxlkyEZc/5tqvds2M56AkGJLfM
diff -r 0915b92ee31c -r 217952fe2d6a .hgtags
--- a/.hgtags   Mon Oct 05 20:01:51 2009 +0200
+++ b/.hgtags   Fri Oct 09 11:35:31 2009 +0200
@@ -14,3 +14,5 @@
 2b559105f5535152729cd1810112464a554aabc1 2.50MP4
 600c52248c85af3be704de38fdb1853cf4cce193 2.50MP5
 2f73303f7d0489ab203074fcdb9baea21dd10d3f 2.50MP6
+2f73303f7d0489ab203074fcdb9baea21dd10d3f 2.50MP6
+0915b92ee31ccfa42e9b2ca98dc07f113c7e16b0 2.50MP6
diff -r 0915b92ee31c -r 217952fe2d6a 
src/org/openbravo/erpCommon/ad_forms/AcctServer.java
--- a/src/org/openbravo/erpCommon/ad_forms/AcctServer.java      Mon Oct 05 
20:01:51 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/AcctServer.java      Fri Oct 09 
11:35:31 2009 +0200
@@ -505,7 +505,8 @@
         log4j.warn("AcctServer - Post -Cannot lock Document - ignored: " + 
tableName + "_ID="
             + strClave);
         return false;
-      }
+      } else
+        AcctServerData.delete(con, connectionProvider, AD_Table_ID, Record_ID);
       if (log4j.isDebugEnabled())
         log4j.debug("AcctServer - Post -TableName -" + tableName + "- 
ad_client_id -"
             + AD_Client_ID + "- " + tableName + "_id -" + strClave);

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to