details:   /erp/devel/pi/rev/7a775a533180
changeset: 8005:7a775a533180
user:      Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
date:      Tue Aug 03 10:36:18 2010 +0530
summary:   Fixes issue 13681: Not able to copy line item details using Copy 
from order option from sales order window

As M_GET_OFFER_PRICE is deprecated , it's replaced with M_GET_OFFERS_PRICE in 
order to resolve the issue

diffstat:

 src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder_data.xsql |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 7d709e2f9e73 -r 7a775a533180 
src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder_data.xsql
--- a/src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder_data.xsql     
Mon Aug 02 22:08:08 2010 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder_data.xsql     
Tue Aug 03 10:36:18 2010 +0530
@@ -67,7 +67,7 @@
            ?,TO_NUMBER(?),?,?,
            TO_DATE(?),TO_DATE(?),?,?,
            ?,?,TO_NUMBER(?),TO_NUMBER(?),0,0,0,
-           ?,TO_NUMBER(?),M_GET_OFFER_PRICE(M_GET_OFFER(TO_DATE(now()), ?, ?), 
TO_NUMBER(?)),
+           ?,TO_NUMBER(?),M_GET_OFFERS_PRICE(TO_DATE(now()), ?, ?, 
TO_NUMBER(?), TO_NUMBER(?), TO_NUMBER(?)),
            
TO_NUMBER(?),?,TO_NUMBER(?),?,TO_NUMBER(?),M_GET_OFFER(TO_DATE(now()), ?, 
?),?,?)
       ]]>
     </Sql>
@@ -93,6 +93,8 @@
     <Parameter name="cBpartnerId"/>
     <Parameter name="mProductId"/>
     <Parameter name="priceactual"/>
+    <Parameter name="qtyordered"/>
+    <Parameter name="pricelist"/>
     <Parameter name="pricelimit"/>
     <Parameter name="cTaxId"/>
     <Parameter name="discount"/>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to