related to issue 39017 code review changes
authorSandra Huguet <sandra.huguet@openbravo.com>
Fri, 10 Aug 2018 14:45:30 +0200
changeset 34503 389e4c0f5e99
parent 34502 fe8d2427d863
child 34504 6bc6e8515310
related to issue 39017 code review changes

change m_pricelist_id column by name column, because is the correct one
src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder_data.xsql
--- a/src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder_data.xsql	Tue Jul 24 17:18:24 2018 -0400
+++ b/src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder_data.xsql	Fri Aug 10 14:45:30 2018 +0200
@@ -58,7 +58,7 @@
           COALESCE(TO_CHAR(C_UOM2.NAME), '**') AS AUMNAME,
           CASE WHEN pl.istaxincluded = 'Y' THEN M_REQUISITIONLINE.GROSS_UNIT_PRICE ELSE M_REQUISITIONLINE.PRICEACTUAL END AS PRICE,
           COALESCE(TO_CHAR(C_BPARTNER.NAME), '**') AS VENDOR,
-          COALESCE(TO_CHAR(pl.M_PRICELIST_ID), '**') AS PRICELISTID,
+          COALESCE(TO_CHAR(pl.name), '**') AS PRICELISTID,
           M_PRODUCT.NAME AS PRODUCT,
           COALESCE(TO_CHAR(M_ATTRIBUTESETINSTANCE.DESCRIPTION), '**') AS ATTRIBUTE,
           AD_USER.NAME AS REQUESTER