Fixed bug 19204:
authorVíctor Martínez Romanos <victor.martinez@openbravo.com>
Wed, 30 Nov 2011 13:45:24 +0100
changeset 14766 9e1617553735
parent 14765 0f3522ee917f
child 14767 736b6c531d88
Fixed bug 19204:
P&E button. Prices that have been edited are overwritten when clicking again the button
src-db/database/model/views/C_RM_ORDER_PICK_EDIT_LINES.xml
--- a/src-db/database/model/views/C_RM_ORDER_PICK_EDIT_LINES.xml	Wed Nov 30 13:03:04 2011 +0100
+++ b/src-db/database/model/views/C_RM_ORDER_PICK_EDIT_LINES.xml	Wed Nov 30 13:45:24 2011 +0100
@@ -4,7 +4,7 @@
 CASE
 WHEN rol.c_orderline_id IS NOT NULL THEN 'Y'
 ELSE 'N'
-END AS ob_selected, il.m_inoutline_id, rol.c_order_id AS returnorderid, i.documentno AS inoutno, i.movementdate, il.m_product_id, il.m_attributesetinstance_id, il.movementqty, il.c_uom_id, (-1) * rol.qtyordered AS returned, ol.priceactual, rol.c_return_reason_id, o.documentno AS orderno, i.issotrx, (-1) * retol.returnedqty AS returnedqty
+END AS ob_selected, il.m_inoutline_id, rol.c_order_id AS returnorderid, i.documentno AS inoutno, i.movementdate, il.m_product_id, il.m_attributesetinstance_id, il.movementqty, il.c_uom_id, (-1) * rol.qtyordered AS returned, rol.priceactual, rol.c_return_reason_id, o.documentno AS orderno, i.issotrx, (-1) * retol.returnedqty AS returnedqty
 FROM m_inoutline il
 JOIN m_inout i ON il.m_inout_id = i.m_inout_id AND i.processed = 'Y' AND i.docstatus <> 'VO'
 JOIN c_doctype dt ON i.c_doctype_id = dt.c_doctype_id AND dt.isreturn = 'N'