src/org/openbravo/erpCommon/ad_callouts/SL_WorkRequirement_ProcessPlan_data.xsql
changeset 1605 8a0fe0193bef
parent 423 ecf368072c48
child 6701 690d2af86089
--- a/src/org/openbravo/erpCommon/ad_callouts/SL_WorkRequirement_ProcessPlan_data.xsql	Wed Sep 03 17:10:52 2008 +0000
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_WorkRequirement_ProcessPlan_data.xsql	Wed Sep 03 17:55:37 2008 +0000
@@ -29,7 +29,7 @@
       <![CDATA[
       SELECT explodephases, secondaryunit, conversionrate
       FROM MA_ProcessPlan p
-      WHERE p.MA_ProcessPlan_ID = TO_NUMBER(?)
+      WHERE p.MA_ProcessPlan_ID = ?
       ]]>
     </Sql>
     <Parameter name="maProcessPlanId"/>