details:   https://code.openbravo.com/erp/devel/pi/rev/3722c475350f
changeset: 25740:3722c475350f
user:      Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
date:      Tue Jan 20 09:23:02 2015 -0500
summary:   Fixed bug 28331: After completing a G/L Journal Reactivate should be 
the option.

Gl_journal_post stored procedure now updates required field in Gl_Journal table 
to pass from Complete to Reactivate Document Action. So now when GL/Journal is 
completed, DocAction field is updated with RE value and the button option in 
GL/Journal header window will be Reactivate. Also default option will be 
Reactivate, instead of Close, when clicking the button.

diffstat:

 src-db/database/model/functions/GL_JOURNAL_POST.xml |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 235d47fa148d -r 3722c475350f 
src-db/database/model/functions/GL_JOURNAL_POST.xml
--- a/src-db/database/model/functions/GL_JOURNAL_POST.xml       Wed Jan 21 
13:29:26 2015 +0530
+++ b/src-db/database/model/functions/GL_JOURNAL_POST.xml       Tue Jan 20 
09:23:02 2015 -0500
@@ -22,7 +22,7 @@
   * parts created by ComPiere are Copyright (C) ComPiere, Inc.;
   * All Rights Reserved.
   * Contributor(s): Openbravo SLU
-  * Contributions are Copyright (C) 2001-2013 Openbravo, S.L.U.
+  * Contributions are Copyright (C) 2001-2015 Openbravo, S.L.U.
   *
   * Specifically, this derivative work is based upon the following Compiere
   * file and version.
@@ -345,7 +345,7 @@
       ELSE
         UPDATE GL_Journal
           SET DocStatus='CO',
-          DocAction='--',
+          DocAction='RE',
           Processed='Y',
           Updated=now()
         WHERE GL_Journal_ID=v_Record_ID;

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to