[Reservations]Add javadoc in reservation utils method.
authorGorka Ion Damián <gorkaion.damian@openbravo.com>
Wed, 31 Oct 2012 18:02:16 +0100
changeset 18671 671f91dd9e62
parent 18670 1f4e85bd0e10
child 18672 c2dcaf0dacbb
[Reservations]Add javadoc in reservation utils method.
src/org/openbravo/materialmgmt/ReservationUtils.java
--- a/src/org/openbravo/materialmgmt/ReservationUtils.java	Wed Oct 31 11:21:56 2012 +0100
+++ b/src/org/openbravo/materialmgmt/ReservationUtils.java	Wed Oct 31 18:02:16 2012 +0100
@@ -88,6 +88,11 @@
     return obmessage;
   }
 
+  /**
+   * Function to reserve given stock or purchase order line. Available types are:<br>
+   * - 'SD': p_stock_id represents a m_storage_detail_id reserves stock in the warehouse.<br>
+   * - 'PO': p_stock_id represents a c_orderline_id of a pending to receipt purchase order line.
+   */
   public static ReservationStock reserveStockManual(Reservation reservation, String strType,
       String strStockId, BigDecimal quantity) throws OBException {