details:   https://code.openbravo.com/erp/devel/pi/rev/35618c095a22
changeset: 28586:35618c095a22
user:      Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
date:      Tue Feb 09 13:51:35 2016 +0100
summary:   Related to issue 31876: Fix format

diffstat:

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

diffs (26 lines):

diff -r 4e9e547d8199 -r 35618c095a22 
src-db/database/model/functions/M_INOUT_POST.xml
--- a/src-db/database/model/functions/M_INOUT_POST.xml  Thu Jan 28 09:24:21 
2016 +0100
+++ b/src-db/database/model/functions/M_INOUT_POST.xml  Tue Feb 09 13:51:35 
2016 +0100
@@ -1187,15 +1187,15 @@
                 WHERE c_orderline_id = r.c_orderline_id
                 AND res_status <> 'DR'
               )
-             GROUP BY r.m_reservation_id, r.ad_client_id, r.ad_org_id,
-             r.m_product_id, r.quantity, r.c_uom_id, r.c_orderline_id, 
r.ad_user_id,
-             r.c_bpartner_id, r.m_warehouse_id, r.m_attributesetinstance_id, 
r.m_locator_id,
-             r.reservedqty, r.res_status, r.managereservation_pe, 
r.reservedgoodmnt_pe, ol.qtyordered
+              GROUP BY r.m_reservation_id, r.ad_client_id, r.ad_org_id,
+              r.m_product_id, r.quantity, r.c_uom_id, r.c_orderline_id, 
r.ad_user_id,
+              r.c_bpartner_id, r.m_warehouse_id, r.m_attributesetinstance_id, 
r.m_locator_id,
+              r.reservedqty, r.res_status, r.managereservation_pe, 
r.reservedgoodmnt_pe, ol.qtyordered
             )
-           LOOP
+            LOOP
 
-             -- Get the least quantity between ordered quantity and movement 
quantity
-             v_R_Quantity := LEAST(Cur_Reservation.qtyordered, 
Cur_Reservation.movementqty);
+              -- Get the least quantity between ordered quantity and movement 
quantity
+              v_R_Quantity := LEAST(Cur_Reservation.qtyordered, 
Cur_Reservation.movementqty);
 
               -- If completed reservation exists already update it,
               -- otherwise create a new one with this quantity

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to