Fixes bug 8447 Copy Details in Service Project throws error.
authorJayakumar Kasinathan <jayakumar.kasinathan@openbravo.com>
Tue, 07 Apr 2009 03:17:29 -0400
changeset 3548 20287aa372a1
parent 3547 83af22927cb5
child 3549 ac9712c94b2f
Fixes bug 8447 Copy Details in Service Project throws error.
src/org/openbravo/erpCommon/ad_actionButton/ProjectCopyFrom_data.xsql
--- a/src/org/openbravo/erpCommon/ad_actionButton/ProjectCopyFrom_data.xsql	Tue Apr 14 13:04:46 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ProjectCopyFrom_data.xsql	Tue Apr 07 03:17:29 2009 -0400
@@ -170,7 +170,7 @@
 	        UPDATED, UPDATEDBY, LINE, DESCRIPTION, PLANNEDQTY, M_PRODUCT_ID, M_PRODUCT_CATEGORY_ID, 
 	        PRODUCT_DESCRIPTION, PRODUCT_NAME, PRODUCT_VALUE) 
         VALUES (?,?,?,?,now(),?,
-        	now(),?,?,?,?,?,?,
+        	now(),?,TO_NUMBER(?),?,TO_NUMBER(?),?,?,
         	?,?,?)
       ]]>
     </Sql>