Related to issue 22958: complete javadoc and delete unnecessary 'to_char'
authorNaiara Martinez <naiara.martinez@openbravo.com>
Wed, 06 Feb 2013 10:39:49 +0100
changeset 19662 fe15010ac3ca
parent 19661 dfeda939b698
child 19663 5a525fe6c383
Related to issue 22958: complete javadoc and delete unnecessary 'to_char'
src/org/openbravo/materialmgmt/ReservationUtils.java
src/org/openbravo/materialmgmt/ReservationUtils_data.xsql
--- a/src/org/openbravo/materialmgmt/ReservationUtils.java	Tue Feb 12 10:30:50 2013 +0100
+++ b/src/org/openbravo/materialmgmt/ReservationUtils.java	Wed Feb 06 10:39:49 2013 +0100
@@ -96,7 +96,8 @@
   }
 
   /**
-   * Function to reserve given stock or purchase order line. Available OBObject are:<br>
+   * Function to reserve in allocated or not allocated given stock or purchase order line. Available
+   * OBObject are:<br>
    * - StorageDetail: reserves stock in the warehouse.<br>
    * - OrderLine: reserves stock pending to receipt purchase order line.
    */
--- a/src/org/openbravo/materialmgmt/ReservationUtils_data.xsql	Tue Feb 12 10:30:50 2013 +0100
+++ b/src/org/openbravo/materialmgmt/ReservationUtils_data.xsql	Wed Feb 06 10:39:49 2013 +0100
@@ -48,7 +48,7 @@
    <SqlMethod name="reserveStockManual" connection="true" type="callableStatement" return="object" object="CSResponse">
       <SqlMethodComment></SqlMethodComment>
       <Sql><![CDATA[
-        CALL M_RESERVE_STOCK_MANUAL(?,?,?,to_number(?),?,to_char(?),?)
+        CALL M_RESERVE_STOCK_MANUAL(?,?,?,to_number(?),?,?,?)
       ]]></Sql>
       <Parameter name="mReservationId"/>
       <Parameter name="type"/>