details:   https://code.openbravo.com/erp/devel/pi/rev/9cb33bf7fc79
changeset: 26191:9cb33bf7fc79
user:      Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
date:      Tue Mar 10 13:58:57 2015 +0100
summary:   Fixes issue 29211
Cannot complete a goods receipt with a line without attribute set value if it 
has a related prereservation.
Added coalesce when inserting to get default value

details:   https://code.openbravo.com/erp/devel/pi/rev/1c38281215d7
changeset: 26192:1c38281215d7
user:      Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
date:      Mon Mar 16 18:39:38 2015 +0100
summary:   Related to issue 29211: Update copyright

diffstat:

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

diffs (21 lines):

diff -r efa53163ee0c -r 1c38281215d7 
src-db/database/model/functions/M_INOUT_POST.xml
--- a/src-db/database/model/functions/M_INOUT_POST.xml  Mon Mar 16 18:01:47 
2015 +0100
+++ b/src-db/database/model/functions/M_INOUT_POST.xml  Mon Mar 16 18:39:38 
2015 +0100
@@ -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-2014 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.
@@ -610,7 +610,7 @@
                       ) VALUES (
                         get_uuid(), cur_reserve_stock.ad_client_id, 
cur_reserve_stock.ad_org_id, 'Y',
                         now(), v_user, now(), v_user,
-                        cur_reserve_stock.m_reservation_id, 
cur_inoutline.m_attributesetinstance_id, cur_inoutline.m_locator_id, 
cur_inoutline.c_orderline_id,
+                        cur_reserve_stock.m_reservation_id, 
coalesce(cur_inoutline.m_attributesetinstance_id,'0'), 
cur_inoutline.m_locator_id, cur_inoutline.c_orderline_id,
                         v_qtyaux, 0, cur_reserve_stock.isallocated
                       );
                     END IF;

------------------------------------------------------------------------------
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
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to