[Reservations]Fix issue in Reservation Post.
authorGorka Ion Damián <gorkaion.damian@openbravo.com>
Wed, 14 Nov 2012 10:17:11 +0100
changeset 18696 018782102b24
parent 18695 f584300636c8
child 18697 ad81b7840968
[Reservations]Fix issue in Reservation Post.
src-db/database/model/functions/M_RESERVATION_POST.xml
--- a/src-db/database/model/functions/M_RESERVATION_POST.xml	Tue Nov 13 13:47:07 2012 +0100
+++ b/src-db/database/model/functions/M_RESERVATION_POST.xml	Wed Nov 14 10:17:11 2012 +0100
@@ -77,8 +77,10 @@
   END IF;
 
 BEGIN
-  SELECT res_status, c_orderline_id, quantity, reservedqty
-    INTO v_resstatus, v_orderline_id, v_quantity, v_reservedqty
+  SELECT res_status, c_orderline_id, quantity, reservedqty,
+        m_product_id, c_uom_id
+    INTO v_resstatus, v_orderline_id, v_quantity, v_reservedqty,
+        v_product_id, v_uom_id
   FROM m_reservation
   WHERE m_reservation_id = v_reservation_id;