src-db/database/model/functions/M_RESERVATION_CONSUMPTION.xml
changeset 18663 157c92ecd0e2
parent 18661 2d0858b58e59
child 18689 a17b382229ce
equal deleted inserted replaced
18662:c05cf8173234 18663:157c92ecd0e2
   328     AND quantity = 0;
   328     AND quantity = 0;
   329 
   329 
   330   IF (v_pendingtorelease > 0) THEN
   330   IF (v_pendingtorelease > 0) THEN
   331     RAISE_APPLICATION_ERROR(-20000, '@CannotConsumeAllStock@');
   331     RAISE_APPLICATION_ERROR(-20000, '@CannotConsumeAllStock@');
   332   END IF;
   332   END IF;
   333 
   333 END M_RESERVATION_CONSUMPTION
   334 END M_RESERVATION_CONSUMPTION]]></body>
   334 ]]></body>
   335     </function>
   335     </function>
   336   </database>
   336   </database>