details:   https://code.openbravo.com/erp/devel/pi/rev/5ef45cfcb9a5
changeset: 25772:5ef45cfcb9a5
user:      Sandra Huguet <sandra.huguet <at> openbravo.com>
date:      Thu Jan 29 17:22:12 2015 +0100
summary:   Fixed bug 27570 updateBpPaymentLineInvoice is not correct for all 
scenarios

diffstat:

 
src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateBpPaymentLineData.class
 |    0 
 
src-util/modulescript/src/org/openbravo/modulescript/UpdateBpPaymentLine_data.xsql
           |    7 +++----
 2 files changed, 3 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r 1669f11b74c1 -r 5ef45cfcb9a5 
src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateBpPaymentLineData.class
Binary file 
src-util/modulescript/build/classes/org/openbravo/modulescript/UpdateBpPaymentLineData.class
 has changed
diff -r 1669f11b74c1 -r 5ef45cfcb9a5 
src-util/modulescript/src/org/openbravo/modulescript/UpdateBpPaymentLine_data.xsql
--- 
a/src-util/modulescript/src/org/openbravo/modulescript/UpdateBpPaymentLine_data.xsql
        Wed Jan 28 14:09:37 2015 +0100
+++ 
b/src-util/modulescript/src/org/openbravo/modulescript/UpdateBpPaymentLine_data.xsql
        Thu Jan 29 17:22:12 2015 +0100
@@ -12,7 +12,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) 2014 Openbravo SLU
+ * All portions are Copyright (C) 2014-2015 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -35,7 +35,6 @@
                                                     where 
ps.fin_payment_schedule_id = fin_payment_schedule_invoice 
                                                     and ps.c_invoice_id = 
i.c_invoice_id)
                                where c_bpartner_id is null and 
fin_payment_schedule_invoice is not null 
-                                       and fin_payment_schedule_order is null
       ]]>
     </Sql>
   </SqlMethod>
@@ -58,7 +57,7 @@
       <![CDATA[
     SELECT count(*) as exist
     FROM ad_preference
-    WHERE attribute = 'UpdateBpPaymentLine' and isactive = 'Y'
+    WHERE attribute = 'UpdateBpPaymentLine2' and isactive = 'Y'
       ]]>
     </Sql>
   </SqlMethod>
@@ -71,7 +70,7 @@
     createdby, created, updatedby, updated, attribute
     ) VALUES (
     get_uuid(), '0', '0', 'Y', 
-    '0', NOW(), '0', NOW(), 'UpdateBpPaymentLine')
+    '0', NOW(), '0', NOW(), 'UpdateBpPaymentLine2')
       ]]>
     </Sql>
   </SqlMethod>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to